Results 1 to 3 of 3

Thread: Upgrade access 97 to 2003 problems

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Location
    England, Devon, Honiton
    Posts
    18

    Question Upgrade access 97 to 2003 problems

    Hi there All.

    I am upgrading a vb project to access 2003 data as opposed to the previous 97 databases. You have previously pointed me in the right direction on ADO which I am working on.

    I have come up with another problem, I have code:-

    CabStyleData.DatabaseName = Data_Path & "Cabinet Prices.mdb"
    CabStyleData.RecordSource = "SELECT * FROM [Styles] ORDER BY [DESCRIPTION]"

    CabStyleData.Refresh


    I get an error message:-

    Un recognised database format, Bla Bla

    as above database format was 97 now 2003

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Upgrade access 97 to 2003 problems

    You also need to update your connectionstring property to reflect OLEDB Provider 4.0 for 2003.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Location
    England, Devon, Honiton
    Posts
    18

    Question Re: Upgrade access 97 to 2003 problems

    Hi

    Thanks

    can you be more specific?

    I am in form load iniatiating various connections that will remain "open" while the programme is running.

    CabStyleData is one of these connections

    It bums out at CabStyleData.Refresh, whenthe "quality of the connectin is tested and found to be crap, so it was not opened properly.

    can you direct me to some code or a tutorial somewhere?

    cheers


    a connection to teh database that is here being loaded in form load

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width