Getting the present form

Discussions about CSEntry
AriSilva
Posts: 174
Joined: July 22nd, 2016, 3:55 pm

Getting the present form

Postby AriSilva » April 20th, 2018, 10:49 am

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
Best
Ari

Gregory Martin
Posts: 1051
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Getting the present form

Postby Gregory Martin » April 23rd, 2018, 7:32 am

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.

AriSilva
Posts: 174
Joined: July 22nd, 2016, 3:55 pm

Re: Getting the present form

Postby AriSilva » April 23rd, 2018, 12:02 pm

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
Best
Ari


Return to “Entry”