Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Box Cannot refresh
Message
From
01/09/1998 04:31:48
 
 
To
31/08/1998 09:59:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00131452
Message ID:
00131818
Views:
21
>If SQL is static (not changing on the fly) easiest is to put SQL directly to >grid.recordsource and set recordsourcetype = SQL. It seems you set >recordsourcetype = alias and the alias is the one you're selecting into.


Hi,

Thanks for your suggestions. I've tried putting the SQL statement
into grid.recordsource & also set the recordsourcetype to SQL. I'm
still not getting anything, what i suspect is that the grid is being
initialized at the very begining & thus not registering my search
criteria or rather the SQL statement in the grid.

Just for your info a sample of my sql statement. Take note of the WHERE clause
eg:
Select cds.ncode, songs.csgname from cds inner join songs on
cds.ncode=songs.ncode WHERE songs.csgname =
alltrim(thisformset.form2.key.value) order by songs.csgname


Thanks

Andrew Kong
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform