I have a simple method that creates rows in a related table and then assigns values to some of the columns The method uses a relationship that has a global variable as a primary key to assign values to some of the columns. I change the value of this global variable several times as the method runs. After creating the rows and assigning values to the columns the results are displayed in a form using a list view.
The first time I run the method everything works and the data is displayed in the list view. If I try to run the method a second time it gives an error message (Error while executing emthod with name SignBill, id 12122) when I get to the point where I am attempting to assign a new value to the global used as a primary key in a relationship. At this point my entire solution is unable to change the value of any global variable in any method. If I run the method without displaying the result in the list view form, I do not observe this strange behavior. Any ideas?
John McCann
SQL Server
Windows
2.0 rc6