Results 1 to 3 of 3
  1. #1
    Karan is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Posts
    1

    Need help to convert data.

    I have a mdb access file in which letters or numbers are decremented by one letter or number. that is URL is written as TQK. Please help me to restore the data. Thanks in advance.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    For test fields only? Numeric fields are left alone?

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Will this function work for you?
    Code:
    Public Function IncField(InField As String) As String
       Dim MyIndex As Long
       For MyIndex = 1 To Len(InField)
          IncField = IncField & Chr(Asc(Mid(InField, MyIndex, 1)) + 1)
       Next
    End Function

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

Similar Threads

  1. Replies: 1
    Last Post: 01-28-2011, 02:45 PM
  2. Horizontal DB convert
    By williamtak in forum Access
    Replies: 2
    Last Post: 12-09-2010, 08:05 PM
  3. How to convert a db to txt
    By Joliet_Jake in forum Import/Export Data
    Replies: 5
    Last Post: 11-01-2010, 12:07 AM
  4. Convert to ACCDE through VBA
    By johnrt87 in forum Programming
    Replies: 0
    Last Post: 06-28-2010, 07:50 PM
  5. Convert to MMM/YYYY
    By Brian62 in forum Queries
    Replies: 10
    Last Post: 08-31-2009, 04:54 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