Access question

Support, Discussion, Reviews
Post Reply
User avatar
Funkmasterr
Super Poster!
Super Poster!
Posts: 9022
Joined: July 7, 2002, 9:12 pm
Gender: Male
XBL Gamertag: Dandelo19
PSN ID: ToPsHoTTa471

Access question

Post by Funkmasterr »

If I have a record in access that is sorting its self in binary format (ie:1,100,101, etc, ) as opposed to numeric (1,2,3,4) how do I change that ? It has been forever since I have worked with access and I cannot remember anymore.

Edit: this info is a .csv file downloaded from on of our forms.
User avatar
Truant
Way too much time!
Way too much time!
Posts: 4440
Joined: July 4, 2002, 12:37 am
Location: Trumania
Contact:

Post by Truant »

I'm gonna go with.......magic? :)
User avatar
Funkmasterr
Super Poster!
Super Poster!
Posts: 9022
Joined: July 7, 2002, 9:12 pm
Gender: Male
XBL Gamertag: Dandelo19
PSN ID: ToPsHoTTa471

Post by Funkmasterr »

lawl
cadalano
Way too much time!
Way too much time!
Posts: 1673
Joined: July 16, 2004, 11:02 am
Location: Royal Palm Beach, FL

Post by cadalano »

i'm thinking that your question is too vague for anyone to help you. unless its a common problem and i've just never heard of it
I TOLD YOU ID SHOOT! BUT YOU DIDNT BELIEVE ME! WHY DIDNT YOU BELIEVE ME?
Lynks
Way too much time!
Way too much time!
Posts: 2774
Joined: September 30, 2002, 6:58 pm
XBL Gamertag: launchpad1979
Location: Sudbury, Ontario

Post by Lynks »

Its because that field isnt a Number but most likely Text. Change the field to number and it should sort you out. If thats not the case, then its magic.
User avatar
Zaelath
Way too much time!
Way too much time!
Posts: 4621
Joined: April 11, 2003, 5:53 am
Location: Canberra

Post by Zaelath »

cadalano wrote:i'm thinking that your question is too vague for anyone to help you. unless its a common problem and i've just never heard of it
Not to mention that "binary" and "numeric" are the same sort order. Personally, I think he's been on the pipe, again.
May 2003 - "Mission Accomplished"
June 2005 - "The mission isn't easy, and it will not be accomplished overnight"
-- G W Bush, freelance writer for The Daily Show.
User avatar
Funkmasterr
Super Poster!
Super Poster!
Posts: 9022
Joined: July 7, 2002, 9:12 pm
Gender: Male
XBL Gamertag: Dandelo19
PSN ID: ToPsHoTTa471

Post by Funkmasterr »

Ok, maybe I was being a bit vague.

The retailer is saving a po from our site, it saves as a .csv file which you can open in excel or access, they are using access. One of the fields from the po that is opening in access is the store number, and the way it is sorting that field is something to the effect of what I said in the first post

1,10,11,12,118 (just an example) through all the stores that start with one, then it goes to the store that start with a two. So in short, its sorting by the first digit mainly.

The way I want to get that field to sort is like you would think it should 1,2,3,4,5 etc..

I think that might make a bit more sense. I need to do a desktop share with them on monday and try to figure it out so I was looking for ideas cause I havent kept my access skills up for the past few years now.

edit:
Meant to say thanks Lynks, im just getting as many ideas as I can built up so i'll give that a shot.
User avatar
Xyphir
Star Farmer
Star Farmer
Posts: 494
Joined: July 10, 2002, 4:56 pm
Location: Denver, CO

Post by Xyphir »

Sounds like they have the store ID formatted as a Text, not Number. If they're opening the PO into an Access table, click the Table 'Design View' button in the upper left. Find the field for the Store ID and change the 'Data Type' from Text to Number.
User avatar
Zaelath
Way too much time!
Way too much time!
Posts: 4621
Joined: April 11, 2003, 5:53 am
Location: Canberra

Post by Zaelath »

Xyphir wrote:Sounds like they have the store ID formatted as a Text, not Number. If they're opening the PO into an Access table, click the Table 'Design View' button in the upper left. Find the field for the Store ID and change the 'Data Type' from Text to Number.
What Xyphir said. The DB this is imported to needs the right datatypes on the fields.
May 2003 - "Mission Accomplished"
June 2005 - "The mission isn't easy, and it will not be accomplished overnight"
-- G W Bush, freelance writer for The Daily Show.
User avatar
Funkmasterr
Super Poster!
Super Poster!
Posts: 9022
Joined: July 7, 2002, 9:12 pm
Gender: Male
XBL Gamertag: Dandelo19
PSN ID: ToPsHoTTa471

Post by Funkmasterr »

Thanks guys, that sounds about right. I need to polish up my database skillz here, i'm a little rusty.
Post Reply