Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colocar filtro num form
Message
De
28/05/2003 14:46:25
 
 
À
21/05/2003 14:13:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00791195
Message ID:
00793666
Vues:
33
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform