Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Whats the best way...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Whats the best way...

 Post Reply Post Reply
Author
Message
gduncan View Drop Down
Groupie
Groupie


Joined: 11 November 2009
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote gduncan Quote  Post ReplyReply Direct Link To This Post Topic: Whats the best way...
    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. 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.