Jump to content

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

Recommended Posts

Posted

Hello

I have table called "lane" and it has a field called "Lane NUMBER"

I need to make a button that probes another table "REG" and specifically a field called "Lane "AssignmentREG" to allow that number to be registered ONLY if it has NOT already been used.

Any suggestions are very helpful . I can understand I have to do some kind of find. But I want to automate this and ALLOW my old script to work UNLESS the number is already in a record on the other table.

HELP

Posted

Hi stann,

I suggest you create a relationship between the 'lane' and 'REG' based on a match between the Lane NUMBER and AssignmentREG fields, then test whether the current number in Lane NUMBER exists in the REG table with:

IsEmpty(REG:B) AssignmentREG)

...which will return a 0 if the number has already been used and a 1 if it is an unused number. wink.gif

This topic is 7486 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.