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 : Insert/Update Decimal Problem filed "PayrollInfoVacationHoursVacationPercentage"Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Updates and Bug Fixes

 New Topic 
 
 Post Reply 
[1]  
 Insert/Update Decimal Problem filed "PayrollInfoVacationHoursVacationPercentage" 
 Author   Message 
  Niranjan 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-09 
 Profile
 Posted : 2008-12-23 03:34:59

I am getting Problem to Update/Insert filed "PayrollInfoVacationHoursVacationPercentage" Table Employee

Query like:

UPDATE employee SET PayrollInfoVacationHoursVacationPercentage = 5.5 where ListID = ''

INSERT INTO Employee (FirstName,PayrollInfoVacationHoursVacationPercentage) VALUES ('Niranjan',5.5) 

 

 
Niranjan Kumar Singh 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-23 10:28:44

Sorry, but you haven't said what the problem is? What's the error?

 

 

  Top 
  Niranjan 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-09 
 Profile
 Posted : 2008-12-23 21:18:23
  • Myquery:-    UPDATE employee SET PayrollInfoVacationHoursVacationPercentage = 5.5 where ListID = 'B0000-1226350695'

VB Demo 32 Error:-    [QODBC] Error : 3210 - The "Vacation percentage" filed has an invalid value "5.50000". QuickBooks error massage: This field accepts a maximum of two (2) decimal places.

  • Myquery:-  INSERT INTO Employee(Salutation,FirstName,) VALUES('Mr.','Niku') ----Ok Working BUT

 

  • INSERT INTO Employee(Salutation,FirstName,PayrollInfoVacationHoursVacationPercentage) VALUES('Mr.','Niku',4.5)  -----Same Error

VB Demo 32, is throwing error

 

 

 

 
Niranjan Kumar Singh 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-24 09:45:22

Ok, what version of QuickBooks (country, year and edition) and revision of QODBC are you using? Please upload a screen dump of this query:

Select Salutation, FirstName, PayrollInfoVacationHoursVacationPercentage from Employee

See: How do I upload images to my forum post? 

 

  Top 
  Niranjan 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-09 
 Profile
 Posted : 2008-12-24 18:26:45






Select Salutation, FirstName, PayrollInfoVacationHoursVacationPercentage from Employee is working but new record are not iunserted  

 
Niranjan Kumar Singh 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-26 10:22:40

Ok, what version of QuickBooks (country, year and edition) and revision of QODBC are you using? I can't tell from the copyright banner. Do Ctrl-1 while QuickBooks is running and look at the "About" tab in the QODBC Setup screen. Please also upload a screen dump of this query:

Select Salutation, FirstName, PayrollInfoVacationHoursVacationPercentage from Employee

 

  Top 
  Niranjan 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-09 
 Profile
 Posted : 2008-12-26 18:14:32
Hi,
Ok,   We Are Using Quick Books (Canada, 2007and Premier Multicurrency Addition) and QODBC (Evaluation QODBC Server Edition 2009version 9.00.00.253


 

 
Niranjan Kumar Singh 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-27 10:21:50

Thanks for that, what happens when you use a integer instead? Does this work?

INSERT INTO Employee (FirstName,PayrollInfoVacationHoursVacationPercentage) VALUES ('Niranjan',4)

Your screen dump also only shows integer values for PayrollInfoVacationHoursVacationPercentage. Are there any entries with decimals like 4.5?

 

 

  Top 
  Niranjan 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-09 
 Profile
 Posted : 2008-12-27 21:00:01
Ok,  
         
Yes , If there is decimals value like exiting, it Showing as:-


 

 
Niranjan Kumar Singh 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-29 08:48:37
This bug has been reported to the QODBC Software Engineer under QSupport Ticket No: BR00000097. I will post a response here when a workaround or fix is available. There is no time frame for the fix as other priorities exist. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to