|
-
Jan 17th, 2000, 04:40 AM
#1
Thread Starter
Member
I have a form that allows a user to select a document and click a button to fax it. I want to prompt them with another form to fill out with info such as the Phone Number, To, From, Comments, etc. Is there an easy way to call the form to get this information and when the button on that form is clicked continue the processes in my main form? I don't want my main form to continue until the inputed information is completed and validated.
Thanks!
-
Jan 17th, 2000, 04:46 AM
#2
Hyperactive Member
there are a couple ways. You could have the second form get called just before the doc is actually sent to be faxed, or you could have the other form be called and when they click on the end button then it would take care of sending the file to the fax. You could set a global OK varialbe to determine whether to go to the fax. I would probably do the first example.
EG:
sub cmdFax_click()
load frmInfo 1 'load it modulur so that it won't do anything until the form closes.
if booOK = true then
'now do the faxing code
else
msgbox "You didn't fill out everything.", vbokonly, "Fax Failed"
end if
end sub
I'm not sure of exact syntax because I'm at work and all my examples are at home.
[This message has been edited by netSurfer (edited 01-17-2000).]
-
Jan 17th, 2000, 04:46 AM
#3
-
Jan 17th, 2000, 05:35 AM
#4
Thread Starter
Member
Thanks for the help. I knew about the form1.text1.text thing. Looks like that's going to be my best bet.
Thanks again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|