Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Parameterized views in a forms DE
Message
 
À
16/07/1999 15:38:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00242522
Message ID:
00242572
Vues:
26
>Roi ---
>
>You probably want the view to look for a form property, ie, Form.MyVal and not a variable. In the Init of the Form:
>
>PARAMETERS vMyVal
>THIS.MyVal=vMyVal
>=REQUERY("MyView")
>THIS.Refresh()
>

Hi John,

Yes, it makes sense to do it that way, however I'm not sure what to put in the filter.

I have a prop on the form - CurId.

I changed the filter to "thisform.curid" and ?"thisform.id" but the view doesn't contain any data. If I change it back to a var - lcCurId - it works.

Should the filter be something else?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform