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 / Forms / April 2008

Tip: Looking for answers? Try searching our database.

Printing Database Records in Specific Order

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
imcdavid@dmc.org - 15 Apr 2008 20:48 GMT
I have a delivery service which is composed of various routes.  The
route stops have been defined in database tables.  Route sheets are
printed based upon these tables.  However, I need to have the stops
print in an particular order/sequence; i.e. first stop, second stop,
etc. although these records are not in sequence order in their
table(s).  My problem is that I must manually assign a sequence number
to each stop and there may be a hundred or more stops on a route which
changes as stops are added or deleted which would effect the
sequencing.  How can I automate assigning a sequence number for
printing to each stop and have it automatically re-number the
sequencing as stops are added or deleted?  Will I need to write a
query sort?  Any suggestions will be appreciated.  Thank you!
Steve Schapel - 16 Apr 2008 00:10 GMT
Imcdavid,

Unless there is data already associated with the stops that determines
their order, you will need to add a field specifically for this purpose.

Managing this sorting field manually is really a very practical way of
handling it.  If you use numbers, they don't need to be sequential.  You
could start by numbering them 5 - 10 - 15 - 20 etc, which allows the
intermediate numbers to be used in the event of stops being added to the
routes.

Having said that, it would certainly be possible to write code that
would allow you to click on an 'up' or 'down' button to move a stop's
sequencing number higher or lower in the sort order.

Signature

Steve Schapel, Microsoft Access MVP

> I have a delivery service which is composed of various routes.  The
> route stops have been defined in database tables.  Route sheets are
[quoted text clipped - 8 lines]
> sequencing as stops are added or deleted?  Will I need to write a
> query sort?  Any suggestions will be appreciated.  Thank you!
 
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.