Jump to content
Server Maintenance This Week. ×

Comparing one list against another to create a third


Toby B

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

Recommended Posts

Is this possible?

I have a set amount of unique values that I want to create a Value List from (These values are IP Addresses).

Pretty straight forward you say ... a Custom Value List.

I then want a Value List that contains only the IP Addresses used so far.

Again you say ... Simple, use a Value List generated from the IP Address field.

The point where I get confused is here ...

I want the user, when assigning a record an IP address, to choose from a third Value List.

This third list is the same as the first list, except, it has been stripped of all the IP Addresses already used (the second list).

Can anyone give me a point in the right direction?

Thanks in advance.

Toby

Link to comment
Share on other sites

quote:

Originally posted by Toby B:

Is this possible?

I have a set amount of unique values that I want to create a Value List from (These values are IP Addresses).

Pretty straight forward you say ... a Custom Value List.

I then want a Value List that contains only the IP Addresses used so far.

Again you say ... Simple, use a Value List generated from the IP Address field.

The point where I get confused is here ...

I want the user, when assigning a record an IP address, to choose from a third Value List.

This third list is the same as the first list, except, it has been stripped of all the IP Addresses already used (the second list).

Something that you could do is to store the "All IPs" and "Available IPs" value lists in global fields. Get the "Used IPs" value list from the actual IP Address field in the database.

When the user clicks on the field to choose the IP address a script is actuall run, which uses the Troi Text Plugin to populate the "Available IPs" global with the results of the subtraction of the values in the Used IPs value list from the All IPs value list. Then it would use the Goto Field command to actually activate the field.

This is just ONE wayt to do this.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

Link to comment
Share on other sites

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