G
Guest
I would like a certain button to be visible on a continuous subform only if a
combobox on the same continuous form is a certain value. I know how to test
for the value in the combobox, and I know how to make the form
visible/invisible. I don't know what event to fire this procedure from
though. Obviously, it will have to be fired on the AfterUpdate event of the
combobox in question, but what about when the form first loads, or when the
selected record in the main form changes?
When this button is clicked I would like a new record to be created in the
subform with the same values for each control as the record the button was
clicked from. How do you do this in code? Remember, this is on a continuous
subform (I don't know if that makes a difference).
Dave
combobox on the same continuous form is a certain value. I know how to test
for the value in the combobox, and I know how to make the form
visible/invisible. I don't know what event to fire this procedure from
though. Obviously, it will have to be fired on the AfterUpdate event of the
combobox in question, but what about when the form first loads, or when the
selected record in the main form changes?
When this button is clicked I would like a new record to be created in the
subform with the same values for each control as the record the button was
clicked from. How do you do this in code? Remember, this is on a continuous
subform (I don't know if that makes a difference).
Dave