View Single Post
  #2  
Old May 20th, 2010, 02:00 PM posted to microsoft.public.access.forms
Al Campagna[_2_]
external usenet poster
 
Posts: 1,462
Default Problem Printing A record

Brian,
I have a problem with printing a record with a sub-form section.

I take it you developed a report to print the specific Quote?

How are your subform records sorted?
(According to your sample data... AlphaNum sorting is not indicated)
You say that they always "display" in the correct order... then that
sorting should work for your report too.

In reports, Sorting is handled through the Sorting & Grouping
dialog box, in report design mode. Sorting in the reports query is always
over-ridden by the S&G.

If each of the subform records had an autonumber ID field, then
sorting on that value would always insure that they sort in the order
they were entered. (another method would be to date & timestamp
each quote item entry, and sort on that)
--
hth
Al Campagna
Microsoft Access MVP 2007-2009
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."

"Brian" wrote in message
...
Hello Experts

I have a problem with printing a record with a sub-form section.

I have a "Quotation" form I print and send to customers.

The form incorporates a "Product Detail" subform with a line by line
description of services and cost.

When I select and print the record, the Product Details are not always in
the same order as they appear in display. I have tried fiddling with
Sorting
& Filters and sometimes I can get the record to print as it appears but I
am
not sure what triggers the problem or the solution.

Here is a typical example:
Quotation
Sand Down And re-Hang Doors:
Court Room 1 £350
Court Room 2 £350
Court Room 3 £400
Court Room 4 £420

When Printed
Quotation
Court Room 4 £420
Sand Down And re-Hang Doors:
Court Room 1 £350
...etc

Dosen't appear to follow any particular pattern that I can see and worse
it
seems random, some records print fine others get jumbled.

The databse has multiple users so perhaps someone is doing something they
shouldn't?

Would dearly appreciate your comments.
Brian



Court Room