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
|
|
I ran a query which was invoiceline.refnumber < 5 and it returned 1 10 11 12 13 etc up to 49 - why? |
Author |
Message |
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-02-22 12:54:38 |
QuickBooks defines some fields which you would expect to be numeric type as text fields, messing with the ability to compare properly. In this case you need to define the filed as a specific numeric field by using a convert function like this one:
SELECT * FROM InvoiceLine where {fn Convert(invoiceline.refnumber, SQL_INTEGER)} < 5 |
|
|
|
|