If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Can an expression update a table, I know that in a form a query w.
I am trying to update a table using an expression in a form. The value comes
up correcly after all the data is entered. However, these fields do not show up in the corresponding table. I need to know how to update my table and still get the calculations correct. |
#2
|
|||
|
|||
See:
Calculated fields at: http://members.iinet.net.au/~allenbrowne/casu-14.html for an explanation of when and how to store a calculated result. -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "04Ram" wrote in message ... I am trying to update a table using an expression in a form. The value comes up correcly after all the data is entered. However, these fields do not show up in the corresponding table. I need to know how to update my table and still get the calculations correct. |
#3
|
|||
|
|||
In your query design you have to right mouse in the table area, select Query
Type and select 'update query' This is the tool to update the fields in a table based on your expression sample SQL UPDATE Table2 SET Table2.Cost = [qty]*[unit]; Table2 has fields qty, unit,. cost as well as id, description etc You can include a WHERE clause if you only want to update particular records. "04Ram" wrote in message ... I am trying to update a table using an expression in a form. The value comes up correcly after all the data is entered. However, these fields do not show up in the corresponding table. I need to know how to update my table and still get the calculations correct. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update a query to value in another table | Tim | Running & Setting Up Queries | 1 | August 13th, 2004 11:35 PM |
Using an append query with an update query | Joshua Schairbaum | Running & Setting Up Queries | 1 | July 15th, 2004 02:22 AM |
auto entry into second table after update | Tony | New Users | 13 | July 9th, 2004 10:42 PM |
Update another table with a Max record query | Ngan | Running & Setting Up Queries | 2 | June 22nd, 2004 05:01 PM |
surely a form with a ListBox can be used in a query? | 1.156 | Running & Setting Up Queries | 14 | June 2nd, 2004 04:54 PM |