Please, I would like a hint for my script becames lighter. I wanna use just one table.

Hello.
I would like a help to help me to think
I have a list of customers with their informations (telephone, address, e-mail, name...). It are about 120 customers.
So I put a Drop-down List where there are all the customers/names. When the user choose some name, it will change (on the same page, below object drop-list down) the information of the client selected (e-mail, address, phone, etc).
I got to do this using several tables with the same names of value selected on drop-list down. For example: If the user selects a name with the same name of a table, this table will have your presence changed to visible. It works perfect, but my form (in mode Design View) became slow very much (why there are many table within in a single subform).
Does anybody can say me if there is another way to do this using a simple way and lighter
NOTE: I am using table, because in each information, for example phone, I put a image/icon of telephone and also for that all the information stay in a single place.
Is there a example here.

Hi Siri, how are you?
Thanks for your importante reply.
I saw your example but as I am begining, I didn't understand very well. But, basead in your example I had an idea. If I create several fieldtext and to use the condition to change values them?
For example:
if (drop-list.rawValue == Client_1){
name.rawValue = Client 1
address.rawValue = Address' Client 1
email.rawValue = email's Client 1
if (drop-list.rawValue == Client_2){
name.rawValue = Client 2
address.rawValue = Address' Client 2
email.rawValue = email's Client 2
..... and continue (how will be about 120 clients, else I will have 120 conditions ("if")
To show this information, I would put this fields in position correct on the table with event "calculate"
What do you think about this? My form would be lag?
Thanks!

Similar Messages

Maybe you are looking for