RE : [development-axapta] changing Formdatasource field allowedit property from code

2006-11-24 Thread Steeve Gilbert
GÝN Envoyé : 23 novembre 2006 08:42 À : development-axapta@yahoogroups.com 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 cod

Re: [development-axapta] changing Formdatasource field allowedit property from code

2006-11-24 Thread Sailendran Rajan
Hi Ramazang, just try this, datasoursename.object(fieldid).allowEdit(false) will do. eg, custTable_ds.object(fieldNum(CustTable, Name)).allowEdit(false); regards Sailendran Rajan Ramazan GÝRGÝN <[EMAIL PROTECTED]> wrote: Hi all, How can I change datasource field pr

[development-axapta] changing Formdatasource field allowedit property from code

2006-11-23 Thread Ramazan G�RG�N
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