Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange character in string
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00568674
Message ID:
00568788
Views:
10
>I have found two like this so far out of several thousand records.
>The data is coming from a datacom database.
>I could just remove the character with mid(), but how do I test to see if the first character is bad.
>I tried:
>If StrConv(Left(address, 1), vbFromUnicode) = ""
>and it doesn't seem to work,
>
>I also tried:
>If Asc(rsNameData!Loc_Addr_1_Text) = 0
>and that does seem to work,
>will that be enough of a test?
>Ryan

Probably something to do with the data entry, you might want to double-check with a data-entry person or someone that looks at reports to see if there might be a reason for this or if it is common.

The other option is to just remove it from the display, instead of making the change altogether.

Also check my other post about the byte array that might be returned by StrConv().
Previous
Reply
Map
View

Click here to load this message in the networking platform