I have 2 tables
table1
id-auto
amount-number
rest-number
table2
id-auto
id_table1-number
qty-number
First table it's related with second table 1 to many.
I add an record to table 2 and what i want it's to automaticaly if it's posible to update the rest from the first table
I'm using Access Forms to add a record, and i want to make a querry that updates the value in the first table.
sum(qty) group by id_table1 should go to rest in table1.
Couldnt find an elegant solution other then codding the update.
________
George, M
table1
id-auto
amount-number
rest-number
table2
id-auto
id_table1-number
qty-number
First table it's related with second table 1 to many.
I add an record to table 2 and what i want it's to automaticaly if it's posible to update the rest from the first table
I'm using Access Forms to add a record, and i want to make a querry that updates the value in the first table.
sum(qty) group by id_table1 should go to rest in table1.
Couldnt find an elegant solution other then codding the update.
________
George, M