dbTalk Databases Forums  

Newbie question on saving records

comp.databases.filemaker comp.databases.filemaker


Discuss Newbie question on saving records in the comp.databases.filemaker forum.



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

Default Newbie question on saving records - 12-07-2006 , 09:38 AM






Hi...

I have what might actually be a simple solution, but I don't know what
it is.

When you create a layout and then start entering data, if you basically
click anywhere on the layout but not in a textbox for example, the
record is saved.

So...I want to have it where a person has to hit either an Accept or
Cancel button, but
if the user can hit anywhere on the screen, then the Accept is
basically 'done for you' and
you can't cancel (Revert).

How does anyone work around this?

TIA,
Joe


Reply With Quote
  #2  
Old   
Tom Stiller
 
Posts: n/a

Default Re: Newbie question on saving records - 12-07-2006 , 11:17 AM






In article <1165505891.785797.218920 (AT) l12g2000cwl (DOT) googlegroups.com>,
"JoeT" <trubisz (AT) yahoo (DOT) com> wrote:

Quote:
Hi...

I have what might actually be a simple solution, but I don't know what
it is.

When you create a layout and then start entering data, if you basically
click anywhere on the layout but not in a textbox for example, the
record is saved.

So...I want to have it where a person has to hit either an Accept or
Cancel button, but
if the user can hit anywhere on the screen, then the Accept is
basically 'done for you' and
you can't cancel (Revert).

How does anyone work around this?
Enter the data into global data fields and move it to record defined
fields when the user clicks "Accept".

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF


Reply With Quote
  #3  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: Newbie question on saving records - 12-07-2006 , 11:52 AM



One way to "work around" it is to go to Layout Setup and unmark the
option to 'save record changes automatically'.


JoeT wrote:

Quote:
I have what might actually be a simple solution, but I don't know what
it is.

When you create a layout and then start entering data, if you basically
click anywhere on the layout but not in a textbox for example, the
record is saved.

So...I want to have it where a person has to hit either an Accept or
Cancel button, but
if the user can hit anywhere on the screen, then the Accept is
basically 'done for you' and
you can't cancel (Revert).

How does anyone work around this?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Professional Solutions, Inc. Los Angeles

FileMaker 8 Certified Developer
Associate Member, FileMaker Solutions Alliance


Reply With Quote
  #4  
Old   
Remi-Noel Menegaux
 
Posts: n/a

Default Re: Newbie question on saving records - 12-07-2006 , 01:30 PM



Hi,
First the user does not 'create a layout', he creates a record in using that
layout and filling in that layout's fields.
So one has to think a little deeper on the details on what steps have to be
taken when you want the user to create a record.
I would suggest that you create a button - named 'New Record' for example -
that would launch a script. In that script you take control. With it, you
send the user to a new layout and stay there. The user then has in front of
him everything he has to fill on globals fields. Then a 'Validate button,
triggers another script in which you make any validation you want, and if
OK, does create the actual new record using what was given in the globals.
That's one way. There are others.
Remi-Noel

"JoeT" <trubisz (AT) yahoo (DOT) com> a écrit dans le message de news:
1165505891.785797.218920 (AT) l12g20...oglegroups.com...
Quote:
Hi...

I have what might actually be a simple solution, but I don't know what
it is.

When you create a layout and then start entering data, if you basically
click anywhere on the layout but not in a textbox for example, the
record is saved.

So...I want to have it where a person has to hit either an Accept or
Cancel button, but
if the user can hit anywhere on the screen, then the Accept is
basically 'done for you' and
you can't cancel (Revert).

How does anyone work around this?

TIA,
Joe




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.