G
Guest
Hi
We have a form which updates a table once the submit button is clicked. We
would like to add a queries SQL onto this button so once the records are
updated then the query will also run.
The following is the SQL we have from the query we have built and would like
to use.
INSERT INTO Tbl_BuyersAuthorityKC ( Keycode, Style, Description, Net, GST,
Total, Quantity )
SELECT Tbl_BuyersAuthorityKC_Temp.Keycode, Tbl_BuyersAuthorityKC_Temp.Style,
Tbl_BuyersAuthorityKC_Temp.Description, Tbl_BuyersAuthorityKC_Temp.Net,
Tbl_BuyersAuthorityKC_Temp.GST, Tbl_BuyersAuthorityKC_Temp.Total,
Tbl_BuyersAuthorityKC_Temp.Melb
FROM Tbl_BuyersAuthorityKC_Temp;
We are hoping someone will know how to transfor this SQL code so it will run
once the button is clicked.
Thanks
We have a form which updates a table once the submit button is clicked. We
would like to add a queries SQL onto this button so once the records are
updated then the query will also run.
The following is the SQL we have from the query we have built and would like
to use.
INSERT INTO Tbl_BuyersAuthorityKC ( Keycode, Style, Description, Net, GST,
Total, Quantity )
SELECT Tbl_BuyersAuthorityKC_Temp.Keycode, Tbl_BuyersAuthorityKC_Temp.Style,
Tbl_BuyersAuthorityKC_Temp.Description, Tbl_BuyersAuthorityKC_Temp.Net,
Tbl_BuyersAuthorityKC_Temp.GST, Tbl_BuyersAuthorityKC_Temp.Total,
Tbl_BuyersAuthorityKC_Temp.Melb
FROM Tbl_BuyersAuthorityKC_Temp;
We are hoping someone will know how to transfor this SQL code so it will run
once the button is clicked.
Thanks