Hi.
I've had this happen in a couple of very complicated forms that gather a lot of data when opened.
I/the user gets dozens of pop-up messages saying "Modifying records in the XXX table" where XXX are tables not remotelty involved in the current process. Most of them are names of tables that are not even used in the implementation.
Does anyone know if these messages are totally bogus, avoidable, slowing down the 'real' work the form is doing, etc?
Thanks!
(60R2 on SQL)
0
Answers
First rule of developing forms is Keep It Simple! Forms should (not must) be bound to one table and display that data only. Related data should be displayed in separate pop up forms. Avoid at any cost (and I mean it) too complicated forms with too many fields or even more than one subform. Avoid gathering non related data via wild coding with "refreshing" on the OnAfterGetRecord trigger, etc...
That's a weird dialog. If modifying records takes so long that it has time to show a dialog then you really have a problem... What do you mean by that?
The form is *not* (repeat: not) modifying ANY records in the DB. It is collecting data and building temporary records that are displayed in the form.
It means that the table names that come up are tables that have nothing to do with the form, and most are tables that have no data in them.
FD Consulting
Forgive me to answer with questions but...
- Did you take a look at the code?
- Did you use the debugger?
...to find out what the form is really doing and where these dialogs come from?
At one point in my code I was doing a RENAME on one of the temporary records. With that removed the form loads in 1/10th the time.