Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : Expected Lexical Element Not Found Error when inserting SalesReceiptLineSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Support Forum

 New Topic 
 
 Post Reply 
[1]  
 Expected Lexical Element Not Found Error when inserting SalesReceiptLine 
 Author   Message 
  Ian 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-05-20 
 Profile
 Posted : 2006-06-05 14:25:25

The following insert statement is throwing the above error.   I know the date format is wrong, but I was curious if there were any other problems with the query.

SQL Statement exeception:

insert into salesreceiptline (TxnNumber, CustomerRefListID, CustomerRefFullName, TxnDate,
BillAddressAddr1, BillAddressAddr2,BillAddressCity, BillAddressState, BillAddressPostalCode)
values('102309', 'B60000-1149343192', 'Roy McKutchen',{d'09/22/2000'},'567 Shaker Lane','','Springfield','CT','06789') [QODBC] Expected lexical element not found: <identifier>

 

 
Do or do not. There is no try 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-05 15:12:00
Sorry, the insert has other things wrong, not just syntax. Please refer to: How do I create a Sales Receipt using QODBC? for more information on how to create Sales Receipts. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to