Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use Parameterized views in a forms DE
Message
 
To
16/07/1999 15:38:27
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00242522
Message ID:
00242572
Views:
19
>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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform