ds_MethodToText


ds_MethodToText (methodID; code) <- errorCode
Parameter Type Description
-> methodID Integer Method ID
<- code Text The Code
<- errorCode Long Integer Error Code (0 = no error)


Returns the Text of the method which ID is passed.

IMPORTANT NOTICE: if methodID is the ID of an object method that contains a refernce to a field not prefixed byt the table name (ie Name instead of [Customers]name), then the field will not be detokenized and this expression :

Name:=vName
will be detokenized like this:
:=vName

This will be a problem if ds_TextToMethod is called with this text : the reference to the field is lost and can not be retreived.

So, here is the rule : always use the table name when using fields.