Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question
Message
De
21/11/2005 22:46:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Newbie question
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01071036
Message ID:
01071036
Vues:
56
Hi everyone;

A newbie question:

I'm trying to create a form which will accept a parameter, and then show a grid with records from a table matching that parameter. So, if I pass a certain customer acct to the form, I'd like to filter the grid to have just those.

-I've put a parameters line in the init of the form.
- I'm assigning the parameter value to thisform.cAcct

I'm not sure how to set the dataenvironment because when I try to set the filter to thisform.cAcct I get an error "Thisform is available only in a method".

I've also tried to use parameterized views or just set the controlsource of the grid to an SQL statement but I'm always getting errors.

Anyone can point me to the right direction?
Thanks everyone,

Alen
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform