Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL statement
Message
De
14/03/2008 05:51:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01301744
Message ID:
01302059
Vues:
14
That was it. As always thanks Sergey
Gaylen


>A string literal is limited to 255 characters. You can use TEXTMERGE instead
>
>TEXT TO lcSql NOSHOW
>INSERT INTO ;
>CheckExpenseLine(AccountRefListID,AccountRefFullName,;
>ExpenseLineSeqNo,ExpenseLineTxnLineID,ExpenseLineAccountReflistID,;
>ExpenseLineAccountReffullName, ;
>ExpenseLineAmount ) ;
>values( "80000026-1205231806" ,"test",1,"3-1205232033",;
>"8000000C-1205181842","Advertising and Promotion",10)
>ENDTEXT
>
>lnresult = SQLExec(nHnd,lcSql)
>
>>I am getting the error "contains unrecognized phrase or keyword" in the following SQLEXEC which is trying to use an ODBC driver to Quickbooks. However I can't seem to get past the VFP error. After several days of messing with this I am about to hoist the white flag.
>>
>>
>>
>>lnresult = SQLExec(nHnd,[INSERT INTO ;
>>CheckExpenseLine(AccountRefListID,AccountRefFullName,;
>>ExpenseLineSeqNo,ExpenseLineTxnLineID,ExpenseLineAccountReflistID,;
>>ExpenseLineAccountReffullName, ;
>>ExpenseLineAmount ) ;
>>values( "80000026-1205231806" ,"test",1,"3-1205232033",;
>>"8000000C-1205181842","Advertising and Promotion",10) ] )
>>
>>?lnresult
>>
>>
>>
>>This is a SQLEXEC using the Qodbc driver to QuickBooks. I can update and get data from the CheckExpenseline table but have not been able to do an insert. I can update,insert and select the customer and vendor tables with no problems so my connection to QuickBooks seems OK.
>>
>>Thanks in Advance
>>Gaylen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform