Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering remote view
Message
From
27/04/2009 09:31:38
 
 
To
27/04/2009 09:06:03
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01396479
Message ID:
01396488
Views:
89
This message has been marked as the solution to the initial question of the thread.
>Hi all
>
>Help please
>
>I have 'remote view' inside my dbc for to retrieve filtered data from Microsoft Access tables ('view' code - following).
>When I run this view, VFP ask for 'view parameter', take my input and running well.
>
>But how can I use with this in my project (openning it in form without 'view parameter' message and update my as per VFP veriable)?
>
>The 'View' code:
>SELECT Data.ImageId, Data.Coments, Data.Kit, Data.Date, Data.Field2,;
> Data.Nomber, Pictures.ID, Pictures.Image;
> FROM ;
> Data Data ;
> INNER JOIN pictures Pictures ;
> ON INT(VAL(Data.imageid)) = Pictures.ID;
> WHERE Data.Nomber LIKE ( ?cnomber )

Hi Chaim,

You can open such a "parameterized" view with the "NoData" clause if you use the Use command. Or set .NoDataOnLoad=.T. if it is a in a form.DataEnvironment:
Use theView NoData In 0
Local cnomber
cnomber = '%99%'
Requery('theView')
hth
-Stefan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform