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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linked Table Memo Field Corruption

Status
Not open for further replies.

aesseal

Programmer
Nov 29, 2002
23
0
0
US
I have an oracle table linked into as access 97 database. This all works fine, apart from a memo field in the table. The memo field shows only the first letter. When the cell is highlighted it shows all of the letters seperated by the little square character that means it doesn't recognise a character.
The same database works fine on other PCs.

Has anybody got any ideas???

Dan
 
Sounds like the memo field is full of carriage returns.
You could try passing it through this function and seeing if you can now see the first two characters .. if so, then just change this function to remove all carriage returns instead of just the first that it finds and you would be OK I think.

Function Remove_Ch13(inpvalue As String) As String

'Find char 13 in the string and replace it with " "
Dim StrLen, i
StrLen = Len(inpvalue)

Do
i = i + 1
Loop While Asc(Mid(inpvalue, i, 1)) <> 13 And i <> StrLen

Remove_Ch13 = Left(inpvalue, i - 1) & " " & Right(inpvalue, StrLen - i)

End Function

Hope this helps [pipe]
 
The same field is displayed correctly on my PC, so there can't be any carriage returns, it just doesn't display correctly on another.

Dan
 
I finally fixed it by adding the registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0]
"NLS_LANG"="ENGLISH_UNITED KINGDOM.US7ASCII"

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top