A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sorting - Dumb question



 
 
Thread Tools Display Modes
  #1  
Old August 30th, 2006, 02:14 PM posted to microsoft.public.access.forms
aMack
external usenet poster
 
Posts: 71
Default Sorting - Dumb question

We copy data from a spreadsheet provided by a customer and paste into a
subform within Access.

The issues are that data is being moved.?!..??

Dumb Question: If a user sorts on the subform, does Access automatically
sort all data within the records. - No chance it moves some fileds and not
others?

--
A MACKENZIE, CMA, MBA
  #2  
Old August 30th, 2006, 02:21 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default Sorting - Dumb question

You should not copy/paste into Access from Excel, particularly a form. You
are asking for trouble and will undoubtedly create problems.
Use the TransferSpreadsheet Action or Method to copy the data from the
spreadsheet into your table.

"aMack" wrote:

We copy data from a spreadsheet provided by a customer and paste into a
subform within Access.

The issues are that data is being moved.?!..??

Dumb Question: If a user sorts on the subform, does Access automatically
sort all data within the records. - No chance it moves some fileds and not
others?

--
A MACKENZIE, CMA, MBA

  #3  
Old August 30th, 2006, 03:09 PM posted to microsoft.public.access.forms
ManningFan
external usenet poster
 
Posts: 157
Default Sorting - Dumb question

I'm not sure if you're asking the right question. Are you talking
about FIELDS, or RECORDS? Access will initially put the data records
in whatever order you feed it, so the order you paste it into your
subform is the order it's going to keep unless it's sorted later on.

Not knowing what your subform does, I can't give a completely valid
answer. It's possible the person who designed it also added code to
sort the data.

Aside from that, you should follow Klaatu's advice.

aMack wrote:
We copy data from a spreadsheet provided by a customer and paste into a
subform within Access.

The issues are that data is being moved.?!..??

Dumb Question: If a user sorts on the subform, does Access automatically
sort all data within the records. - No chance it moves some fileds and not
others?

--
A MACKENZIE, CMA, MBA


  #4  
Old August 30th, 2006, 04:20 PM posted to microsoft.public.access.forms
Dirk Goldgar
external usenet poster
 
Posts: 1,164
Default Sorting - Dumb question

"aMack" wrote in message

We copy data from a spreadsheet provided by a customer and paste into
a subform within Access.

The issues are that data is being moved.?!..??

Dumb Question: If a user sorts on the subform, does Access
automatically sort all data within the records. - No chance it moves
some fileds and not others?


Unlike Excel, Access always sorts records, not just columns. So if the
records in your subform are sorted, the sort will never move (sort) some
fields and not others.

What do you mean by "data is being moved"? I don't know if the current
sort order will be preserved when you copy/paste into Excel or not; I
would have thought so, but I haven't tried it.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:27 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.