Page 1 of 1

Getting the present form

Posted: April 20th, 2018, 10:49 am
by AriSilva
Like the getsymbol function, is there a way to know in which form the user is working?
For example, a GetForm function?
For me, this is useful in the onstop function, then I would know the form name where the stop key was pressed (besides, of course, the procedure).
Best
Ari

Re: Getting the present form

Posted: April 23rd, 2018, 7:32 am
by Gregory Martin
There is no GetForm-style function, but you can get GetRecord to get the name of the record that you're on. If you want to take different action based on the record that you're entering, you can use that.

Re: Getting the present form

Posted: April 23rd, 2018, 12:02 pm
by AriSilva
Yeah, I saw the getRecord, but in my case the forms have different records.
I know that in the mobiles the Form concept is meaningless, but...
I´m playing with the getSymbol and getRecord to take the appropriate logic actions.
Thanks
Ari