Jump to content

This topic is 7466 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi

We have a database with 200 records in 5 tables labeled A Lane, B Lane, C lane, E Lane, and J Lane.

The records within those five tables have been somewhat populated. I have a new field called "Dealerfind" and the user will type in a dealer ID number and I want to write a script that will take them to the first found instance of that Dealer. The problem is - that as the search is in progress , It says "NO Matches" for each table where there is no match. Is there a way to bypass that and just get to the first found set in any of those five tables?

THanks

Stann

Posted

Either Set Error Capture [On] at the beginning of the script to suppress error messages or don't use a find at all. You could use a relationship between a global field where the id is entered to the id field in each of the other tables. Then

If [not IsEmpty(rel1::serial)]

Go to Related Record [show, rel1]

Else If [not IsEmpty(rel2::serial)]

Go to Related Record [show, rel2]

...

End If

End If

This topic is 7466 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.