Van I have seen a lot of requests for this"UI" feature lately.
Personally I do not agree with this functionality, that is the
appearance/disappearance of controls on a per row basis. THe accepted
norm is to Enable/Disable per row which I feel is the correct UI and
easily accomplished using COnditional Formatting.
Anyhow, there is sample code showing how to achieve the OP's original
request. It's not perfect but it is as close as I could get. The sample
form is named "ShowHideControls". It uses a TextBox and CF to produce a
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Van T. Dinh" <VanThien.DinhPlseUseNewsgroup.bigpond.com> wrote in
message news:#NGy9kbTDHA.1916TK2MSFTNGP12.phx.gbl...> It is not possible with the standard Access features, AFAIK.
> Van T. Dinh
> MVP (Access)
> "rick allison" <allisonrjahotmail.com> wrote in message
> news:036e01c34d69$d073a310$a301280aphx.gbl...>> > How does one reference a single line in a continuous form?
> > I have a continuous form and for each line I want to
> > display a control (button) or not display it based on
> > data. If a condition is true for that line I want to
> > display a button that allows the user to print a report.
> > If the condition is false I want to hide the button.
> > There will be multiple lines on the form.
> > When I try now I end up hiding or showing all buttons on
> > the form because I code me!btnPrint.visibile = false/true
> > and doing that affects all buttons.
> > Thanks,
> > Rick