Source page to bring up popup form with filter (KEYID) this
part works fine.....
<SCRIPT language=vbscript id=clienteventhandlersVBS>
<!--
Sub Command0_onclick
newDlg = window.showModalDialog _
("\\xxxxx\xxxx\xxx\xx\Databases\POPUPCOMMENT.htm" , _
document.all.KEYID.value, _
"dialogHeight: 300px; dialogWidth: 900px; center: yes; resizable: no; status: no;")
IF newDlg = True then
window.location.reload()
end if
end sub
-->
</SCRIPT>
But when I click on the command to save record I get a Object required statement at the "window.KEYID.vlaue" not real sure what this code is doing? I have tested the window.dialogArugments and it is passing a numeric KEYID field. Any help would be greatly appriciated. I have been pulling hair out for hours now.....
<SCRIPT language=vbscript id=ClientEventHandlersVBS>
<!--
sub Command0_onclick
window.KEYID.vlaue = window.dialogArguments
window.MSODSC.CurrentSection.DataPage.save()
window.returnvalue = true
end sub
-->
</SCRIPT>
part works fine.....
<SCRIPT language=vbscript id=clienteventhandlersVBS>
<!--
Sub Command0_onclick
newDlg = window.showModalDialog _
("\\xxxxx\xxxx\xxx\xx\Databases\POPUPCOMMENT.htm" , _
document.all.KEYID.value, _
"dialogHeight: 300px; dialogWidth: 900px; center: yes; resizable: no; status: no;")
IF newDlg = True then
window.location.reload()
end if
end sub
-->
</SCRIPT>
But when I click on the command to save record I get a Object required statement at the "window.KEYID.vlaue" not real sure what this code is doing? I have tested the window.dialogArugments and it is passing a numeric KEYID field. Any help would be greatly appriciated. I have been pulling hair out for hours now.....
<SCRIPT language=vbscript id=ClientEventHandlersVBS>
<!--
sub Command0_onclick
window.KEYID.vlaue = window.dialogArguments
window.MSODSC.CurrentSection.DataPage.save()
window.returnvalue = true
end sub
-->
</SCRIPT>