Continuous forms

jamesd

Board Regular
Joined
Sep 22, 2003
Messages
220
How do I prevent the header data changing for each new entry in a continuous form.
I would like to enter the header data once and then each new record on the detail will take the data from the header .
The reason for this is I have a form that is limited to 10 records, the user enters his/her name and a ref number then fills in the 10 records , but the user and ref is the same for each record .

All this data needs to be recorded in a table

Hope this is not to confusing
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
You could use 2 tables and relate them,

Headers then stay in one table and the data stays in a separate table.

The relationship would be 1 to Many and you can then run queries etc to see the person and records from both tables.
 
Upvote 0
You could make the input fields unbound and once something has been entered in them they can be used for the default values of the new records.

By the way, why are you creating the 10 records/ids before any data has been entered?
 
Upvote 0
If the user and ref number is the same for all of the 10 records then your table structure is incorrectly set up and you should have a header table which would capture that information and then the rest of the non-repeating fields would be in a child table (using a subform). You should not be storing the same data over and over again for a set of records if it is always going to be the same like that.

See the Northwind database example and the relationship between Orders and Order Details for a guide on how that would work.
 
Upvote 0

Forum statistics

Threads
1,224,538
Messages
6,179,412
Members
452,912
Latest member
alicemil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top