Designing new database

J

Joker

I am currently designing a database to take the place of an Excel
spreadsheet. I am trying to store basic information about contracts. I am
new to database design having only done a few in college. I have started by
importing the Excel spreadsheet and the sort of working backwards from
there. I'm sure I will have lots of questions along the way, but here are
the ones that have stumped me for the moment:

1. I have the contracts divided into regions, divisions and the
subdivisions. I have a form for the user to fill out that has a combo box
for them to select the region and the division. What I would like to do is
if they select a region, it limits their choices of divisions.

2. I designed an identifier as part of a re-filing effort. The design is:

RegionID - DivisionID - SubdivisionID - ContractID (i.e. CA-500-0001-0001)

The reason behind the design was to sort the files first by region then by
division. The next part was little tricky in Excel, in each subdivision
there might be one contract or many. If there was just one, then the
project number would go up by one and the contract number would stay at
0001. If there were multiple contracts that made up a subdivision, then the
project would go up by one then remain the same and the contract number
would go up by one for each new contract. This way, you could group what
are called "assemblages" keeping all the different contracts together that
are connected to that particular subdivision. In Excel, I had a string of
if then statements that was based on the first few letters of the
subdivision and the number that pre- and proceeded the number. It was not
perfect but worked to some degree. Is there any way to somewhat automate
this identifier even if the contracts are entered at different times?

Thanks for your help on this.

James
 
J

Joker

J> I am currently designing a database to take the place of an Excel
J> spreadsheet. I am trying to store basic information about contracts.
J> I am
J> new to database design having only done a few in college. I have
J> started by
J> importing the Excel spreadsheet and the sort of working backwards
J> from
J> there. I'm sure I will have lots of questions along the way, but
J> here are
J> the ones that have stumped me for the moment:

J> 1. I have the contracts divided into regions, divisions and the
J> subdivisions. I have a form for the user to fill out that has a
J> combo box
J> for them to select the region and the division. What I would like to
J> do is
J> if they select a region, it limits their choices of divisions.

For item #1, I got this article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;209576

But I can not get past step nine. Is this not a copy paste operation?

James
 
J

John Nurick

The formatting of the details in Step 9 seems wrong to me: it should be
more like that in Steps 2 and 3. Where the article says
Combo Box 1:
-------------------------------
Name: cboCategorySelect
RowSourceType: Table/Query
RowSource: qryCategoriesList
ColumnCount: 2
ColumnWidths: 0";1"
BoundColumn: 1

etc. it wants you to put a combo box on the form and make the specified
settings in its Properties window.
 

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