Como mostrar todas as informações da outra tabela

Olá, estou fazendo um app para gerenciar pedidos. No app tenho tabela com o cadastro se cliente, porém quando seleciono ele em um novo pedido, só aparece o novo do cliente e não mostra na tela os demais dados do cadastro

Solved Solved
0 6 1,263
1 ACCEPTED SOLUTION

The typical approach to this is:

  1. Select the Customer from a dropdown list. The Customer column would be of type Ref with a Source table of the Customers table.

  2. Once the Customer is chosen, additional columns in the form can use Initial value expressions to set themselves. The expressions may dereference the Customer value to access values from the customer’s row in the Customers table.

  3. For instance, to get the customer’s address by copying the Address column value of the customer’s row in the Customers table, use the expression, [Customer].[Address]

See also:

View solution in original post

6 REPLIES 6

Steve
Participant V

Não encontrei a resposta para minha pergunta, só consigo que apareça no pedido o nome do cliente, os demais dados não aparecem. Só se clicar no nome do cliente, dai sim, aparece os demais dados.

Precisava que quando seleciona-se o cliente no pedido, aparece-se no formulário os demais dados do cliente que estão no seu cadastro.

Também precisava mostrar no pedido o preço do produto, que está na tabela de Cadastro de Mercadorias, porem que seleciono o produto o preço não aparece. Preciso calcular o preço total do pedido

The typical approach to this is:

  1. Select the Customer from a dropdown list. The Customer column would be of type Ref with a Source table of the Customers table.

  2. Once the Customer is chosen, additional columns in the form can use Initial value expressions to set themselves. The expressions may dereference the Customer value to access values from the customer’s row in the Customers table.

  3. For instance, to get the customer’s address by copying the Address column value of the customer’s row in the Customers table, use the expression, [Customer].[Address]

See also:

Muito obrigado!!!

Top Labels in this Space