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 : Can't insert txndate into InvoiceLine tableSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v7 Forum

 New Topic 
 
 Post Reply 
[1]  
 Can't insert txndate into InvoiceLine table 
 Author   Message 
  Tim 
  
 Group: Members 
 Posts: 1 
 Joined: 2009-02-04 
 Profile
 Posted : 2009-02-04 06:46:42

I have the sample statement:

insert into "InvoiceLine" (CustomerRefListID, RefNumber, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineAmount, InvoiceLineRate, TxnDate) values ('8000013E-1233631679','2065:147098','80000002-1230754043','DeepCove' ,16.59, 16.59, 2008-12-20)

I have tried every combination of functions, single quotes, etc., but can not find the correct format for the txndate.  Please let me know how the above statement should look with regard to the txndate.

Thanks,

Tim

 

 
Tim Geddings 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2009-02-04 10:24:01
As per: How are dates formatted in SQL queries when using the QuickBooks generated time stamps? your 2008-12-20 date needs to be written as {d'2008-12-20'} 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to