Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Filter to
Message
De
07/03/2003 00:27:50
 
 
À
07/03/2003 00:13:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00762585
Message ID:
00762587
Vues:
11
Mathew, I think this will be because pCustID is a local variable to the INIT event only and is therefore not available to the SET FILTER command after the INIT event has finished.


>Hi All,
>
>Recently, I found that by using the SET FILTER TO command, VFP gave me an error and I don't understand why. Here is the problem.
>
>In the init() of the form, I have the following code...
>LPARAMETERS pCustID
>
>Select Customer
>SET FILTER TO cust_id = pCustID
>
>In the last record navigation button >| I have the following...
>
>SELECT Customer
>IF !EOF()
> Skip 1
>ELSE
> GO BOTTOM
>ENDIF
>
>Everytimes, I clicked more than one on the last record button, VFP said 'pCustID' variable not found. Does anyone knows why? TIA
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform