Anyone any ideas for the following:
I have a form which is used to allow the selection of a number of records. As each record is selected a number of calculated values are recorded to show total amount of stock delivered and total value of stock. I’ve got that all working – no problem…..
next……
I’m now attempting to write the total fields, along with some other information, to a table in another database. This should be recorded as a new record in a table.
My first attempt is as follows:
DoCmd.OpenTable “PODel”, acViewNormal
DoCmd.GoToRecord , , acNewRec
LotNum = Forms!LotPricing!LotNumber
PONum = Forms!LotPricing!PurchNo
DelQty = Forms!LotPricing!SumInvWeight
DelNum = Forms!LotPricing!DelNo
DelReviser = “Auto”
DelDate = Forms!LotPricing!DateBookedIn
LineID = Forms!LotPricing!RawID
DoCmd.RunCommand acCmdSaveRecord
DoCmd.Close acTable, “PODel”, acSaveYes
But it doesn’t append the record.
Any one give me a pointer to how I should approach this?
I guess I’m trying to produce, in effect, a transaction summary file
Any help appreciated