web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

How to set null value in reference control on a Form

Fawad Hassan Profile Picture Fawad Hassan 337

Below are the ways to blank or clear the reference control. This is kind of tricky, it is not as simple as other controls. Remember I did mention reference control in one of my previous post with name “How to add lookups”

ABCTable _ds.object(fieldNum(ABCTable, Field1)).setValue(0);

ABC_ds.rereadReferenceDataSources();

Or

ABCTable _ds.object.Field1 = 0;

ABC_ds.rereadReferenceDataSources();



This was originally posted here.

Comments

*This post is locked for comments