Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save name of the calling form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00622735
Message ID:
00622752
Views:
25
>>Hi everybody,
>>
>>I was using this code in Form's load:
>>if type('_screen.ActiveForm.name')='C' && There is another active form
>>   this.CallingFormName=upper(_screen.ActiveForm.name) && Called from some other form
>>else
>>   this.CallingFormName=''
>>endif
>>
>>However, it returns "", though form is called from another form. Is there another way to know, what form is called from another form?
>
>Just a guess, have you try PROGRAM()?

Not sure, how to use it to determine the name of the calling form. I tried wait window program() and it returned MyFormName.Load I need the previous form name.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform