I asked almost the same thing a while ago but I wasn't clear and everything has changed now.
I have this search page in whicn you can search by code, part of the name, or city of the client.
When you search by code everything is fine, it just returns one client. The problem is when you search by anything else, it can return more than one client.
If this happens, you must choose on of the clients shown on screen.
The problem I'm having is that I need the client code and when I search by city or name part I always get the code from the last client in the record.
Is there a way to pass the code from the client I've selected to a JavaScript? Or at least to save the right code in a Session??
Thanks
I have this search page in whicn you can search by code, part of the name, or city of the client.
When you search by code everything is fine, it just returns one client. The problem is when you search by anything else, it can return more than one client.
If this happens, you must choose on of the clients shown on screen.
The problem I'm having is that I need the client code and when I search by city or name part I always get the code from the last client in the record.
Is there a way to pass the code from the client I've selected to a JavaScript? Or at least to save the right code in a Session??
Thanks