Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Messages

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

Does anybody have a solution for the following:

I would like to have a message flag any requests for duplicate records. For example, ifI do a find of last name = Murphy and there are more than 1 Murphys I would like a message to appear, "Caution! There are more than one Murphy's in our file!".

Any suggestions would be helpful. Thanks!!
 
Define a calculation field, "Message" say.
Message = if(status(currentfound count) > 1, "There is more than one record containing that name.", "")
Put 'Message' on your layout with no borders and a fill colour like the screen background. Make the text a contrasting colour.
If your find is within a script, you could save the 'Murphy' and incorporate it in the message but not for a manual find.

Cheers,
Paul J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top