I create a report ABC and create a local view viewtest and form frmtest.I put the viewtest on dataenvironment of report abc.The form frmtest has 2
textbox and 1 commandbutton.The frmtest pass parameter to viewtest.I put the some codes in the method beforeopentable as follow :
Do form frmtest
then put the command on menu as follow :
report form abc preview
Now has two cases :
case 1 : When I click menu item ,the form frmtest appear but the report is show briefly and close my system . why ! why !
case 2: If I run the report form abc preview on the command window ,the form frmtest appear first,as I key in and press commandbutton,the form frmtest release and report was show.the result is normal and good.
Please help me .
Thanks!
Eric chien
Taiwan
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only