Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Message displaying before form shows
Message
From
28/04/2005 09:07:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01009176
Message ID:
01009193
Views:
22
This message has been marked as the solution to the initial question of the thread.
Pass the value if found or not to the form's init. Call the form with:

DO form myform NAME omyform WITH .F.

and then in the form's init put something like:
LPARAMETERS llfound
DODEFAULT()
this.show()
IF !llfound
   =MESSAGEBOX('No matching record found.')
ENDIF
>I have a program which when executed runs a procedure which finds a record and then displays the information in a form. If no record is found it displays a messagebox stating no record. The problem is the messagebox shows up before the form is on the screen. How do I change this so that the form is displayed and then the messagebox?
>
>Many Thanks
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform