Hello,
I have a form that has 3 fields, Mile_In, Mile_Out and TotalMiles, where TotalMiles = Mile_Out - Mile_In. Unfortunately the database was set up with TotalMiles as a field in the database.
On the Properties, TotalMiles is a Control Source linked directly to the field in the database.
Is there a way that I can still have TotalMiles as a Control Source and have it automatically calculate? For instance, under default value have
=[MILE_Out]-[MILE_In]
When I have this it won't update the field. The user has to manually enter in Total Miles. How do I get TotalMiles to automatically update once Mile_In and Mile_Out have been entered?
Thanks
I have a form that has 3 fields, Mile_In, Mile_Out and TotalMiles, where TotalMiles = Mile_Out - Mile_In. Unfortunately the database was set up with TotalMiles as a field in the database.
On the Properties, TotalMiles is a Control Source linked directly to the field in the database.
Is there a way that I can still have TotalMiles as a Control Source and have it automatically calculate? For instance, under default value have
=[MILE_Out]-[MILE_In]
When I have this it won't update the field. The user has to manually enter in Total Miles. How do I get TotalMiles to automatically update once Mile_In and Mile_Out have been entered?
Thanks