Re: Subform changes record order after edits
- From: "Wayne Morgan" <comprev_gothroughthenewsgroup@xxxxxxxxxxx>
- Date: Sat, 17 Sep 2005 07:43:28 -0500
Did you specify a sort order in the query? To do so, pick the fields you
want sorted and set the to Ascending or Descending in the Sort row of the
query design grid. The columns will be sorted in the order you have them
listed from left to right. If you don't specify a sort order, there is no
restriction on what order the records will be returned.
--
Wayne Morgan
MS Access MVP
"Gary" <Gary@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0668973E-12E3-4D02-A0FC-C0BB681C3314@xxxxxxxxxxxxxxxx
>I have continuous form subform "sfrmProductComponents on a mainform
> "Products" to enter/view Product details. The subform is based on a query
> joining several tables. I have a combo box which selects
> ComponentsCategories and displays a dialog form via the afterUpdate event
> to
> filter/Select a Component. There are other fields such as Quant, extended
> price etc.
>
> All is working well, however while testing the subform by changing
> category
> and component choices and varifying results, I noticed that the displayed
> records in sfrmProductComponents will randomly change order. All data
> seems
> accurate, the records just shift order. I have looked at the subform
> query
> and the datalist does not change relative order.
>
> I am new to Access and curious as to why this behavior is occuring. I
> would
> appreciate anyone's comments and recommendations.
>
> Thanks Gary
>
.
- Follow-Ups:
- Re: Subform changes record order after edits
- From: Gary
- Re: Subform changes record order after edits
- Prev by Date: Percent Position - Access 2k
- Next by Date: Re: Populate fields on one form with values from another form
- Previous by thread: Percent Position - Access 2k
- Next by thread: Re: Subform changes record order after edits
- Index(es):
Relevant Pages
|