Results 1 to 2 of 2
  1. #1
    Potatohead is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    4

    Can someone modify my module to stop it converting Unicode text?

    I want to stop my module converting unicode into ansi so that I do not lose unicode characters such as greek addresses.



    How can I modify my code to incorporate the principle described? http://accessblog.net/2007/06/how-to...-files-in.html

    Here is the existing module code:

    Public Function formatAddress(v1, v2, v3, v4, v5, v6, v7)
    Dim output As String
    Dim addressArray(7) As String
    Dim i As Integer
    addressArray(1) = v1 & ""
    addressArray(2) = v2 & ""
    addressArray(3) = v3 & ""
    addressArray(4) = v4 & ""
    addressArray(5) = v5 & ""
    addressArray(6) = v6 & ""
    addressArray(7) = v7 & ""
    i = 1
    For i = 1 To 7
    If (addressArray(i) = "") = False Then
    output = output & addressArray(i) & vbCrLf
    End If
    Next
    formatAddress = output
    End Function

    I'm not much good at programming, thanks for any help with this!

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 03-01-2012, 12:21 PM
  2. Converting a Code to Text
    By rmcafee in forum Programming
    Replies: 7
    Last Post: 09-13-2011, 08:52 PM
  3. Converting Excel Macro into Access Module
    By diddyville in forum Modules
    Replies: 1
    Last Post: 03-28-2011, 07:02 PM
  4. Stop text box from rounding decimals
    By Deutz in forum Access
    Replies: 1
    Last Post: 02-17-2011, 07:32 PM
  5. Converting Option value to text
    By James3mc in forum Forms
    Replies: 4
    Last Post: 11-28-2009, 11:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums