Insert/Update Decimal Problem filed "PayrollInfoVacationHoursVacationPercentage" |
Author |
Message |
|
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)
|
|
|
|
Tom |
|
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?
|
|
|
|
|
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
|
|
|
|
Tom |
|
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? |
|
|
|
|
Posted : 2008-12-24 18:26:45 |
Select Salutation, FirstName, PayrollInfoVacationHoursVacationPercentage from Employee is working but new record are not iunserted |
|
|
|
Tom |
|
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 |
|
|
|
|
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 2009) version 9.00.00.253
|
|
|
|
Tom |
|
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?
|
|
|
|
|
Posted : 2008-12-27 21:00:01 |
Ok, Yes , If there is decimals value like exiting, it Showing as:-
|
|
|
|
Tom |
|
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. |
|
|
|