Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods don't execute in order
Message
From
01/08/2000 12:24:31
Ed Gay
Computer Software Consultants
Bangor, Maine, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00398124
Message ID:
00399407
Views:
21
>>Roxanne,
>>Are you (and everyone else who replied) saying that the methods are executing in order and my problem is that I'm using a wait window?
>
>yes.

Roxanne,
I have this code in a button on page 9

thisform.cmdFind.click()
thisform.GetPatronInfo()
if ! empty(thisform.nCutOff)
=errormsg("Patron's borrowing privileges are suspended, excessive fines or overdue material")
return
endif

I select a person on the find form that does cause the thisform.nCutOff to be greater than 0 and it does not cause the error message to display. I put a break point at the "if ! empty(thisform.nCutOff)" line and when I selected the same person and hit the break point the value of thisform.nCutOff and the value of thisform.nCutOff is 0 and the id of the person is blank.

The next time I click on the button and select a person were the nCutOff is realy zero, the break point shows that nCutOff = 10 and the person ID is that of the previous person (the one in the para above).

This seems to me that the methods are not executing in order.

Ed
Previous
Reply
Map
View

Click here to load this message in the networking platform