there are 2 ways to enable or disable the fields :
1.
inventTable_ds.object(fieldnum(InventTable,ItemId)).enable(True);
2. itemid.enable(true)
always prefer first one as this is considered as best practises
and you don't need set the auto declaration == yes also.
1.
inventTable_ds.object(fieldnum(InventTable,ItemId)).enable(True);
2. itemid.enable(true)
always prefer first one as this is considered as best practises
and you don't need set the auto declaration == yes also.
No comments:
Post a Comment