I have an unbound text box in the form header that with an afterupdate event, requeries the form details.
Within the body of the form, I have a calculated control that counts the number of records that are found with similar criteria to the form header control.
How do I make visible the navigation buttons if the record count is greater than 1.
I have tried to code it to the afterupdate event of the unbound text box in the form header with the following:
if me.count.value = >1 then
me.navigationbuttons.visible = true
else
me.navigationbuttons.visible = false
end if
end sub
but it doesn't work.
How would I do it?
Within the body of the form, I have a calculated control that counts the number of records that are found with similar criteria to the form header control.
How do I make visible the navigation buttons if the record count is greater than 1.
I have tried to code it to the afterupdate event of the unbound text box in the form header with the following:
if me.count.value = >1 then
me.navigationbuttons.visible = true
else
me.navigationbuttons.visible = false
end if
end sub
but it doesn't work.
How would I do it?