kermitforney
Technical User
I am attempting to update a column for an entire recordset. I have the code to update the record that has focus, but not the entire record set.
Any and all help is greatly appreciated.
Thanks in advance,
Any and all help is greatly appreciated.
Thanks in advance,
Code:
Private Sub cmdForecastReset_Click()
Dim AvgShipped As Integer
Me![FrmRptBuyingForecasting_ItemData].SetFocus
Me![FrmRptBuyingForecasting_ItemData].Form![FutureForecast1].SetFocus
Me![FrmRptBuyingForecasting_ItemData].Form![Avg. Shipped last 4 weeks].SetFocus
AvgShipped = Me![FrmRptBuyingForecasting_ItemData].Form![Avg. Shipped last 4 weeks]
Me![FrmRptBuyingForecasting_ItemData].Form![FutureForecast1].Value = AvgShipped
End Sub