jeudi 9 juin 2011

How to enable or disable a field in a dataSource of a form

Instead of using the field name, it's better to use this functionality :

inventTable_ds.object(fieldnum(InventTable,ItemId)).allowedit(True);

check this link to see where to enable/disable form elements

http://patrikluca.blogspot.com/2009/02/x-code-snippet-disabling-form-elements.html

Aucun commentaire:

Enregistrer un commentaire