Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

access vba courses - subforms

Forum home » Delegate support and help forum » Microsoft Access Training and help » access vba courses - Subforms

access vba courses - Subforms

ResolvedVersion Standard

Peter has attended:
Access Introduction course
Access Intermediate course
Access Advanced course

Subforms

I've created a form with just a customer name as a combo box. I then created a subform related to the customer orders.

On opening the screen i can add new order data for the first customer but when i select another customer and try add new order information I get the error that i'm trying to add duplicate data before i even type in the order information. Any idea what i'm doing wrong?

Is a subform only for browsing?

RE: Subforms

Hi Peter

You should be able to input data within the subform. I suggest you go over the SQL that you are using for you queries just to make sure that there are no errors in it.

Hopw this helps
David

Access tip:

Switchboard Startup

An option when you open your Access database that contains all of you tables, forms and queries is only the switchboard is displayed.

To achieve this, select Tools click on Startup. On the right hand side of the Startup screen you are able to select which form you want to open when you open you Access Database. Once you have selected this, there is a check box just below that says "Display Database Window", you need to uncheck this option. Then click ok.

Then when you close you Access database and re open it, the database should open with just the switchboard being shown


View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.