Vic
Vic

Reputation: 517

Wait until the other form finish foxpro

how to wait for the other form to close before continuing to execute the code. I need the user to validate some data before processing other information. here is my code below but after it shows the form it still continues to run the other code

USE data\tblcashadvanceexemption ALIAS CA
**promp the user the excemption and user should validate the data
IF RECcount()>0
  thisform.Hide()
  DO FORM frmcaapproval
ENDIF

Upvotes: 0

Views: 362

Answers (1)

Tamar E. Granor
Tamar E. Granor

Reputation: 3937

Make the second form modal by setting its WindowType property to 1.

Tamar

Upvotes: 3

Related Questions