PC Review


Reply
Thread Tools Rate Thread

Displaying records in form view

 
 
Anne
Guest
Posts: n/a
 
      20th Apr 2009
When I scroll through records in form view they are not displaying in
chronological order. How do I correct this?
--
Anne
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      20th Apr 2009
Create a query that sorts your data chronologically, and use that query as
the RecordSource of your form.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Anne" <(E-Mail Removed)> wrote in message
news:ECBB7BB2-4E4B-469B-86FB-(E-Mail Removed)...
> When I scroll through records in form view they are not displaying in
> chronological order. How do I correct this?
> --
> Anne



 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      20th Apr 2009
Anne

Unless you tell Access what sort order to use, Access gets to decide.

A common solution is to use a query to return the fields you want displayed
in the form, based the form on the query, and put your sort order into the
query (i.e., sort on the date/time field for "chronological order").

?If your underlying table has no date/time field, how will Access "know" the
chronological order?

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Anne" <(E-Mail Removed)> wrote in message
news:ECBB7BB2-4E4B-469B-86FB-(E-Mail Removed)...
> When I scroll through records in form view they are not displaying in
> chronological order. How do I correct this?
> --
> Anne



 
Reply With Quote
 
Anne
Guest
Posts: n/a
 
      20th Apr 2009
Thanks Jeff,

I already had a query so I have added a sort order to the WorkorderID field
in the Work Order table. This is the key field in the table so now I hope
they will display in the order that they are created, which is what I was
aming for. I think the date field wouldn't have been so good because we
create my work orders on any given day so they may not have displayed as I
wanted. Looks okay at the moment but sometimes is was and sometimes it wasn't
before I added this control so I will wait and see. I guess that was a case
of Access making up its own mind. Thanks again.
--
Anne


"Jeff Boyce" wrote:

> Anne
>
> Unless you tell Access what sort order to use, Access gets to decide.
>
> A common solution is to use a query to return the fields you want displayed
> in the form, based the form on the query, and put your sort order into the
> query (i.e., sort on the date/time field for "chronological order").
>
> ?If your underlying table has no date/time field, how will Access "know" the
> chronological order?
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "Anne" <(E-Mail Removed)> wrote in message
> news:ECBB7BB2-4E4B-469B-86FB-(E-Mail Removed)...
> > When I scroll through records in form view they are not displaying in
> > chronological order. How do I correct this?
> > --
> > Anne

>
>
>

 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      20th Apr 2009
Anne

If you are saying you have an Autonumber field (for WorkorderID), it may not
always be sequential. Autonumbers are intended for use as a unique row
identifier, nothing else.

You would be better served by including a Date/Time field to which you write
the value of the current moment in time (hint: use Now()) when the record
gets created. Then sort on that.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Anne" <(E-Mail Removed)> wrote in message
news:52EAFD53-1F05-4899-8F65-(E-Mail Removed)...
> Thanks Jeff,
>
> I already had a query so I have added a sort order to the WorkorderID
> field
> in the Work Order table. This is the key field in the table so now I
> hope
> they will display in the order that they are created, which is what I was
> aming for. I think the date field wouldn't have been so good because we
> create my work orders on any given day so they may not have displayed as I
> wanted. Looks okay at the moment but sometimes is was and sometimes it
> wasn't
> before I added this control so I will wait and see. I guess that was a
> case
> of Access making up its own mind. Thanks again.
> --
> Anne
>
>
> "Jeff Boyce" wrote:
>
>> Anne
>>
>> Unless you tell Access what sort order to use, Access gets to decide.
>>
>> A common solution is to use a query to return the fields you want
>> displayed
>> in the form, based the form on the query, and put your sort order into
>> the
>> query (i.e., sort on the date/time field for "chronological order").
>>
>> ?If your underlying table has no date/time field, how will Access "know"
>> the
>> chronological order?
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Office/Access MVP
>>
>> "Anne" <(E-Mail Removed)> wrote in message
>> news:ECBB7BB2-4E4B-469B-86FB-(E-Mail Removed)...
>> > When I scroll through records in form view they are not displaying in
>> > chronological order. How do I correct this?
>> > --
>> > Anne

>>
>>
>>



 
Reply With Quote
 
Anne
Guest
Posts: n/a
 
      21st Apr 2009
Thanks, I will put the sort on my date field.
--
Anne


"Jeff Boyce" wrote:

> Anne
>
> If you are saying you have an Autonumber field (for WorkorderID), it may not
> always be sequential. Autonumbers are intended for use as a unique row
> identifier, nothing else.
>
> You would be better served by including a Date/Time field to which you write
> the value of the current moment in time (hint: use Now()) when the record
> gets created. Then sort on that.
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "Anne" <(E-Mail Removed)> wrote in message
> news:52EAFD53-1F05-4899-8F65-(E-Mail Removed)...
> > Thanks Jeff,
> >
> > I already had a query so I have added a sort order to the WorkorderID
> > field
> > in the Work Order table. This is the key field in the table so now I
> > hope
> > they will display in the order that they are created, which is what I was
> > aming for. I think the date field wouldn't have been so good because we
> > create my work orders on any given day so they may not have displayed as I
> > wanted. Looks okay at the moment but sometimes is was and sometimes it
> > wasn't
> > before I added this control so I will wait and see. I guess that was a
> > case
> > of Access making up its own mind. Thanks again.
> > --
> > Anne
> >
> >
> > "Jeff Boyce" wrote:
> >
> >> Anne
> >>
> >> Unless you tell Access what sort order to use, Access gets to decide.
> >>
> >> A common solution is to use a query to return the fields you want
> >> displayed
> >> in the form, based the form on the query, and put your sort order into
> >> the
> >> query (i.e., sort on the date/time field for "chronological order").
> >>
> >> ?If your underlying table has no date/time field, how will Access "know"
> >> the
> >> chronological order?
> >>
> >> Regards
> >>
> >> Jeff Boyce
> >> Microsoft Office/Access MVP
> >>
> >> "Anne" <(E-Mail Removed)> wrote in message
> >> news:ECBB7BB2-4E4B-469B-86FB-(E-Mail Removed)...
> >> > When I scroll through records in form view they are not displaying in
> >> > chronological order. How do I correct this?
> >> > --
> >> > Anne
> >>
> >>
> >>

>
>
>

 
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
Form not displaying records FBxiii Microsoft Access Forms 1 5th Feb 2010 11:16 AM
Information in 'form view' not displaying in 'table view'? gh05 Microsoft Access 6 4th Feb 2010 01:56 PM
Displaying existing records in form view from a query - table list c8tz Microsoft Access Forms 0 6th Oct 2008 06:53 AM
Lock single records on form set to Continuous Records Default View =?Utf-8?B?UGF0IERvb2xz?= Microsoft Access Form Coding 1 12th Oct 2007 07:58 PM
form not displaying records =?Utf-8?B?YmFicw==?= Microsoft Access Forms 1 19th Dec 2004 10:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:50 PM.