Hi,
I have a sub-form that is in the datasheet view, am using an Excel form to import the data after the import some of the AfterUpdate functions are being missed so I have made a button to call the AfterUpdate function.
The problem is that the button works but for only the selected line of the datasheet how can I make it update all the lines of data in the form.
The PartNumber_AfterUpdate is just looking up data for different fields and doing some calculations.
Here is the code;
Many Thanks
Karl
I have a sub-form that is in the datasheet view, am using an Excel form to import the data after the import some of the AfterUpdate functions are being missed so I have made a button to call the AfterUpdate function.
The problem is that the button works but for only the selected line of the datasheet how can I make it update all the lines of data in the form.
The PartNumber_AfterUpdate is just looking up data for different fields and doing some calculations.
Here is the code;
Code:
Private Sub Update_DblClick(Cancel As Integer)
Call PartNumber_AfterUpdate
End Sub
Many Thanks
Karl