Hello,
Is there a possibility that I can get my form-ID of the form where i'm on at the moment.
I tried the function CurrForm.OBJECTID, but then I get the name.
So for example, if i'm on the salesperson/purchaser card, i want to get the value 5116, which is the specific form.
Thankx in advance
0
Comments
From Help:
String := Form.OBJECTID([UseNames])
String
Data type: text or code
Form
Data type: form
UseNames
Data type: boolean
The UseNames parameter is optional. If it is set to TRUE (default value) or if it is empty, the returned string contains references to field names in the table that the record is associated with. If the parameter is set to FALSE, field numbers are used instead.
Form ID is 0 if you run the form from the Designer but is correctly filled if you run the form from the Object Designer or form Code.
Bye