Hi Ramazan,
You were almost there. Here's what you need : InventTable_ds.object(fieldNum(InventTable, ItemId)).allowEdit(false); Regards, Steeve... -----Message d'origine----- De : [email protected] [mailto:[EMAIL PROTECTED] De la part de Ramazan GÝRGÝN Envoyé : 23 novembre 2006 08:42 À : [email protected] Objet : [development-axapta] changing Formdatasource field allowedit property from code Hi all, How can I change datasource field property in code ? I want to diable the datasource field allow edit property with code, but not control's allowedit property . is there any code like this : inventtable_ds.fieldnum(itemid).allowedit(false), this is only template code,i know doesn't work. Can anybody help me ? thanks [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]

