Results 1 to 4 of 4
  1. #1
    armyofdux is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2014
    Posts
    55

    Switchboard- Programming a dashboard

    Im trying to setup a rudimentary dashboard. I have some unbound text boxes that I would like a value to appear in. I have one portion working fine. Basically, I want the copied code to display in each of these unbound text boxes.

    Private Sub Form_Load()


    Me.Record_Count = DCount("*", "Assets")
    Me.AssetValue = DSum("[Sale Price]", "Assets")

    The Record count one obviously gives me the number of asset records I have in my asset table. What I am trying to do next is have the code display a currency formatted sum. So it would automatically sum all the sale prices in the assets table.

    What am I missing? I am racking my brain on this. I know it's something simple. Right now it just gives me that error.
    Click image for larger version. 

Name:	ov stats.JPG 
Views:	24 
Size:	24.2 KB 
ID:	34839

  2. #2
    Shadow9449 is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Feb 2017
    Posts
    38
    What happens when you expand that box so it can display more digits? It may not have enough room and thus showing it as an exponent.

  3. #3
    armyofdux is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2014
    Posts
    55
    Shadow that was it! Box just needed to be bigger... thanks!

  4. #4
    Shadow9449 is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Feb 2017
    Posts
    38
    Most welcome!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 12-11-2017, 06:20 AM
  2. Dashboard setup
    By anastam in forum Access
    Replies: 1
    Last Post: 07-12-2016, 12:00 PM
  3. Replies: 4
    Last Post: 05-29-2015, 09:36 AM
  4. Replies: 1
    Last Post: 09-27-2013, 03:53 PM
  5. Replies: 7
    Last Post: 09-13-2011, 01:38 PM

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