|
I need help (in many ways). Does anyone understand the form event model or see an error in the process below (which I have been using for 10 years)
What is the best method for opening a form to a specific record?
Currently, on my menu, I have a tablegrid which lists hundreds of records. The user can double-click any record to edit that record.
When that happens, I perform the following steps
- Open the edit form
- attach a UIObject variable to the form
- Create a dynArray filter which has criteria to filter the specific record
- Apply the dynArray to the UI object using SetGenFilter
3. set a few varaibles on the form
4. form is now open to the correct record.
My problem occurrs between step 1 & 2. When Step 1 completes all of the events on the form and fields on the form fire. And Quite honestly, I dont understand why the SETFOCUS or ARRIVE event of a field would fire until you actually setfocus or arrive at the field.
I must be missing something SO obvious!!!!!
|