ds_SetFormMethod


ds_SetFormMethod (tableNum; formName; newMethodID) <- errorCode
Parameter Type Description
-> tableNum Integer Table number
-> formName String Form name
-> methodID Integer Method ID
<- errorCode Long Integer Error Code (0 = no error)


Change the form method associated to the form formName.

IMPORTANT NOTICE: The routine does not check that newMethodID is an existing method ID. To stop associating a from method with a form you just have to pass 0 in methodID. Notice that the old form method, if any and if it was not a valid project method ID, stays in the structure, as an orphan.