Form "Dashboard" Code Speedup Needed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • internetmike@hotmail.com

    Form "Dashboard" Code Speedup Needed

    I have a client database with a parent form and a tab control on the
    child form for all my child tables, such as Enquiry, Application,
    Journal, etc. I am trying to design a "dashboard" panel in the top
    left corner with a text box containing a single letter for each tab, E
    A J. I have conditional formatting for each text box that changes the
    single letter to red if there is the client parent key is in the child
    table, using the following code:


    DLookUp("[nEnquiryKey]","Enquiry" ,"[nClientKey] = [Forms]![Main
    Form]![nClientKey]") Is Not Null


    The problem I am having is that the form is stalling on load-up and
    loads only part way, ie. White boxes without text. Can anyone suggest
    some faster code for accomplishing this? I currently have 5 letters on
    my dashboard and would like to add more tabs.

    Thanks for your help.

    Mike

Working...