MEMO field in ACCESS

From: Date: Thu, 25 Jan 2001 18:45:28 +0000
Subject: MEMO field in ACCESS
Groups: php.db 
Request: Send a blank email to php-db+get-6166@lists.php.net to get a copy of this message
I've got an Access dbase and one of the field is memo. Before showing on web side, I want to convert the memo field from Windows-1250 codding to ISO-8859-2. With text fields I do it with below script, but with memo it doesn't work <SCRIPT language="VBSCRIPT" RUNAT="SERVER"> const WIN = "ąęćłóśżźĄĘĆŁÓŚŻŹ" const ISO = ""ąęćłóśżĽˇĆĘŁÓŚŻŹ" Function WIN2ISO( str ) Dim A, B, znak WIN2ISO="" If IsNull(str) Then Exit Function WIN2ISO = str For A=1 To Len(WIN) WIN2ISO = Replace(WIN2ISO, Mid(WIN,A,1), Mid(ISO,A,1)) Next End Function </SCRIPT>

« previous php.db (#6166) next »