I think what you're looking for is under Tools -> Programming -> On Load Event...
You'll need to write a short script to save the document and I'm afraid I'm no expert on JScript, though I suspect there is a single command that can be used. I hope this isn't too late, I've just been away for a short hoiday!
Ray
"JR" wrote:
[Quoted Text] > > Ray, sorry, i suppose i should have been more specific. > > i have a field, called "Popularity," that increments whenever the form is > opened...therefore, if the user does not save that form, the new value is > lost. > > how would i be able to run scripts when the form is open?? do you know !? > > i appreciate your response, Ray. > > JR > > > > "Ray" wrote: > > > Apologies if this is a silly question, but isn't the form already saved when > > it's first opened? i.e. no changes have been made to the original document. > > If you're running scripts when the file is opened, can't you just add a > > savefile command to the end of the last of these to run? > > > > I'm sure there is more to this, but if you can say what that is, you're more > > likely to get a helpful answer. > > > > Ray > > > > "JR" wrote: > > > > > > > > basically, i want a form to be saved every time it is opened. > > > > > > my first reaction was to go to: > > > tools -> form options -> open and save > > > but the option to save is not under the open behavior rules (nor is the > > > option to write your own code). > > > > > > any ideas ?? > > > > > > thanks! > > > JR > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
|