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 2 / January 2008

Tip: Looking for answers? Try searching our database.

Is it possible to + x - and so on in Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bocker - 28 Jan 2008 18:33 GMT
Previusly I have worked with Lotus Approch - There it is possible to do a
littel bit like in a spread sheet.

Lets say I want to make a small application, where I bill a customer for to
different products - I want to be able to make a line for each product and to
put in how many peaces - this should then give me the total for each line,
and a total for every thing on the to lines. Then I want to ad tax etc.

Can this be done or do I have to continue with Lotus Approch ?

Sincerely
Jesper
Pat Hartman - 28 Jan 2008 18:42 GMT
Yes it can be done but probably not the same way you are doing it in
Approach.  Access is a relational database and so good practice would
dictate calculating totals rather than storing them.  To have an extended
total for each line item, add an expression to the query to calculate it.
Select ItemID, Quantity, UnitPrice, Quantity * UnitPrice AS ExtendedPrice
From yourtable;

Store the tax rate in a lookup table. and add it to the Order Header when
the order is created:

Me.TaxRate = DLookup("TaxRate","tblTax","EffectiveDate <= Date() AND
ExpirationDate >= Date()")

In your report, you can create the final total and show the tax etc.

> Previusly I have worked with Lotus Approch - There it is possible to do a
> littel bit like in a spread sheet.
[quoted text clipped - 10 lines]
> Sincerely
> Jesper
John W. Vinson - 28 Jan 2008 19:04 GMT
>Previusly I have worked with Lotus Approch - There it is possible to do a
>littel bit like in a spread sheet.
[quoted text clipped - 5 lines]
>
>Can this be done or do I have to continue with Lotus Approch ?

This can certainly be done, using an Access Report's Sorting and Grouping
feature and queries.

If you're expecting to do it in exactly the same way as you're used to doing
in Approach, you'll be disappointed. Access is its own program, not a flawed
implementation of Appoach; you'll need to step back a bit from "how this is
always done" and learn a new approach. <sorry>

            John W. Vinson [MVP]
 
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.