Wow - what a great technique - thanks! Minimal programming. I never
would have figured this one out...
One thing though. There's no option for the user to make changes to
the filename. What I had in mind was something like the windows
filesave dialog - where you can set up an initial default name, but
the user can still override.
Is there a way to do this using the same technique?
> Wow - what a great technique - thanks! Minimal programming. I never
> would have figured this one out...
And with this technique if you have a Form Services you can publish and open
directly on browser.. if you wirte code inside the form you need the
administrator to publish the form if you want to open it in browser.
> One thing though. There's no option for the user to make changes to
> the filename. What I had in mind was something like the windows
> filesave dialog - where you can set up an initial default name, but
> the user can still override.
> Is there a way to do this using the same technique?
So simple.. but I don't know if you like it.
Place a textbox named FileName to fill with the filename.
In the save button add a new rule (before the rule that save the form)
executed when FileName is empty .. then set FileName value with the formula
you wrote in the connection.
Then go in the form connection property and for module name.. clic on
formula button.. delete all the old formula.. then add a field.. obviously
the filename field.
So.. if filename filled by the use.. it take this as file name.. else if
blank.. it take your formula.
All clear? :)
Newbie Programmer - 05 Mar 2008 18:42 GMT
On Mar 5, 11:00 am, ".-=] ExTrEmE [=-." <extrema...@hotmail.com>
wrote:
> > Wow - what a great technique - thanks! Minimal programming. I never
> > would have figured this one out...
[quoted text clipped - 21 lines]
> blank.. it take your formula.
> All clear? :)
Hmm, yah that'll work. Is there a way to add a field to the form so
that it is visible, but so that it doesn't print when somebody prints
the form?
.-=] ExTrEmE [=-. - 05 Mar 2008 19:18 GMT
> Hmm, yah that'll work. Is there a way to add a field to the form so
> that it is visible, but so that it doesn't print when somebody prints
> the form?
You can use views. You can set up view for printing.. where the field don't
appear..