And what if the user simply hits Enter or Return (on numeric fields)?
Wouldn't that commit the record as well?
Winfried
www.fmdiff.com
On 17.05.2008, at 16:39, Todd Geist wrote:
Hello Brad.
There is away to keep the user from being able to commit the record
until you want them to. It involves using a layout object to
catch the clicks before they bring up the dialog. You place the
object at the very back and set it to stretch in all directions so
the that the user can ever find any area of the layout that is not
covered by this object.
Now what layout object do you use. You have three options.
1. Invisible button.
Set the button to have no color or line and set it to do nothing.
This works but it is ugly since the background hilites when you
click on it.
2. Empty container field
I think this has to be in another table and placed on the layout
through an invalid relationship (ie 1=2). This also works but I
don't like it Becuase you have to add fields and relationships.
3. Web Veiwer
This is my favorite. Place an empty web viewer on the layout and
hide all of it's widgets (ie progress, bar, status bar) This works
very well.
There is one issue with all three methods. You have to be careful
using the FileMaker Tab Control. IF the user is able to click on
the Active Tab it will bring up the Save Record dialog. Just the
tab itself is the problem. If the user selects tab 2 and the
clicks on Tab 2 again the dialog pop GRRRR!
But You can work around this by building you own buttons that
switch tabs on your tab control.
This feature will be part of my Devcon Presentation on Database
Transactions
Hope that helps
Todd
-
Todd Geist
geist interactive