Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange character in string
Message
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00568674
Message ID:
00568788
Vues:
11
>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().
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform