Results 1 to 6 of 6
  1. #1
    netchie is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    92

    Question Coverting Access 2.0 to Access 2003

    Hi,

    I need to convert Access databases with version 2.0 to 2003. I've heard that before you convert them, you need to compile them first. Is this true? If yes, how can I compile it?



    Thanks,
    netchie

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    netchie is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    92
    Hi June7,

    Thanks for immediate reply but I am already having a problem when trying to compile it. it says:

    1. Open a module
    2. In Access 2.0, on the Run menu, click Compile Loaded Modules.

    The problem is the module of my databae Access 2.0 is blank. There's nothing to click so the "Run" button is not clickable that's why I couldn't compile it.

    Please help????

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    I started with Access 2003 so don't really know how this conversion works. Not sure what 'Open a module in Design view' means. Maybe open the VBA editor?

    Do you have any VBA code behind the db? Behind a form? A button Click event? If there is absolutely no VBA then maybe the compile step is not needed. Continue with steps 2 and 3.

    I hope you are doing this with a copy of the original db.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    netchie is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    92
    I converted it to 2003 without compiling and I got a bunch of errors:


    1. Sub Form_Load ()

    DoCmd RunSQL "INSERT INTO [BAMtblUserLog] ([DB],[Login],[User]) VALUES ('Amend',Now(),CurrentUser());"
    End Sub

    and

    2. Sub Form_Unload (Cancel As Integer)
    DoCmd RunSQL "UPDATE [BAMtblUserLog] SET [Logout] = Now() WHERE [DB] = 'Amend' AND [User] = CurrentUser() AND IsNull([Logout])"
    End Sub

    So since I can't compile it and just do Step 2 and 3 that I'm going to get a bunch of errors??

    And yes, I am only converting a copy not the original

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    There were VBA procedures then should be able to do the compile. I don't know how Access 2.0 presents the VBA editor, but simply go to one of the procedures, click cursor in procedure, is the Run>Compile now available?

    A bunch of errors? You show two, are those just representative and there are more?

    Looks like the error is missing dot (.) - DoCmd.RunSQL
    If that is all, maybe just do a search/replace on the string to fix.

    Then run Compile and Compact & Repair from 2003 or 2007. Everything fixed?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-10-2012, 12:28 AM
  2. Export from Access 2003 to Excel 2003 - missing fields
    By Jack Sheet in forum Import/Export Data
    Replies: 1
    Last Post: 02-29-2012, 04:09 PM
  3. Replies: 9
    Last Post: 08-07-2011, 11:21 AM
  4. import excel file to access 2003 yes, access 2007 no
    By stapik in forum Import/Export Data
    Replies: 9
    Last Post: 07-27-2011, 07:09 AM
  5. Replies: 1
    Last Post: 09-06-2006, 11:48 AM

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