Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Box Cannot refresh
Message
De
01/09/1998 04:31:48
 
 
À
31/08/1998 09:59:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00131452
Message ID:
00131818
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform