Login | |
|
 |
RE: Help with error in script please - 6/18/2008 12:18:01 AM
|
|
 |
|
| |
dm_4ever
Posts: 2665
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
I haven't looked at all your code yet, but I came across a similar error when querying AD with a user that had an apostrophe in the name ' so I just used the replace function to replace a single apostrophe with two of them '' (Note: not the same as quotations ")
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Help with error in script please - 6/18/2008 2:27:23 AM
|
|
 |
|
| |
dm_4ever
Posts: 2665
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
The "simple" one seems to only be querying for data and writing it to a file...have you tried modifying that simple one by adding an office or user that contains an apostrophe?
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|