Results 1 to 5 of 5
  1. #1
    Suzie2012 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    17

    form control errors

    Im creating a form to show how much money should be in our cash register based on invoices.


    On this form i have several fields, Service total, Products Total, and Concessions total.

    The Service total and Products Total Sums are on the same query. but the concessions is built in a separate query since its information is kept in a separate table.

    Im having issues putting issues putting the totals from both queries on the same form. if i build the form linked to the service totals, it wont show the concessions total, and vice versa. and if its not linked to either table then it wont fill any of the fields.

    Im using Macros and expressions, not VB

    If i create a macro to populate the field I'm getting the error message "The Object Doesn't Contain the Automation Object ..."

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    You could insert a subform based on the second query into the existing form. You could also use a DSum() in a textbox.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Suzie2012 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    17
    i figured out how to populate the unbounded txt boxes with the info i need, by use of macros, but now i cant get them to be shown ina currency format, i have changed the format for the txt box in the properties, but they are still showing as a general number and not a currency, any suggestions?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    How are you populating them? My guess is that something in the method is causing them to be seen as text.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Suzie2012 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    17
    Here is some pics of how im populating the fields. the value from the tables are set to currency
    Click image for larger version. 

Name:	ConcessionTickets.ConcessionTotal.png 
Views:	5 
Size:	9.9 KB 
ID:	7402Click image for larger version. 

Name:	DailySales.OnLoad.png 
Views:	5 
Size:	25.8 KB 
ID:	7403

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

Similar Threads

  1. Navigation Form Errors
    By need_help12 in forum Forms
    Replies: 22
    Last Post: 04-23-2012, 02:49 PM
  2. Replies: 3
    Last Post: 03-29-2012, 12:40 PM
  3. Replies: 2
    Last Post: 02-29-2012, 01:09 PM
  4. Replies: 10
    Last Post: 07-25-2011, 12:07 PM
  5. Replies: 1
    Last Post: 05-18-2011, 07:23 AM

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