Re: Read only form, still want to be able to use cbosearch box
- From: "tina" <nospam@xxxxxxxxxxx>
- Date: Sun, 04 Dec 2005 01:52:32 GMT
try
DoCmd.OpenForm FormName:="frmOrders", WindowMode:=acDialog
Forms!frmOrders.RecordsetType = 2
"2" is the code for Snapshot (refer to Rick's post elsewhere in this
thread).
hth
"Brook" <Brook@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B8BFF215-213E-4A05-9791-DA43C4907037@xxxxxxxxxxxxxxxx
> Thanks Rick,
>
> would I modify this section of code:
>
> DoCmd.OpenForm FormName:="frmOrders", DataMode:=acFormReadOnly ',
> WindowMode:=acDialog
>
> or do I need to modify each field within my form?
>
> Brook
>
> "Rick Brandt" wrote:
>
> > Brook wrote:
> > > Marshall,
> > >
> > > the problem I have having is that my lookup doens't work, it will
> > > show the records that I am trying to go to, but won't let me choose a
> > > record for the form to "goto"?
> >
> > You are apparently making the form read only by using AllowEdits =
False. That
> > will also make unbound controls like your ComboBox read only. Instead
you could
> > make the form read only by setting the RecordSourceType to Snapshot.
That will
> > not affect your ComboBox.
> >
> > --
> > I don't check the Email account attached
> > to this message. Send instead to...
> > RBrandt at Hunter dot com
> >
> >
> >
.
- References:
- Re: Read only form, still want to be able to use cbosearch box
- From: Marshall Barton
- Re: Read only form, still want to be able to use cbosearch box
- From: Rick Brandt
- Re: Read only form, still want to be able to use cbosearch box
- Prev by Date: Re: Defining Prodecures
- Next by Date: Re: Compile Error Help
- Previous by thread: Re: Read only form, still want to be able to use cbosearch box
- Next by thread: Re: Read only form, still want to be able to use cbosearch box
- Index(es):
Relevant Pages
|