dbTalk Databases Forums  

Revert REcord Script Step is useless ???

comp.databases.filemaker comp.databases.filemaker


Discuss Revert REcord Script Step is useless ??? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Hatzigiannakis Nikos
 
Posts: n/a

Default Revert REcord Script Step is useless ??? - 02-20-2007 , 01:09 AM






In FM8.5pro and all previus versions, when uoy click out of a field
automaticaly commits the record and the revert record script step just do
nothing!!!

Is there any way to revert all changes made in a record layout in the state
that the record was before entering that layout ?



Reply With Quote
  #2  
Old   
Ursus
 
Posts: n/a

Default Re: Revert REcord Script Step is useless ??? - 02-20-2007 , 02:21 AM






According to my FileMaker helpfile you can. Just as a hint: try the
helpfile, it is a source of information....

One way is to create a dummy-layout, this looks the same as the main layout,
but consists of global fields (you have to create them!). When the user is
done inputting he has to click a button which commits the values. You have
to script this, so the script goes to the proper layout and uses a set of
SetField scriptsteps to enter all the data. The inputdata remain revertable
until the user clicks the button.

The second possibility comes from the helpfile:

Setting the automatic record-saving option for a layout
When you make data entry changes to a record, FileMaker Pro normally saves
these changes automatically when you exit the record and display another
record. If you prefer, you can set FileMaker Pro to display a "Save changes
to this record?" confirmation dialog box when exiting a record in which data
has been changed. This confirmation dialog box presents three options:

Save: saves the record changes and exits the record


Cancel: does not save the record changes or exit the record


Don't Save: discards the record changes and exits the record


You can set the usage of this confirmation dialog box on a layout-by-layout
basis, enabling the dialog box on certain layouts and disabling it on
others.

To set the automatic record-saving option for a layout:

1.
Choose View menu > Layout Mode.


2.
Choose the layout you want to work with from the layout pop-up menu.


3.
Choose Layouts menu > Layout Setup.


4.
In the Layout Setup dialog box, do one of the following:


To save record changes automatically, select Save record changes
automatically.



To display a confirmation dialog box when exiting a record in which
data has been changed, clear Save record changes automatically.




5.
Click OK.



Keep well, Ursus

"Hatzigiannakis Nikos" <nikos (AT) ypai (DOT) gr> schreef in bericht
news:ere76s$mg4$1 (AT) volcano1 (DOT) grnet.gr...
Quote:
In FM8.5pro and all previus versions, when uoy click out of a field
automaticaly commits the record and the revert record script step just do
nothing!!!

Is there any way to revert all changes made in a record layout in the
state
that the record was before entering that layout ?









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.