Calculated value invisible until been clicked

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • litpost
    New Member
    • Jun 2010
    • 9

    Calculated value invisible until been clicked

    We are running Access 2010 runtime on Server 2008 R2 with both FE and BE on it. Each user has own FE copy on Server which is opened from own PC through remote desktop.

    After fresh Server restart all goes well for 1-2 weeks. But then some strange behaviour starts:
    - values of all calculated fields - whatever, on forms or on reports - disapears. When I click on a field it shows up again. And refresh does not help;
    - all condition formats does not show up until I hover the mose on it.

    When we restart the Server all comes to normal again. Its very annoying because users thinking data are gone!

    I have searched a lot on net but seems it is rare problem and maybe related to some kind of overcaching or something related to time used.

    Would be great to hear from you of any help on it.
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    See if the following will help...
    ACC2100
    You need to open the front-end master.
    Backstage (File on the ribbon)
    Options
    Current Database
    (scroll down)
    Caching Web Service and SharePoint tables
    Select: Use the cache format that is compatible with Microsoft Access 2010 and later
    Select: Clear Cache on Close
    Save
    Push this new frontend down to the users.

    Comment

    • litpost
      New Member
      • Jun 2010
      • 9

      #3
      Thanks for reply a lot.
      I'll do it today for all front ends. We do not use neither Web nor SharePoint but who knows, maybe it helps. Be back with results after few weeks.
      Still if anyone have other suggestions would be nice to hear.

      Comment

      • litpost
        New Member
        • Jun 2010
        • 9

        #4
        As promissed I am back with test results. Unfortunately it did not help but now it is certain that our problem is directly related with thin client of remote desktop. So, nothing to do with Access. Still question is open and if somebody has resolved it would by great help for us.

        Comment

        • zmbd
          Recognized Expert Moderator Expert
          • Mar 2012
          • 5501

          #5
          one more suggestion then, push the frontends down to the local pcs... don't run them from the server.

          Comment

          • litpost
            New Member
            • Jun 2010
            • 9

            #6
            It helps for sure to resolve this problem but then I loose control on FrontEnds. We have BackEnd based on Access. To make maintance I need to close all FrontEnds (30 users). On Server it is not an issue but on individual PC's - how can I manage it?

            P.S.: I know that such many users must run on more serious DB, such as SQL SERVER. We plan to move there but it is different story...

            Comment

            • jimatqsi
              Moderator Top Contributor
              • Oct 2006
              • 1293

              #7
              You could add a data item to a parameter table, something like
              DBClosed_yn and then write a function that returns the value. Add calls at appropriate places throughout your software,
              Code:
              if DBClosed() then
              msgbox "The database is closed for maintenance"
              docmd.quit
              endif
              Then when you need to do some maintenance you just set the flag and wait for everybody to encounter it and exit. The waiting might be the hard part.

              I wrote a menuing system that allows me to see who is logged in and what version they're running. I can retire a version, which forces people on that version to update before selecting anything on the menu. I think I'll add this feature to it.

              Jim

              Comment

              • litpost
                New Member
                • Jun 2010
                • 9

                #8
                Hi Jim, thanks for the suggestion.

                We have 10 users in office and 20 users in production (their do scan all the products at every prod. proccess point). Office works 8 hrs / 5 days but production do 24 hrs / 7 days and here is the problem. In fact we nether have situation when all FE are logged off.

                I have FE versioning done through vbscript. Every time user clicks the script file the FE (master) copy goes to separate folder, gets individual file name and starts Access runtime.

                I never thought this approach is bad. At least I cannot find the reason "why?" because in my structure every user has own copy.

                Comment

                • zmbd
                  Recognized Expert Moderator Expert
                  • Mar 2012
                  • 5501

                  #9
                  Ok... so each user has a copy of the frontend... this is good.
                  The copy is on the server, this is a bottle neck.
                  - server feeds to local pc
                  - local pc makes request
                  - local request feeds to server
                  - server handles request
                  - server then feeds update to frontend display
                  - server then feeds data up to the frontend display

                  --
                  - each user has own copy on local pc
                  - the front-end sends request to server
                  - server processes and sends data back up to front-end
                  - local pc processes the data

                  You can still use the idea of the script,
                  Have the user click on the button
                  Have the script check for local pc version against server version of frontend (if change then download newer version, if no change then start the application).
                  This is what our IT does. We have a MySQL based system. The frontend is all in a flavor of C, there is a launcher script that checks the server for new versions and installs the newer version, then launches the frontend.

                  Comment

                  Working...