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 : Select PayrollItemNonWage based on timecreatedSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Select PayrollItemNonWage based on timecreated 
 Author   Message 
  Aspen 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-04-11 
 Profile
 Posted : 2008-04-11 11:33:09
Hello,

I am trying to filter payrollitemnonwage based on timecreated:
select top 10 timecreated from payrollitemnonwage where timecreated < {ts '2008-01-01 00:00:00')

<eb1>Expected lexical element not found: <identifier>
State: 37000; Native: 11015; Origin: [QODBC]</eb1> 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-04-12 17:16:53

It would help if you closed the timestamp with a } and not a ). The correct statement is:

select top 10 timecreated from payrollitemnonwage where timecreated < {ts '2008-01-01 00:00:00.001'}

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to