Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing a form from within Init
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00100829
Message ID:
00100838
Views:
35
Hi Rick,

Thanks for responding, I tried that and it doesn't work I debugged the code and I see that it issues the return .f. but keeps right on trucking through the rest of the code and the form never gets released. Weird, huh?

>Try returning .F. from the INIT() event if this.txtAcct.value = 0
>
>>I have a data entry form that from within the Init I call a function FindAcct that gets a customers account by issuing another form(this.txtAcct.value = findacct()).
>>
>>FindAcct returns a zero if "Pick Customer" form is cancelled out of.
>>
>>So I want to release the data entry form if this.txtAcct.value = 0(or the Pick Customer was cancelled out of).
>>
>>This doesn't work. Can I release a form from within the init? If not, are there any suggestions of how I can accomplish this?
>>
>>Thanks,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform