newlnuser
8th March 2011, 07:40
Hi
I have created a multi-main table session. i have added to form commands to it. i need to change the status filed of the main table according to form command selection. but it is not happening correctly. i have pasted the code
Please let me know , where i am doing wrong.
function extern status.requested()
{
enable.commands("status.transferred")
disable.commands("status.created")
tfcus011.stas = tfstatus.requested
execute(update.db)
refresh()
}
function extern status.transferred()
{
enable.commands("status.requested")
disable.commands("status.created")
tfcus011.stas = tfstatus.transferred
execute(update.db)
refresh()
}
tfcus011 is the main table.
Thanks in advance
I have created a multi-main table session. i have added to form commands to it. i need to change the status filed of the main table according to form command selection. but it is not happening correctly. i have pasted the code
Please let me know , where i am doing wrong.
function extern status.requested()
{
enable.commands("status.transferred")
disable.commands("status.created")
tfcus011.stas = tfstatus.requested
execute(update.db)
refresh()
}
function extern status.transferred()
{
enable.commands("status.requested")
disable.commands("status.created")
tfcus011.stas = tfstatus.transferred
execute(update.db)
refresh()
}
tfcus011 is the main table.
Thanks in advance