PC Review


Reply
Thread Tools Rate Thread

Change the order of items in a report?

 
 
=?Utf-8?B?SmFtZXM=?=
Guest
Posts: n/a
 
      31st Aug 2006
I have a report (a purchase order) that is created from a form and a sub
form. The sub form contains my product number and quantities. The problem I
am having is when I go to my report the part numbers and quantities are not
in the order I listed them. For example today I made one up with two line
items of the same part number, the first line was 500 pieces and the second
was 300 pieces. On my report it came out with the 300 on top then the 500. I
thought maybe it was sorting by the quantities so to check I added another
line of 800 and then the 800 came out on top. How do I set this up to list
the first item first and so on?

Thank you,
James

 
Reply With Quote
 
 
 
 
ChrisM
Guest
Posts: n/a
 
      31st Aug 2006
If the order or items in your Purchase Order is important, you will need to
save 'LineNumber' or somthing like that in your table as well is
PurchaseOrderNumber
The database only guarantees to return items in a given order if they are
explicitly sorted in that order. There is certainly no guarantee that they
will be returned in the order they were entered...

Regards,

Chris.

"James" <(E-Mail Removed)> wrote in message
news9BD8397-B318-44B2-B01C-(E-Mail Removed)...
>I have a report (a purchase order) that is created from a form and a sub
> form. The sub form contains my product number and quantities. The problem
> I
> am having is when I go to my report the part numbers and quantities are
> not
> in the order I listed them. For example today I made one up with two line
> items of the same part number, the first line was 500 pieces and the
> second
> was 300 pieces. On my report it came out with the 300 on top then the 500.
> I
> thought maybe it was sorting by the quantities so to check I added another
> line of 800 and then the 800 came out on top. How do I set this up to list
> the first item first and so on?
>
> Thank you,
> James
>



 
Reply With Quote
 
fredg
Guest
Posts: n/a
 
      31st Aug 2006
On Thu, 31 Aug 2006 05:21:02 -0700, James wrote:

> I have a report (a purchase order) that is created from a form and a sub
> form. The sub form contains my product number and quantities. The problem I
> am having is when I go to my report the part numbers and quantities are not
> in the order I listed them. For example today I made one up with two line
> items of the same part number, the first line was 500 pieces and the second
> was 300 pieces. On my report it came out with the 300 on top then the 500. I
> thought maybe it was sorting by the quantities so to check I added another
> line of 800 and then the 800 came out on top. How do I set this up to list
> the first item first and so on?
>
> Thank you,
> James


Add a Date/Time field to your sub-table. Set it's Default Value
property to Now().

Each time a new record is created, the date and time will be saved for
that record as well.
In the Report, set the Report Sorting and Grouping dialog to sort on
this field.
Now when the report prints, the records will be in the order they were
created.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change order of items in a legend bmac Microsoft Excel Charting 1 11th Mar 2010 04:43 PM
Change the order of taskbar items... Rick Rogers Windows Vista General Discussion 1 2nd Nov 2008 12:21 AM
How do I change the order between fields and items in Pivot T? Sergio Hernandez Microsoft Excel Worksheet Functions 1 16th Oct 2008 05:50 AM
How to change the order of startup items =?Utf-8?B?TWljaGFlbA==?= Windows XP General 3 5th Aug 2007 08:18 AM
change the order of items on an invoice Christopher Glaeser Microsoft Access 5 20th Jun 2007 10:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:52 PM.