G
Guest
How would you recognize when a row in a subform has been selected.
I have a form with a subform with a button that moves the selected item to
an other table using a SQL. I would like the button to be disenabled till a
row has been selected. Isn’t their a row selected propertied or is it a
method? I need help with my if statement. Don’t I need to qualify my subform?
Dim selected As Boolean
selected = False
if (frmNameSub row selected = true) then selected =true
else selected = false
cmdRemoveItem.Enabled = selected
Thank you,
Gus Chuchanis
I have a form with a subform with a button that moves the selected item to
an other table using a SQL. I would like the button to be disenabled till a
row has been selected. Isn’t their a row selected propertied or is it a
method? I need help with my if statement. Don’t I need to qualify my subform?
Dim selected As Boolean
selected = False
if (frmNameSub row selected = true) then selected =true
else selected = false
cmdRemoveItem.Enabled = selected
Thank you,
Gus Chuchanis