gcue Posted January 25, 2008 Share Posted January 25, 2008 i get a line error with this part.. cant get the quotes right on the long line can anyone help? thanks. $text=('eh'&@CRLF& _ 'Set-schema: HPD:Help Deskitsmprod'&@CRLF& _ 'Query: 1000005125=1000005124=1000000688=1000000687=1000000398=1000000397=301291000=AST:CMDBAssoc CI UA CMDBAssoc301290700=AST:AssetPeople_AssetBase '301921200' = " & '"SYE"' & " AND '7' != " & '"Resolved"' & " AND '7' != " & '"Closed"' & " AND '7' != " & '"Cancelled"' "'&@CRLF& _ 'end') Link to comment Share on other sites More sharing options...
weaponx Posted January 25, 2008 Share Posted January 25, 2008 Duplicate topics are not wise.http://www.autoitscript.com/forum/index.ph...mp;#entry465198 Link to comment Share on other sites More sharing options...
gcue Posted January 25, 2008 Author Share Posted January 25, 2008 this one has line breaks - sorry figured it was a different problem.. and if i replied to an old topic it might not get read.thanks tho.Duplicate topics are not wise.http://www.autoitscript.com/forum/index.ph...mp;#entry465198 Link to comment Share on other sites More sharing options...
Developers Jos Posted January 29, 2008 Developers Share Posted January 29, 2008 you will have to post some more information to be able to help you. couple of remarks: What are the "strange characters" before the numbers in the posted line ? Double up the single quotes with its a single quoted string. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
gcue Posted January 30, 2008 Author Share Posted January 30, 2008 thanks for replying.. this is a remedy macro - not sure what the single quote is for i had this working when it was all in one line.. $text="ehSet-schema: HPD:Help DeskitsmprodQuery: 1000005125=1000005124=1000000688=1000000687=1000000398=1000000397=301291000=AST:CMDBAssoc CI UA CMDBAssoc301290700=AST:AssetPeople_AssetBase '301921200' = " & '"SYE"' & " AND '7' != " & '"Resolved"' & " AND '7' != " & '"Closed"' & " AND '7' != " & '"Cancelled"end' then when i tried putting line breaks the long line stopped working. this one has line breaks - sorry figured it was a different problem.. and if i replied to an old topic it might not get read. thanks tho. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now