Print Page | Close Window

Whats the best way...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=16144
Printed Date: 15 November 2024 at 9:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Whats the best way...
Posted By: gduncan
Subject: Whats the best way...
Date 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. 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net