Design: how to use, but not display a primary key?
Posted: Tue Aug 28, 2007 2:18 am
Hi all.
I'd like advice on the preferred "Revolution" way of handling this situation:
I have a Customer table. Contains these fields, among others: phone number, name and key. The key is a simple numeric, auto-incremented by MySQL.
Typically, the user will search for the proper customer record by entering the phone number. I'd like to display to the user just the phone number and the name, but not the key.
However, when the user selects a customer, I need to access the database record with the key.
What would be a good Rev-like way of doing this?
(One approach I've thought of would be to use a scrolling field with a few tabs; the last tab being outside the visible area of the field. I would then use some sort of chunk expression (word -1 of the clickline, maybe?) to access the key and then the full record. What do you think?)
Thanks for your comments and suggestions!
I'd like advice on the preferred "Revolution" way of handling this situation:
I have a Customer table. Contains these fields, among others: phone number, name and key. The key is a simple numeric, auto-incremented by MySQL.
Typically, the user will search for the proper customer record by entering the phone number. I'd like to display to the user just the phone number and the name, but not the key.
However, when the user selects a customer, I need to access the database record with the key.
What would be a good Rev-like way of doing this?
(One approach I've thought of would be to use a scrolling field with a few tabs; the last tab being outside the visible area of the field. I would then use some sort of chunk expression (word -1 of the clickline, maybe?) to access the key and then the full record. What do you think?)
Thanks for your comments and suggestions!