dbTalk Databases Forums  

Validation

comp.databases.filemaker comp.databases.filemaker


Discuss Validation in the comp.databases.filemaker forum.



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

Default Validation - 10-24-2011 , 05:27 PM






Now for my next question ........

I need to enter validation on a serial number field.

I have entered simple validation before. For example: This field is
required so must be always not empty and if validation fails display
custom error message.

This time ideally I need the field to search another table of serial
numbers.
For example: There's a known faulty batch of goods with serial numbers
in the range 1234-2345
Details of these are stored in a Flagged serial number database

So when a serial number is entered in my table the validation will
say: Search Flagged Serial Numbers database, serial number field and
if it finds a match my custom error message will appear indicating the
faulty serial number warning.

Is this possible? If so please advise how best to implement this.

I am using FM Pro Version 11.

Many Thanks

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

Default Re: Validation - 10-24-2011 , 05:45 PM






On 25/10/11 8:57 AM, JayBee wrote:
Quote:
Now for my next question ........

I need to enter validation on a serial number field.

I have entered simple validation before. For example: This field is
required so must be always not empty and if validation fails display
custom error message.

This time ideally I need the field to search another table of serial
numbers.
For example: There's a known faulty batch of goods with serial numbers
in the range 1234-2345
Details of these are stored in a Flagged serial number database

So when a serial number is entered in my table the validation will
say: Search Flagged Serial Numbers database, serial number field and
if it finds a match my custom error message will appear indicating the
faulty serial number warning.

Is this possible? If so please advise how best to implement this.

I am using FM Pro Version 11.

Many Thanks

Add a conditional format to the layout with default text the same
colour as the background, and a calculated CF to make the text white on
a red fill ( for example) i.e. big red flag - evaluating the related
flagged table

Same construct can be used to flag insert image/file as reference into
a container field; i.e. give visual feedback when insert a ref is
required ( or the opposite)

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

Default Re: Validation - 12-07-2011 , 02:37 AM



Thanks for this Cortical I developed a solution using conditional
formating and validation.
Many 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.