Data Enry Forms

D

dzirkelb

I want to create a form that enters data into a
table...but, I don't want the form to display all the
information of the table.

The form will have approximately 7 fields..the user will
add whatever data is present, click on a button to add
record, then the form will put the data entered into the
table.

I can accomplish this but I can't set the form to not
display the current records in the table.

Help! :)
 
R

Rick Brandt

dzirkelb said:
I want to create a form that enters data into a
table...but, I don't want the form to display all the
information of the table.

The form will have approximately 7 fields..the user will
add whatever data is present, click on a button to add
record, then the form will put the data entered into the
table.

I can accomplish this but I can't set the form to not
display the current records in the table.

Set the RecordSource of your form to a SQL statement like...

SELECT * FROM YourTableName WHERE 1 = 0

In the AfterUpdate event of the form put code...

Me.Requery.

You could just set the DataEntry property of the form to True, but this still allows
users to see previous records by removing all filters.
 
A

Al

Setting the data entry property to Yes worked for me!!
I had the same problem.
Thanks Rick
 

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