Tab Control

J

jseger22

Hi,

I have a tab control on a form set up with 2 pages. The first page
adds records to a table and the second page allows you to edit records
in the table. The problem I am having is that when I switch from
page1 to page2 the records that were in page1 get added to the table.
How do I limit the records to only be added when I press a command
button?

Thanks
 
K

Klatuu

You are creating a nightmare for yourself. Why not just use one form for
adding and editing?
 
J

jseger22

Well, because this is basically for tracking projects. I want certain
people to add projects with the first tab and the second tab will be
for people who can go see which projects are available and either
update them if they are complete or assign them to themselves if they
want to work on them. Do you know if an easier way of doing this?
Thanks.
 
K

Klatuu

I would use one form. In the Load event of the form, I would check to see
who the user is and what his permissions are, and set the AllowAdditions
property of the 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

Top