>No, but you can create a cursor from the array, and base the grid on that (I didn't see the other thread... what are you trying to do?)
I have a form where clerks enter new debit and credit items to an account. A child grid on this form shows all of the items or just the open items as desired. The grid is based on a parameterized view. I have been asked to show a running balance down the right side of the grid. "No problem!", I said.
Stephen Russell takes the approach that I first imagined: adding a blank field to the view and calculating it with a scan loop. I'm still unsure about this approach.
Because I will need an array to calculate which items gets closed when a payment is made, I'm inclined toward using an array and then transfering it to a temporary cursor as you and Jeff have suggested.
Question for Jeff: If I make sure that the cursor fields are in exactly the same order as the grid columns can I skip the code:
MyGrid.Column1.ControlSource = "MyArray[DUMMY.Du_rec,1]" etc.
Thanks for the help.
Peter
Peter Robinson ** Rodes Design ** Virginia