Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Make drop-down field read only in report

Discussion in 'Information Technology' started by Matt, Jul 28, 2006.

  1. Matt

    Matt
    Expand Collapse
    Guest

    How do I make a drop-down combo box read only or uneditable in a report? I
    don't see a readOnly property and I don't think disabled is the right one.
     
  2. Loading...


  3. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    Matt wrote:
    > How do I make a drop-down combo box read only or uneditable in a
    > report? I don't see a readOnly property and I don't think disabled
    > is the right one.


    Um, everything is read only in a report. If you meant to say "form" then
    you can use a combination of Enabled and Locked.

    Enabled = No + Locked = No
    Will produce a read only control that is grayed out and cannot receive
    focus.

    Enabled = Yes + Locked = Yes
    Will produce a read only control that is not grayed out and which can
    receive focus.

    Enabled = No + Locked = Yes
    Will produce a normal looking control that is both read only and unable to
    receive focus.

    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com
     
  4. Matt

    Matt
    Expand Collapse
    Guest

    Sorry haha,

    I meant to say Data Access Page. In the DAP I don't see an enabled or
    locked field.

    Thanks,
    Matt


    "Rick Brandt" wrote:

    > Matt wrote:
    > > How do I make a drop-down combo box read only or uneditable in a
    > > report? I don't see a readOnly property and I don't think disabled
    > > is the right one.

    >
    > Um, everything is read only in a report. If you meant to say "form" then
    > you can use a combination of Enabled and Locked.
    >
    > Enabled = No + Locked = No
    > Will produce a read only control that is grayed out and cannot receive
    > focus.
    >
    > Enabled = Yes + Locked = Yes
    > Will produce a read only control that is not grayed out and which can
    > receive focus.
    >
    > Enabled = No + Locked = Yes
    > Will produce a normal looking control that is both read only and unable to
    > receive focus.
    >
    > --
    > Rick Brandt, Microsoft Access MVP
    > Email (as appropriate) to...
    > RBrandt at Hunter dot com
    >
    >
    >
    >
     

Share This Page