I need something like the following to work.
The obvious problem is that the GetCustomer() at the end of the do..enddo fires immediately when I don't want it to run until I release the form.
Is there any way to handle this without making the forms modal? I need the end user to be able to pull up other forms and access the menu etc when running this form.
nAcct = GetCustomer()
do while !isnull(nAcct)
cType = GetFormType()
do case
case cType == "A"
do form frmA with nAcct
case cType == "B"
do form frmB with nAcct
case cType == "C"
do form frmC with nAcct
endcase
nAcct = GetCustomer()
enddo