I am creating a database and i would like to assign a piece of code to a command button, so that when it is pressed it generated an automated value for a text box based on tick boxes on the forum.
I attempted to do something like the following:
Private Sub Command130_Click()
if...