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
|
|
Date format |
Author |
Message |
|
Posted : 2006-10-06 08:31:10 |
I am having a heck of a time trying to get an employee's birthdate to export into Quickbooks. I thought #07/23/1964# should work, but it does not. I am using an append query in Microsoft Access, and all other info exports just fine. Thank you for your assistance.
ps. my regional settings for short date is mm/dd/yyyy
Sandra |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-10-06 08:41:29 |
|
|
|
|
Posted : 2006-10-07 00:02:20 |
Hi Tom,
I am using an Access append query. The format of #02/19/1964# that is suggested does not work. Any other ideas?
Thanks, Sandra |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-10-07 08:06:22 |
Sorry, you haven't told me what the actual error is or given a simple example of a APPEND query that is failing compared with one that works. |
|
|
|
|
Posted : 2006-10-08 01:17:06 |
Hi Tom,
I am not getting an error message, it is simply that the date of birth is not showing on the employee I have just exported. All other info is exported just fine.
I have created a little database to show you my query, but I don't see a way for me to send it to you. There used to be a way I could attach a database to my message, but I don't see that option here anywhere.
Thanks, Sandra |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-10-08 21:29:16 |
Oh, you are using the Canadian version of QuickBooks. I recall there are one or two fields that may differently. The problem is related to the different column names for Gender and how the Tax number is called for a EMployee however I just tried:
INSERT INTO Employee (IsActive, FirstName, MiddleName, LastName, EmployeeAddressAddr1, EmployeeAddressAddr2, EmployeeAddressCity, EmployeeAddressPostalCode, NiNumber, Sex, BirthDate) VALUES(1,'Sandra','C','James','22 Chester Street','PO Box 873', 'Boronia','3155','123456','Female',{d'1953-11-07'})
with my Australian version of QuickBooks and QODBC v7.00.00.194 and DOB worked for me. See: How do I add a new Employee? for more.
Using MS Access you simply use 'YYYY-MM-DD' for INSERTs with dates like this:
INSERT INTO Employee (IsActive, FirstName, MiddleName, LastName, EmployeeAddressAddr1, EmployeeAddressAddr2, EmployeeAddressCity, EmployeeAddressPostalCode, NiNumber, Sex, BirthDate) VALUES(1,'Sandra','C','James','22 Chester Street','PO Box 873', 'Boronia','3155','123456','Female','1953-11-07')
Attachments are limited to PAID Priority Support through the QSupport Helpdesk. The QDeveloper Forum is about stating the issues and showing how to resolve them. If the above doesn't work, I suggest you turn on the trace log and see what you are sending to QODBC thru the MS Access append query.
See also: How do I turn on the trace log? |
|
|
|
|
Posted : 2006-10-11 03:22:43 |
Hi Tom,
I have just updated my QODBC to 7.00.00.194 and tried the following query with the trace log turned on:
INSERT INTO Employee ( FirstName, LastName, SIN, BirthDate ) SELECT "Sandra" AS First, "Couling" AS Last, "634 767 197" AS SIN,"1964-02-19" AS DOB;
The employee is added, but the birthdate field is empty. There is nothing in the trace log.
Sandra |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-10-11 09:24:57 |
Could please confirm that the following INSERT statement:
INSERT INTO Employee ( FirstName, LastName, SIN, BirthDate ) VALUES ('Sandra', 'Couling', '634 767 197', {d'1964-02-19'})
fails to insert a DOB when executed in VB Demo. |
|
|
|
|
Posted : 2006-10-11 23:57:17 |
Hi Tom,
I have just tried the insert statement from VB Demo, and the employee was entered, but with no Birthdate.
Thanks, Sandra |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-10-12 08:56:13 |
This bug has been reported to the QODBC Software Engineer under Support Incident Ticket No: BR00000020 for resolution. I will post a reply if there's a workaround or when the problem has been addressed. |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-10-13 14:42:37 |
Sorry, this is actually a bug in Intuit's Canadian version of the qbXML SDK that has been reported to their IDN forum. At one point they said it would be in the patch but we have never seen it resolved. |
|
|
|
|