It looks like you're new here. Sign in or register to get started.
fctGetObjectID(ptxtObjectID : Text[250]) : Integer EVALUATE(lintValue,COPYSTR(ptxtObjectID,STRPOS(ptxtObjectID,' ') + 1,99)); EXIT(lintValue);
MESSAGE (FORMAT(fctGetObjectID(CurrForm.OBJECTID(FALSE))));
Answers
And use it like this:
Making a integer of a string and formatting it for a message Luc?
Be carefull the OBJECTID does not work when running from the object designer.