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
|
|
Multiline InvoiceLine Descriptions, How To Word Wrap? |
Author |
Message |
Art |
|
Group | : Members |
Posts | : 1 |
Joined | : 2008-06-22 |
|
Profile |
|
Posted : 2008-06-22 14:57:54 |
Is there a way to embed in CHAR(13) + CHAR(10) inside an Insert Statement?
Basically, I want to control wordwrapping, embed in CRLF's in the InvoiceLine Descriptions we are inserting.
I have tried a couple different things, the last was:
SQL:
INSERT INTO InvoiceLine (CustomerRefListID, FQSaveToCache, InvoiceLineDesc)
VALUES ('2X00011-2227777844', 1, 'TEST LINE' + {fn CHAR(13)} + {fn CHAR(10)} + 'TEST LINE 2' + {fn CHAR(13)} + {fn CHAR(10)})"
But it give me:
Error 42S00 - "Insert Value Must Be A Simple Value"
Any advice on the syntax would be appreciated, or maybe it is not possible, or a better way exists.
Thanks in Advance.
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-06-23 10:53:45 |
Sorry, insert values must contain alpha-numeric characters only. You will need to create multiple invoice lines (as opposed to a multi-line invoice line). |
|
|
|
|