K
Kahuna
Hi Folks - getting brain fade here. Should be simple but guess I'm
over-complicating it!
I have a form with a list (subform table) of reports available to print or
preview etc. I have one button that takes the form name and saves it as a
Snapshot to a specified location.
I'd like to be able to ask the user the file name to use also, but cant
figure the logic of how to do this easily.
I know I can
1. Use the Save Snapshot button to open a form and harvest the user input
for the file name.
2. Feed the FileName to a Function and have the function save the file.
But the code is already functional in the button (Save Snapshot) on the main
form and I don't really want to have to harvest all the form data (name of
report etc) to the function.
What I guess I'm looking for is a mechanism to open a data entry form
(somewhat like a parameter form opening from a query) from the Save Snapshot
button, and have my main code wait for the entry! Obviously I'm able to open
the form - but waiting for the data from the forms OK button beats me!
Is that possible - or sensible even?
over-complicating it!
I have a form with a list (subform table) of reports available to print or
preview etc. I have one button that takes the form name and saves it as a
Snapshot to a specified location.
I'd like to be able to ask the user the file name to use also, but cant
figure the logic of how to do this easily.
I know I can
1. Use the Save Snapshot button to open a form and harvest the user input
for the file name.
2. Feed the FileName to a Function and have the function save the file.
But the code is already functional in the button (Save Snapshot) on the main
form and I don't really want to have to harvest all the form data (name of
report etc) to the function.
What I guess I'm looking for is a mechanism to open a data entry form
(somewhat like a parameter form opening from a query) from the Save Snapshot
button, and have my main code wait for the entry! Obviously I'm able to open
the form - but waiting for the data from the forms OK button beats me!
Is that possible - or sensible even?