Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / November 2004

Tip: Looking for answers? Try searching our database.

different rates for diffrent categories

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zurghew - 30 Nov 2004 05:04 GMT
Hello all,

I have just created a database (partially) which will bill customers for
work done. However I am stuck when it is comes to different rates for
different works.

REQUIRED: What I intent to have is a form in which I will enter the customer
order no: and then in the subform choose the work done and then based on the
work input calculate the rates and have it billed to the customer. I have no
idea on how to have the rates calculated based on the type of work done and
the number of days.

The fields which will be filled are  'Type Of work'  done , also SubCategory
..such as whether ....'new job';  'edit an old job', 'destroy a job done',
'get help from outside' etc ....for each of these there are different rates.
New job for first day free and later on charged ....similarly editing job
chargable at a single rate for the first day ..then at a particular rate for
the next day.....destroy job done based on the days worked and no of
employees worked at constant rate.....External help done charges. Each
customer bill may also have all of the categories embedded in it.

Bill 100
-------
If work done for CustomerA is new job and for one day then charge A 120$.
Also,  work done is Edit job then charge XX based on number of days...etc
               Total invoice == Sum of all this.

Please help me out and do let me know if you are having any problems in
understanding.

Regards,
Z
PC Datasheet - 30 Nov 2004 15:04 GMT
The key here is in your statement "....different rates for different works".
You need to build tables to model this statement. But first you need to
analyze exactly what you are saying here. If there multiple works and any
work can have its own rate, albeit a single rate for that work, then you
need to include the rate in your Works table. Such as:
TblWork
WorkID
WorkDesc
Rate
If there are multiple works and any work may have multiple rates, you have a
one-to-many relationship and you need a separate work and rate tables such
as:

TblWork
WorkID
WorkDesc

TblRate
RateID
WorkID
<Something here to distinguish one rate from another for the same work>
Rate

--
                                       PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
                             resource@pcdatasheet.com
                                www.pcdatasheet.com

> Hello all,
>
[quoted text clipped - 28 lines]
> Regards,
> Z
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.