Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with SQL Select Statement
Message
De
16/01/2002 07:24:17
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
15/01/2002 22:50:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00605212
Message ID:
00605306
Vues:
10
Mike,

Do you have a typo, or are you looking for a field named ".T." ???

Looks like your cSQL evaluates to
Select * from DatabaseName!TableName WHERE fieldname = .T.
>Hi!
>
>Im Querying a table using sqlconnect and sqlexec commands. Im trying to query a table with a parameter .T. The code is illustrated below. Please check if there is an error on my syntax
>
>nHandle = Sqlconnect("DNSname")
>cSQL = [ Select * from DatabaseName!TableName WHERE fieldname = ] + [.T.]
>nResult = Sqlexec(nHandle, cSQL, "cur_tablename")
>
>with this code, nResult returns a negative value and does not produce the cursor I wanted to create base from the query.
>
>
>Any Help will be greatly appreciated
>
>thanks in advance...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform