Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PLS help~ about grid control!
Message
 
 
To
14/12/1999 10:02:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00303323
Message ID:
00303346
Views:
21
>thx for reply first~
>but can u more specifiy on which grid properties can control it.
>and also where should i put it on , after i specifiy the recordsource or before or others?!
>THX~

In the property sheet for your grid, make the RecordSourceType = 4 [SQL Statement]. Your SQL code would go in the RecordSource property:

select tablea.*, tableb.* from tablea join tableb on tablea.ab1 = tableb.ab1 where tablea.ab1 = 'one' order by a2 into cursor crsResults

The name of the cursor can be whatever you want.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform