Read only form? one control not read only?

B

Brook

I have 2 command buttons a switchboard to open my frmorders, one in edit mode
and one in preview mode.

However, I have a cbolookup box that I use to lookup orders that I don't
want read-only when I am in preview mode, how do I go about doing that?

Here is my current code:

Private Sub Command9_Click()
DoCmd.OpenForm FormName:="frmOrders", DataMode:=acFormReadOnly ',
WindowMode:=acDialog
End Sub

Thanks,

Brook
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top