Information générale
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement