In my current application I have a textbox that the user will enter an account number in. When the user hits <enter> the valid method runs on the test box and pulls up the information for that account number if one exists and populates the other textboxes in the form. (this form is for posting account information like debit and credits and that the account was serviced) There is a dummy account number for services rendered to non-regular customers. This information is posted to a different database.
What is supposed to happen is that when the dummy account number 9999 is entered a new form pops up for them to post that info into. My problem is that the form pops, but then immediately gets moved to the back by the regular posting form. I've also tried placing the code in the lostfocus method by still the same thing happens. Below is my code:
IF thisform.txtaccount.Value = 9999
frmoddjobpost.show
RETURN .t.
ENDIF
I would like the regular customer form to stay visible in the background. Can some one please help me with this. I'm new to FoxPro so I very well my iggnorant of a command that will do this easily, but have found nothing yet.
I'm using VFP 8.0 on Windows 2000 for development. The app will be running in 2000 and 98 machines.
-Serincino
What is supposed to happen is that when the dummy account number 9999 is entered a new form pops up for them to post that info into. My problem is that the form pops, but then immediately gets moved to the back by the regular posting form. I've also tried placing the code in the lostfocus method by still the same thing happens. Below is my code:
IF thisform.txtaccount.Value = 9999
frmoddjobpost.show
RETURN .t.
ENDIF
I would like the regular customer form to stay visible in the background. Can some one please help me with this. I'm new to FoxPro so I very well my iggnorant of a command that will do this easily, but have found nothing yet.
I'm using VFP 8.0 on Windows 2000 for development. The app will be running in 2000 and 98 machines.
-Serincino