How to auto load client data after selecting it in a dropdown?
Hey everyone
I’m building a form called Pesquisa (Survey), and it has a Select Box where I choose a client from another form/table called Cadastrar Cliente (Register Client).
After selecting the client, I want to automatically display some info from that client record — for example:
c_cnpj → Client CNPJ
c_razao_social → Company Name (Razão Social)
Basically, I want to load data from app_fd_cadastrarCliente into my Pesquisa form when the user selects a client.
I tried using a Database Wizard Load Binder in another Section, with a filter like:
id = #form.cliente#
But nothing loads when I pick a client in the dropdown.
Do I need to use a Subform to do this?
Or is there a simpler way to auto-load related data when a Select Box changes?
Any example or tip would be super helpful, DX9