Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colocar filtro num form
Message
From
28/05/2003 14:46:25
 
 
To
21/05/2003 14:13:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00791195
Message ID:
00793666
Views:
34
Olá Pedro

Para evitar muitas mudanças e também o set filter, vc pode ao invés de criar um cursor de NFs, criar um cursor de Cliente cujo único registro será o cliente pasado como parâmetro. Depois vc faz um set relation tendo como tabela pai o cursor de cliente e como tabela filha o cursor de NFs

É claro que para isso a tabela de NFs deverá ter um índice cuja chave será o identificador do cliente.

Por Exemplo:

Form_Init
lParameters pnIdCliente
Create cursor curCliente (idCliente I)
Insert Into curCliente (idCliente) Values( pnIdCliente )
Set Relation to idCliente Into tabeladeNFs
Edson Oliveira dos Santos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform