edpatterson
IS-IT--Management
- Feb 24, 2005
- 186
I am attempting to query records out of a database which have a crlf in one of the fields. I am using ado and vbscript.
The string is in the form of:
"192.169.1.2&vbcrlf&192.168.1.3&vbcrlf&192.168.1.4"
It is actually the IP_ADDRESS column as saved by BGInfo when selecting a Microsoft Access database.
Tried
[tt]
select ip_address from bginfotable where ipaddress = '%vbcrlf%'
select ip_address from bginfotable where ipaddress = '*vbcrlf*'
select ip_address from bginfotable where ipaddress = '%chr(10)%'
select ip_address from bginfotable where ipaddress = '*chr(10)*'
[/tt]
As you can probably see, I am fairy new to this.
Thanks.
The string is in the form of:
"192.169.1.2&vbcrlf&192.168.1.3&vbcrlf&192.168.1.4"
It is actually the IP_ADDRESS column as saved by BGInfo when selecting a Microsoft Access database.
Tried
[tt]
select ip_address from bginfotable where ipaddress = '%vbcrlf%'
select ip_address from bginfotable where ipaddress = '*vbcrlf*'
select ip_address from bginfotable where ipaddress = '%chr(10)%'
select ip_address from bginfotable where ipaddress = '*chr(10)*'
[/tt]
As you can probably see, I am fairy new to this.
Thanks.