View Single Post
  #1  
Old May 4th, 2010, 04:58 PM posted to microsoft.public.access.forms
einstein1221
external usenet poster
 
Posts: 1
Default subform problems

I have a database that has a form for purchase orders. It auto-generates a
purchase order number. The user types in customer information. The form also
has a subform on it for details on parts. There is a one to many relationship
between subform and form using the purchase order number. The subform also
generates an id # as its key. The problem that I am having is when the form
is saved, the subform saves in reverse order of the way it is typed in. Where
this causes problems is in the printing of the report that serves as the
actual purchase order...It prints the reverse order. How do I either change
the order the subform fields print, or have the fields saved in order they
are typed. I am newer to coding so simplicity is appreciated. Here are the
fields I am using for subform:
potransid.......autogenerated key
po#
qty
item
cost
Thanks in advance for your help!