Re: Using a Record list -List box for selections of more than one field at a time.
Hi Mike,
I am trying to remember what it is you are doing with this script for these devices - copying them to another customer work order wasn't it?
So you would need tables for:
WO_Hdr
Customers (each with a unique cust_id - auto incr assigned in field rules),
Devices (unique devices each with a unique serial number (user input) - no blanks or duplicates allowed);
and an Items table with an unique (auto increment) record id (item_id) field.
The item table would be where you find the same device serial number assigned to different customers, but where the location may be different. There should be no blanks or duplicates in the devices table, just as there would be no blank cust_id's or duplicates in the customer table. It sounds like you may be trying to use the "items" records to copy a device to a new item?
In a work order set it would look similar to the Alpha Sports Invoice set
Are you adding the same number of records each time, or do you need to make multiple selections from a list of devices to add? Because there may be a better way...
Hi Mike,
I am trying to remember what it is you are doing with this script for these devices - copying them to another customer work order wasn't it?
So you would need tables for:
WO_Hdr
Customers (each with a unique cust_id - auto incr assigned in field rules),
Devices (unique devices each with a unique serial number (user input) - no blanks or duplicates allowed);
and an Items table with an unique (auto increment) record id (item_id) field.
The item table would be where you find the same device serial number assigned to different customers, but where the location may be different. There should be no blanks or duplicates in the devices table, just as there would be no blank cust_id's or duplicates in the customer table. It sounds like you may be trying to use the "items" records to copy a device to a new item?
In a work order set it would look similar to the Alpha Sports Invoice set
Code:
WO_Hdr [work order number] --->customer [cust_id] ==>items [auto incr field rule adds id during data entry] |--->device [SN selected from lookup list] |--->location (probably a lookup field and not a set link)
Comment