Results 1 to 4 of 4
  1. #1
    MarcoRed is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Location
    Cambodia
    Posts
    8

    "You can't Assign a value to this object."


    Hi! Everybody! I'm Delighted to be here. Today I have a Problem and i unable to solve it.
    I have Create a Form that Related to Products (I already have Table that connected to that form). These are the Following Texts I have Create:
    Product ID: 1
    Product Name: Hard Disc
    Quantity: 5 units
    Unit Price: $30.00
    Total: $150.00
    Above, is the text that I have created in a Form of Access. The Problem is That When I try to Total Quantity and Unit Price. So I go to Control Source of Total box (in property sheet), in Total Control Source I type:
    =[txtquantity]*[txtprice]
    Then I Clicked Ok, and Save. And Then I click "Form View". I opened in Form View. But when I try to clicked on any Navigation Button (like Next, Previous, First, Last ect...), A Pop up Message Appeared "Microsoft Office Access: You Can't assign a value to this object."
    (please try to understand)


    Thanks in Advance!!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Your form should be based on a query of that table and the Total field should not be in the table. Instead, do the calculation in the query and then simply display the results on your form.

  3. #3
    MarcoRed is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Location
    Cambodia
    Posts
    8
    Oh! Thank You so much! I forgot about this! You Reminded me!

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You're welcome. Are you ready to mark this thread as Solved?

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

Similar Threads

  1. Replies: 1
    Last Post: 04-10-2012, 08:48 AM
  2. Replies: 0
    Last Post: 02-20-2012, 04:57 PM
  3. Replies: 0
    Last Post: 01-11-2012, 12:34 PM
  4. "Invalid Database Object Reference"
    By jgelpi16 in forum Queries
    Replies: 4
    Last Post: 06-28-2011, 06:39 AM
  5. Replies: 9
    Last Post: 05-19-2011, 12:08 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