Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"1. Neil?Peter" The tiny * is really a square?

Status
Not open for further replies.

robdunfey

Technical User
Apr 26, 2002
110
GB
Hi,

I have some data from Japan. A typical value for a cell is shown below:

1. Neil?Peter

The little character inbetween Peter and Neil is shown as a square in Access, a question mark in Excel. But when I try find and replace in access it I copy the litte square, but it is pasted as a tiny asterix in the find box, meaning it is not found?

Any help in resolving how to replace this character appreciated,

Rob
 
Try by displaying it in any textbox on any form. Set the font of the text box to
Lucida Sans Unicode (or Arial MS Unicode).

Then you will see, which character you are truly dealing with, resp. which character is in the table.
If you cannot find/replace directly in the table, use a recordset in a form to cycle through all records.

Dim rs as recordset
Set rs=currentdb.openrecordset("your table", dbopendynaset)
rs.lockedits=false
rs.findfirst "[your field] LIKE '*" & Chr(123) & "*'"
Do while not rs.nomatch
rs.edit
rs![your field]=replace(rs![your field], chr(123)," ")
rs.update
rs.FindNext
Loop

Hope this helps,
MakeItSo

Andreas Galambos
EDP / Technical Support Specialist
(andreas.galambos@bowneglobal.de)
HP:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top