Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid opening a form with the wrong record ?
Message
From
18/07/2001 20:59:17
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00532330
Message ID:
00532333
Views:
13
>I am calling a form with a recid as parameter. I want for example to open the client form with one particular client. So, in the init of the form, I am positioning on the requested record and hop it shows on the screen.
>The problem is that, when the form appears on the screen, it is showing the first record for a brief moment. I thought about seting the nodataonload property to .t. in the data environment but no-can-do, it is read only (Actualy I wonder why?).
>What could be the solution for this.
>
>Thanks
>Eric

One possibility that comes to mind you can try is to set the form's Lockscreen property to .T. in the form's Load or at the beginning of the Init. Do your processing and setup in the form Init, then set Lockscreen to .F. in the Show or Activate.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform