N
Nando
Hi all! I need help creating a query that allows me to edit a field on the
grid.
I'm in query design view and I import the table ORDERS and the query
QRY_SUMOF_ORDERDETAILS as a subquery. I joined the PK of table with the FK
of subquery. The field I would like to edit is Comment, located on the
one-side of the relation. The many-side is the subquery
(QRY_SUMOF_ORDERDETAILS), which is just a query that groups and sums the
related (many-side) records of the table ORDERDETAILS. The final result of
this subquery is one record per each ORDER.
I want to be able to edit the Comment field. But I'm unable to do so, the
machine just beeps. Any help would be appreciated. Below the table layout.
ORDERS (order's header / one-side)
fields: OrderPK | Client | Comment |
ORDERDETAILS (details of orders / many-side)
fields: OrderFK | Itemname | Total
So what I want is a query that outputs:
OrderPK | Client | Comment | SumOfTotal
and being able to edit the Comment field.
grid.
I'm in query design view and I import the table ORDERS and the query
QRY_SUMOF_ORDERDETAILS as a subquery. I joined the PK of table with the FK
of subquery. The field I would like to edit is Comment, located on the
one-side of the relation. The many-side is the subquery
(QRY_SUMOF_ORDERDETAILS), which is just a query that groups and sums the
related (many-side) records of the table ORDERDETAILS. The final result of
this subquery is one record per each ORDER.
I want to be able to edit the Comment field. But I'm unable to do so, the
machine just beeps. Any help would be appreciated. Below the table layout.
ORDERS (order's header / one-side)
fields: OrderPK | Client | Comment |
ORDERDETAILS (details of orders / many-side)
fields: OrderFK | Itemname | Total
So what I want is a query that outputs:
OrderPK | Client | Comment | SumOfTotal
and being able to edit the Comment field.