 |
emnaki Wanderer
Joined: 12 May 2007 Posts: 59
|
|
|
|
 |
emnaki Wanderer
Joined: 12 May 2007 Posts: 59
|
Posted: Fri Aug 03, 2007 8:30 am |
Ok it seemed that the problem was that autotype didn't see
emote Lalarue stares blankly at nowhere in particular.
as a string. It works when I specified the variable type to be a string literal. |
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Aug 03, 2007 9:20 am |
Autotype shouldn't be causing this problem (and, indeed, isn't for me on a blank session). Can you reproduce it with a blank session?
|
|
|
|
 |
emnaki Wanderer
Joined: 12 May 2007 Posts: 59
|
Posted: Sat Aug 04, 2007 3:45 pm |
Ops, it seems the problem was that the value which I thought to be a string came from a database extracted using ADO: @rs.Fields("col").Value. How do I convert this variable to a string?
|
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Aug 04, 2007 5:43 pm |
The %string function might be what you want, but it depends on what the value is. If that doesn't work, you might need to write a converter.
|
|
|
|
 |
|
|
|