blocking recrds on conditional form

L

Luis

Hello.

Is it possible to, on conditional form, block the records where a certain
field (Field1) has the value true ?

The idea is to only allow users to enter data on recrds that Field1 = FALSE

Thanks

Luis
 
M

Marshall Barton

Luis said:
Is it possible to, on conditional form, block the records where a certain
field (Field1) has the value true ?

The idea is to only allow users to enter data on recrds that Field1 = FALSE


What is a "conditional form"?

What does "block the records" mean?

Taking a wild guess that you want to display all records,
but prevent any edits to records with Field1 = True, then
use a couple of lines of code in the form;s Current event
procedure:

Me.AllowEdits = Not Me.Field1
Me.AllowDeletions = Not Me.Field1
 
M

Marshall Barton

That makes it a very tricky problem.

How about disabling textbox2 instead of making it invisible?
You can use Conditional Formatting (Format menu) to disable
a text box on individual rows in a continuous form.
 

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

Similar Threads

Select Top 5 1
Update Query question 2
Search Code 1
Conditional Formatting on Subform 3
access form 1
Query Parameter using multiple options 0
Conditional Formatting? 3
Setting a Field to Empty 2

Top