Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Passthrough Command
Message
 
 
À
17/02/2002 20:37:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00621388
Message ID:
00621396
Vues:
19
Are you sure that value stored in thisform.dcno is correct? Try
csql = [Select * from Accounting!datacenter where dcno = nnn]
where nnn is an existing value in dcno field.

>Hi Sergey,
>
>I also tried this command but does not work either
>
>nHandle = Sqlconnect("bbfsdsn")
>>csql = [Select * from Accounting!datacenter where dcno = ] + Alltrim(Str(thisform.dcno))
>>nResult = Sqlexec(nHandle, cSQL, 'cur_result')
>>Select cur_result
>>Browse
>
>this command displays no records...
>
>but when i change the csql to [Select * from Accounting!datacenter]
>There records are displayed perfectly.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform