receiving this on my subform in place of the text that should be displayed.
I assume this is an error code. Where do I find what exactly it means?
This is my code on a update button:
SFReasonNotes1.TReason.rawValue = Reason.getDisplayItem(Reason.selectedIndex);
When pressing 'preview' then the Object ### appears instead of the text that's in the Reason text field.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
this is not an error code.
It's only the object ID of the referenced object it has during runtime.
Your script won't work as the function getDisplayItem is used for objects which can have several different items such as drop down boxes or list fields.
Use:
SFReasonNotes1.TReason.rawValue = Reason.rawValue;
Views
Replies
Total Likes
Hi,
this is not an error code.
It's only the object ID of the referenced object it has during runtime.
Your script won't work as the function getDisplayItem is used for objects which can have several different items such as drop down boxes or list fields.
Use:
SFReasonNotes1.TReason.rawValue = Reason.rawValue;
Views
Replies
Total Likes
Thank you, this worked and I learned something.
Views
Replies
Total Likes
Views
Likes
Replies