dbTalk Databases Forums  

Field not validating?

comp.databases.filemaker comp.databases.filemaker


Discuss Field not validating? in the comp.databases.filemaker forum.



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

Default Field not validating? - 06-17-2005 , 10:50 AM






Hi all,

I have a non-empty validation set on a field, and have set it to
Strict. I have a script that blanks the field, and what I'd like to
happen is have FM (when the script is done) compain that the field is
empty... but it doesn't. I even tried Goto field with the perform /
select action specified (thinking it should enter edit mode).. but no
luck.

Any ideas? This is version 6v4.

Thanks
Andy


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

Default Re: Field not validating? - 06-17-2005 , 11:09 AM






Scripts are in the developers domain and will therefore override any
field-level validation you have in place. If you really want to cause
your own errors, you can do so using the Paste or any of the Insert
script steps. Paste and Insert steps require that the field be on the
current layout when the script runs and they behave as though the user
has manually entered the data.


Andy wrote:
Quote:
Hi all,

I have a non-empty validation set on a field, and have set it to
Strict. I have a script that blanks the field, and what I'd like to
happen is have FM (when the script is done) compain that the field is
empty... but it doesn't. I even tried Goto field with the perform /
select action specified (thinking it should enter edit mode).. but no
luck.

Any ideas? This is version 6v4.

Thanks
Andy

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California

FileMaker 7 Certified Developer
Associate Member, FileMaker Solutions Alliance


Reply With Quote
  #3  
Old   
Andy
 
Posts: n/a

Default Re: Field not validating? - 06-17-2005 , 11:20 AM



Works great, thanks!


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.