MontgomeryPete
Instructor
I received great help from Remou in the JET SQL/Queries forum and have now correctly calculated a value "fare" for each ride accepted. Normally, I wouldn't want to store calculated values in a database, but the auditors have decided that we need to save the results for audit purposes.
The subform is poplulated by a query. So I have attempted to update the fields from my subform:
However, I keep getting a syntax error. The sub is designed to run after the reservationist completes the order.
Thanks for helping.
Pete
The subform is poplulated by a query. So I have attempted to update the fields from my subform:
Code:
Private Sub Release_AfterUpdate()
UPDATE Ride SET Ride.Fare = Fare WHERE Ride.RideNo = [Forms]![frmSubscriptionRideDetail]![RideNo];
End Sub
However, I keep getting a syntax error. The sub is designed to run after the reservationist completes the order.
Thanks for helping.
Pete