473,395 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

MS Access 2003 - Table Design Advice

Hi there,

I am currently redesigning a database, which includes a contracts table that captures information about each contract e.g.

ContractID (PK)
ContractReference
ContractTypeID (FK)
DateCommissioned
JobTitle
StartDate
FinishDate
ContractLength
Rate
RateTypeID (FK)
Quantity (hours/days)
Expenses
ExpensesType (FK)
ClientContactID (FK)
TrainerID (FK)
ContractClient (FK)
VenueID (FK)


The query I have is related to future invoicing. If I have a contract that lasts 6 months, but I am required to invoice for it every week - what would be the best way to design the table? The only thing that may change is the venue and the number of days worked in that period e.g. week. Would it be better to create a new contract for each week/fortnight/month I am due to send an invoice? Or is there another way

I will have a separate table called Invoicing, where I will capture the invoice number, date, calculate the payment due date, sent checkbox, payment terms, calculate the invoicetotal based on the contract length and the days/hours worked per day - if that makes any sense...

help! As you can tell I'm a little confused about the layout so any suggestions would be most appreciated :)
Dec 10 '06 #1
10 2081
NeoPa
32,556 Expert Mod 16PB
This is too complicated a question for a simple answer.
Only you know the whole situation well enough to make the final decision (I'm not going to get into this to the depth I would need to to answer your question for you - that would be too much). Someone else may still though.
I can provide a link (How to structure your tables) and some more general advice :
When you're thinking of table structure, create any table that you think will make life easier for you. Life is made harder when trying to shoehorn data into an innappropriate table structure. Normally if you have to repeat (non-key) data in multiple records that would indicate your table structure could be better.
Dec 10 '06 #2
Thanks for that. I'll have a read and see how I can restructure. I didn't want you to tell me the actual structure, just some advice, so I'll look at how I can simplify it all.

I think my problem is that I am trying to automate too much. I'll have a rethink about what information is absolutely vital and can be generated and what can be inserted manually.

Thanks
Dec 10 '06 #3
MMcCarthy
14,534 Expert Mod 8TB
Thanks for that. I'll have a read and see how I can restructure. I didn't want you to tell me the actual structure, just some advice, so I'll look at how I can simplify it all.

I think my problem is that I am trying to automate too much. I'll have a rethink about what information is absolutely vital and can be generated and what can be inserted manually.

Thanks
You will need a separate table to store generated invoices. You will also need a field to store the week/fortnight/month value in your contracts table. I would make this a look up field to avoid errors in user entry.

You will then have to generate your invoices based on a query which examines the values in your contracts table. Automating this would require vba code.

Mary
Dec 10 '06 #4
NeoPa
32,556 Expert Mod 16PB
Mary,

Desperately trying to avoid working still then (:D)?

-Ade,
Dec 10 '06 #5
MMcCarthy
14,534 Expert Mod 8TB
Mary,

Desperately trying to avoid working still then (:D)?

-Ade,
I was in the middle of trying to correct someone elses code where they had designed the query for the record source of a report in vba. It was long, complicated and kept throwing errors of various types. I got fed up and took a break for a while. Went back and got it working eventually. Now I'm taking a break to celebrate. :D

Mary
Dec 11 '06 #6
NeoPa
32,556 Expert Mod 16PB
I was in the middle of trying to correct someone elses code where they had designed the query for the record source of a report in vba. It was long, complicated and kept throwing errors of various types. I got fed up and took a break for a while. Went back and got it working eventually. Now I'm taking a break to celebrate. :D

Mary
Good for you Mary.
I'll catch up with you tomorrow when you've passed the 2,000 barrier ;).

-Ade.
Dec 11 '06 #7
MMcCarthy
14,534 Expert Mod 8TB
Good for you Mary.
I'll catch up with you tomorrow when you've passed the 2,000 barrier ;).

-Ade.
I mightn't wait until tomorrow Ade.

Maybe you should stay up all night. :D

Mary
Dec 11 '06 #8
Thanks alot Mary, that's helped alot. Have a great evening.
Dec 17 '06 #9
MMcCarthy
14,534 Expert Mod 8TB
Thanks alot Mary, that's helped alot. Have a great evening.
You're welcome Atheana

Mary
Dec 17 '06 #10
NeoPa
32,556 Expert Mod 16PB
I think my problem is that I am trying to automate too much. I'll have a rethink about what information is absolutely vital and can be generated and what can be inserted manually.

Thanks
Antheana,

You'd be surprised at how much you can automate in Access. I think the goal should be to automate where possible/practical. We can help you there, I'm sure.
Dec 17 '06 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: Jeff | last post by:
Ok. I am creating a table in an access DB based on a form submission. This works fine. The problem I am having is, if there is a space in the submission. For example.... someone submits "The...
5
by: anthonyberet | last post by:
I work for an organisation that uses a bespoke document imaging system, the database of which is an MS sql server. We have MS Access and already use it for some querying of the database. The...
2
by: John C | last post by:
I am trying to develop a access database version 2002 from scratch and I am a novice programmer and need much direction. I have been researching and studying about relational database design and...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
16
by: Andy_Khosravi | last post by:
I'm in a bit of a pickle. My employer, a health insurance firm, had me design a small database to track benefit issues. The intended users were technical specialists and some managers (about 90...
9
by: Neil | last post by:
We have an Access 2000 MDB with a SQL 7 back end. We are upgrading SQL Server to SQL 2005, and are considering upgrading to Access 2003. Someone mentioned that they had heard about some...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Not sure if I quite follow that. 1....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.