G
Guest
Hello Newsgroup. I have a dilemma regarding referencing a subform to a
subform in an expression. Below is the expression and it is not working
properly. This expression is in a textbox on a subform that needs to count
how many comments there are based on the other subform (which is the foreign
key in the subform the expression is in.
=DSum("[VehicleMaintenanceCommentID]","[tblVehicleMaintenanceComment]","[VehicleMaintenanceID] = sfrmVehicleMaintenanceSubform.Form!VehicleMaintenanceID")
I thank anyone who responds to this.
..... John
subform in an expression. Below is the expression and it is not working
properly. This expression is in a textbox on a subform that needs to count
how many comments there are based on the other subform (which is the foreign
key in the subform the expression is in.
=DSum("[VehicleMaintenanceCommentID]","[tblVehicleMaintenanceComment]","[VehicleMaintenanceID] = sfrmVehicleMaintenanceSubform.Form!VehicleMaintenanceID")
I thank anyone who responds to this.
..... John