bobsmallwood
Programmer
Is there code that can be attached to a button that will "go to" a form if it is already open and, if not, open it?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
method pushButton(var eventInfo Event)
var
frm Form
endVar
const
FORM_TITLE = "Form : vendors.fsl"
FORM_FILE = "vendors.fsl"
endConst
if not frm.attach( FORM_TITLE ) then
if not frm.open( FORM_FILE ) then
errorShow( "Can't Open " + FORM_TITLE,
"Use [>>] for details..." )
endIf
endIf
if frm.isAssigned() then
frm.show()
frm.bringToTop()
endIf
endMethod