I'm developing a simple database app which uses a continuous form displaying multiple records at a time.
What I want to be able to do is control some of the objects on each detail display. For example, I want a button to be active (or maybe made visible) depending on a value in the record.
The Section: Detail doesn't give me any events I can attach anything to so I had a look at the form's On Current event, trying code such as
if SomeValue = 1 then
btnTest.enabled = true
btnTest.enabled = false
but that sets ALL instances of btnTest (it's in the detail section) to the same state (I assume, depending on the last test it performed).