Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15536

[RESOLVED] VBA Access cant work with double vertical line char ASCII 186

$
0
0
Hi..

I have to run a script to replace chars in access and I have problems in the VBA editor with chars.

I want to execute:

DoCmd.RunSQL "UPDATE DBA_abono_fp SET DBA_abono_fp.concepto_abono_fp = Replace([concepto_abono_fp],chr(0186),""º"")", -1

To replace doble vertical line "║" char with "º" char. But I cant type doble vertical line char "║" in VB, when I type it on the VBA editor it changes to "ùø". I tryed with chr() and the chr(186) code that match with "║" return in VBA the char "º".... Whow can I look for "║" in VBA???

Thanks.

Viewing all articles
Browse latest Browse all 15536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>