Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Access AS SQL Front End

Access AS SQL Front End

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelpquestion
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mjackson11
    wrote on last edited by
    #1

    We have a DB that was migrated from MS Access to SQL Server 2008 R2. I wanted to continue to use Access as a front end to the DB since users are comfortable with it. But Access is unable to open the database without crashing frequently, corrupting tables, etc. etc. There are tables that are linked to other tables (iCommodity is an int key to Commodity.ID etc.) The largest table is 250,000 records ~ 100MB. It appears that most of the issues revolve around extended properties. Erasing them gets Access to work temporarily but it usually crashes again after re-writing the properties. Is there any known issue that causes this behavior? What do other people do? I can write a application to get into the data but it seems ridiculous that Access can't even open a table without crashing. Thx Mark Jackson

    N D M J 4 Replies Last reply
    0
    • M mjackson11

      We have a DB that was migrated from MS Access to SQL Server 2008 R2. I wanted to continue to use Access as a front end to the DB since users are comfortable with it. But Access is unable to open the database without crashing frequently, corrupting tables, etc. etc. There are tables that are linked to other tables (iCommodity is an int key to Commodity.ID etc.) The largest table is 250,000 records ~ 100MB. It appears that most of the issues revolve around extended properties. Erasing them gets Access to work temporarily but it usually crashes again after re-writing the properties. Is there any known issue that causes this behavior? What do other people do? I can write a application to get into the data but it seems ridiculous that Access can't even open a table without crashing. Thx Mark Jackson

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      mjackson11 wrote:

      Is there any known issue that causes this behavior?

      Yup. Access tries to get everything into memory. But why stick to Access? You could migrate away from a bloated client to a cleaner UX using just about any other language. I think VB3+ODBC gave better control then Access [as a UI] ever did.


      Panic, Chaos, Destruction. My work here is done. or "Drink. Get drunk. Fall over." - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)

      1 Reply Last reply
      0
      • M mjackson11

        We have a DB that was migrated from MS Access to SQL Server 2008 R2. I wanted to continue to use Access as a front end to the DB since users are comfortable with it. But Access is unable to open the database without crashing frequently, corrupting tables, etc. etc. There are tables that are linked to other tables (iCommodity is an int key to Commodity.ID etc.) The largest table is 250,000 records ~ 100MB. It appears that most of the issues revolve around extended properties. Erasing them gets Access to work temporarily but it usually crashes again after re-writing the properties. Is there any known issue that causes this behavior? What do other people do? I can write a application to get into the data but it seems ridiculous that Access can't even open a table without crashing. Thx Mark Jackson

        D Offline
        D Offline
        David Mujica
        wrote on last edited by
        #3

        Can you post a sample of the code which is causing Access to crash ? Are you accessing the SQL tables via Access linked tables ? Are you sure that you are fetching only the data you need and not entire tables ? Maybe I can offer some options that can get you over these pain-points without an entire application re-write.

        M M 2 Replies Last reply
        0
        • D David Mujica

          Can you post a sample of the code which is causing Access to crash ? Are you accessing the SQL tables via Access linked tables ? Are you sure that you are fetching only the data you need and not entire tables ? Maybe I can offer some options that can get you over these pain-points without an entire application re-write.

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          Oh so now YOU want him to snd codz plz :laugh:

          Never underestimate the power of human stupidity RAH

          1 Reply Last reply
          0
          • M mjackson11

            We have a DB that was migrated from MS Access to SQL Server 2008 R2. I wanted to continue to use Access as a front end to the DB since users are comfortable with it. But Access is unable to open the database without crashing frequently, corrupting tables, etc. etc. There are tables that are linked to other tables (iCommodity is an int key to Commodity.ID etc.) The largest table is 250,000 records ~ 100MB. It appears that most of the issues revolve around extended properties. Erasing them gets Access to work temporarily but it usually crashes again after re-writing the properties. Is there any known issue that causes this behavior? What do other people do? I can write a application to get into the data but it seems ridiculous that Access can't even open a table without crashing. Thx Mark Jackson

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            mjackson11 wrote:

            What do other people do?

            Typically no one with any choice would use Access as a front end, you are going to have to upset your users, unless that is you want to write the UI to match the look and feel of Access. I can think of worse fates for a developer but not many.

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • D David Mujica

              Can you post a sample of the code which is causing Access to crash ? Are you accessing the SQL tables via Access linked tables ? Are you sure that you are fetching only the data you need and not entire tables ? Maybe I can offer some options that can get you over these pain-points without an entire application re-write.

              M Offline
              M Offline
              mjackson11
              wrote on last edited by
              #6

              There is no source code as the tables are linked directly to the SQL server. Access crashes if you try to open the table. It works for smaller tables but once you get past 50-60 MB it gets very dicey about crashing. I suspect it is pulling entire tables.

              1 Reply Last reply
              0
              • M mjackson11

                We have a DB that was migrated from MS Access to SQL Server 2008 R2. I wanted to continue to use Access as a front end to the DB since users are comfortable with it. But Access is unable to open the database without crashing frequently, corrupting tables, etc. etc. There are tables that are linked to other tables (iCommodity is an int key to Commodity.ID etc.) The largest table is 250,000 records ~ 100MB. It appears that most of the issues revolve around extended properties. Erasing them gets Access to work temporarily but it usually crashes again after re-writing the properties. Is there any known issue that causes this behavior? What do other people do? I can write a application to get into the data but it seems ridiculous that Access can't even open a table without crashing. Thx Mark Jackson

                J Offline
                J Offline
                jschell
                wrote on last edited by
                #7

                mjackson11 wrote:

                What do other people do?

                Per the other suggest that MS Access attempts to load all of it.... If that is the case then create a view(s) that limits the data set greatly. And link to that.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups