Dr.Hamed Posted May 22, 2006 Share Posted May 22, 2006 I have patient database with "name" text field and "report" text field. I need a script or whatever, that notifies me that the new patient "name" was there before and to generate previous reports that i can browse easily in the preview mode. Thanks Link to comment Share on other sites More sharing options...
John Mark Osborne Posted May 22, 2006 Share Posted May 22, 2006 Create a script that finds all the records that are the same as the one you are creating. If the name field is enough to check for duplicates, you can use a script like this: Set Variable [$Name; Value: MYTABLE::Name] Enter Find Mode [] Set Field [MYTABLE::Name; $Name] Perform Find [] This will locate all of the records in the database with the same name, including the one you are currently entering. Link to comment Share on other sites More sharing options...
Dr.Hamed Posted May 23, 2006 Author Share Posted May 23, 2006 Thanks. This script does it. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6547 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now