Information générale
Catégorie:
The Mere Mortals Framework
>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement