How do I maintain sequence in an Update Form?

G

Guest

My customer database uses autonum to create a unique key so I can add/update.
I have created a query sequencing by name (not a unique key), then a form
build on that query. But I cannot scroll thru the records alphabetically, it
reverts to sequence by the autonum field. How can I allow my users to browse
thru the file (next record / previous record) in sequence by the name?
 
G

Guest

Doug - Thanks for your response. The form is based on a query, and the
order-by is on the name field. Still does not allow me to scroll forward/back
using next record / previous record in sequence by the name. Sequence is
still the autonum value (I have that field in the query, but non-display). If
I execute just the query the records are in the correct sequence.
- Jim
 
R

Rick Brandt

jlwoods1 said:
Doug - Thanks for your response. The form is based on a query, and the
order-by is on the name field. Still does not allow me to scroll
forward/back using next record / previous record in sequence by the
name. Sequence is still the autonum value (I have that field in the
query, but non-display). If I execute just the query the records are
in the correct sequence. - Jim

Then your form must have an OrderBy property set that is overriding the sort of
the query. Just remove that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top