Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    EJJ is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    7

    Exclamation Problem with some fields intermittently not showing data in Acccess 2013

    Hi - my first post so please be gentle......



    I've recently moved up to Access 2013 (from Access 2010) and everything went well, until one day my splash screen was blank and the program had empty fields...after much head scratching and seeing that all the links to the BE were OK, I re-booted and everything worked fine....until the next day the same thing happened...... The program randomly falls over about once or twice a week and I have to re-boot to cure it.....

    Has anyone come across this - and cured it?

    My splash screen has a standard dlookup ( [=DLookUp("Banner","tblCompanyInfo")] ) to display the active company name...and sometimes its populated and other times its not..... if its not populated then loads of other fields on the forms are also blank - even if they point to valid data in the database!!!!!!

    Help.....

    EJ

    I run Win7 (both 32 and 64bit) with Access 2013 32bit on three PC's - same problem on all!!!!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    DLookup should work but could instead bind the splash form to the table. I presume there is only one record in the table.

    Why do you show [] enclosing the expression?
    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
    EJJ is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    7
    Hi June7

    Yes there is only one record and the [ ] were to show my code (as requested in one of your sticky's, I think)....

    It's a weird problem - everything runs fine for several cycles, then all of a sudden (mainly when I run the program first thing of a morning) it fails to show most of the data..... a re-boot cures the fault and its off for another several cycles....any ideas?

    EJ

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Code tags are HTML tags and look like [code] your code here [/cod e] and are only of real benefit when posting multiple lines of VBA code by copy/paste so that indentation will be retained.

    The only fix I have was already suggested.
    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
    EJJ is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    7
    OK, got it about the code tags.....

    Sorry for being dumb....what fix already suggested? I'm not really a programmer so can you show in little steps, please....ta!

    EJ

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    From earlier post "bind the splash form to the table" - set the form RecordSource to the table, bind textbox to the Banner field.
    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.

  7. #7
    EJJ is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    7
    I think thats what I've got...

    1) txtBanner is a text box with its control source set to =DLookUp("Banner","tblCompanyInfo")
    2) txtVersion is a text box with its control source set to =DLookUp("VersionNo","tblDefaults")

    Four days out of five the correct data is shown in both text boxes - on the fifth day both fields are blank....do a re-boot and both fields show the correct data....!!!! Intermittent....

    EJ

    Going off-line for a pint and a sulk!!!!

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    No, that is not the same thing, although it should work and I don't know why it intermittently fails, would have to examine db.

    However, you are pulling values from two different tables. I presume tblDefaults also has only one record.

    Could these two be one table?

    Try as the form RecordSource:

    SELECT Banner, VersionNo FROM tblCompanyInfo, tblDefaults;

    Then set each textbox ControlSource to simply:
    Banner
    VersionNo
    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.

  9. #9
    EJJ is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    7
    I would like to resolve the problem with the dlookup intermittently failing as dlookup is used throughout the db... I've had the db running without this fail for several years under Access2010, but within weeks of moving to Access2013 (which is part of the company's irreversible Office2013 upgrade) this problem is causing pain and angst.... I've tried un-registering and re-registering DAO360 but that doesn't appear to have had any beneficial effect...can you think of any other approach?

    Thanks for your patience....EJ

  10. #10
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    You could use VBA to open a recordset of the query I suggested and populate the textboxes with the values from recordset fields.

    I really, really don't want A2013.
    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.

  11. #11
    EJJ is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    7
    but if A2013 was the only option - can you think of anything that might affect Dlookup like this?

  12. #12
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Out of curiosity, is this a split database? Is your data held on another computer?

  13. #13
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    No, I have no idea why this would happen, especially since it worked fine with A2010.

    X, I think post 1 indicated split 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.

  14. #14
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Thanks June7, I missed that part but I was kinda skimming over the OP's question.

    One "trick" we have found ourselves doing in all of our databases is to use a recordset to establish a link with our BE database when the FE is opened.

    So on whichever form is opened when the application opens, go to the On Open or On Load event and create a DAO recordset to any one of the tables in your backend. Then just do a .MoveLast and close the recordset.

    Usually we do this because we were getting prompted for login credentials to access our MS SQL databases if we did not. But we also found this solved some of the "buggy" network problems we would randomly encounter too.

    Perhaps more specific to your situation you could set up this process on a form timer of every 10-15 minutes to essentially refresh your back end connection.

  15. #15
    EJJ is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    7
    Hi Xipooo... I've got a table in the BE called Speedup with one record in it... and I open a hidden form that l load the record into on startup... the form is always open but hidden throughout the session....is that what you mean?

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Problem with new computer running Word 2013
    By rankhornjp in forum Programming
    Replies: 15
    Last Post: 03-06-2014, 11:17 AM
  2. Problem with 2013
    By rpeare in forum Access
    Replies: 1
    Last Post: 09-10-2013, 09:22 AM
  3. Replies: 3
    Last Post: 06-19-2013, 06:34 PM
  4. Replies: 7
    Last Post: 04-22-2013, 02:49 PM
  5. Replies: 4
    Last Post: 05-14-2012, 06:10 PM

Tags for this Thread

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