R
rahmad
Dear All,
I'm trying to create a dialog.
I have two text boxes in my main form ( txt_A and txt_B)
and two command button ( OK_cmd and cmd_Cancel ).
Then in my dialog form,I have two combo boxes ( cbo_1 and cbo_2)
and two command button ( Continue_cmd and Cancel_cmd).
Let say,OK_cmd in my main form will print a report when be clicked.
But before printing the report,I need to bring up the dialog form first.
Then select from cbo_1 for the value of txt_A and from cbo_2 for txt_B.
After the dialog completed, the code continue to print report.
How to do that? And how to handle if the user click cancel_cmd on
the dialog form that means printing action must be cancelled?
Please advise.
Thank's
Regards,
Rahmad
I'm trying to create a dialog.
I have two text boxes in my main form ( txt_A and txt_B)
and two command button ( OK_cmd and cmd_Cancel ).
Then in my dialog form,I have two combo boxes ( cbo_1 and cbo_2)
and two command button ( Continue_cmd and Cancel_cmd).
Let say,OK_cmd in my main form will print a report when be clicked.
But before printing the report,I need to bring up the dialog form first.
Then select from cbo_1 for the value of txt_A and from cbo_2 for txt_B.
After the dialog completed, the code continue to print report.
How to do that? And how to handle if the user click cancel_cmd on
the dialog form that means printing action must be cancelled?
Please advise.
Thank's
Regards,
Rahmad