Whats the best way... |
Post Reply |
Author | |
gduncan
Groupie Joined: 11 November 2009 Status: Offline Points: 24 |
Post Options
Thanks(0)
Posted: 04 February 2010 at 7:05pm |
Hi,
I am new to using this control and wanted to ask advice on what the best way was to use the report control.
Like most applications, mine has a list containing items. The user clicks on the item they want to edit and this takes them to the edit form
Upon completing their changes the edit form is closed and the user is returned to the list view.
The data in the list view now needs to be refreshed.
What is the best way to find the record in the report grid and then update it?
I could itterate through all records in the reportcontrol checking if field value = myID. Slow and painful.
I could use .focusedrow - but what if this got changed somehow?
I could pass the Record byref into my edit form and change it there ? I dont know if this would work.
I could use the method .FindRecordItem - this seems to fit the bill but I have not tried it out yet and it is not used in any of the examples.
I am interested to hear others peoples experiences and ideas on what is the best / most efficient way to use this control in this way.
Thank you.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |