1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Yes I Have ANOTHER Access Question

Discussion in 'Business Applications' started by Kammmie, Sep 2, 2004.

Thread Status:
Not open for further replies.
Advertisement
  1. Kammmie

    Kammmie Thread Starter

    Joined:
    Aug 14, 2001
    Messages:
    132
    Here is my question:

    I created a table with a ton of information in it. I then created a form so I could enter new information into this table. In the form are some fields with formulas in them. When I enter new information into the form the fields with formulas in them are not calculating out and blanks are being left in those fields in the table or the value 0 appears. Any reason for this??? The information is calculated out in the form but not in the table.

    Kammmie
     
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    Putting formulas into a text box is not a good idea since I am sure most of the stuff is reseved for Access and SQL and will never display properly. You need to make anything that is in a text box that is a real formula literal by surrounding it in double or single quotes (not sure which) when they go into the table. Could you give us an example of what you are trying to enter?
     
  3. Kammmie

    Kammmie Thread Starter

    Joined:
    Aug 14, 2001
    Messages:
    132
    An example of the information I enter in the form is our cost and our customers cost ... the formula is then set up in the profit field to subtract our cost from the customers cost. It calculates out in the form and is still calculated out if I go in through the form but it is not calculated in the table and the table is what reports are drawn off of.
     
  4. Moxy1

    Moxy1

    Joined:
    Jun 24, 2001
    Messages:
    49
    As long as you have the actual cost and the customer cost in your tables there is no need to store this calculation in the table.

    To view the calculation, you would have a text box with a control source of,

    = [client cost] - [actual cost]

    This formula would then be used in any queries or report where you need to calculate your profit.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/269378

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice