Notices



Reply
 
LinkBack Thread Tools Display Modes

Old 10-19-2006, 04:59 PM   #1 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,455
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

Access Export

having trouble with exporting from access to reate an import file for RE.

The Access Database has an ID field (6 chars) that is a text field but the values are primarily numerical. It is a text field because a majority of the IDs have leading zeros.

In my query I am using this field and have changed the header field to be ConsID so I can import it as the Constituent ID.

When I choose to export to a .csv file and opening it in Excel it keeps dropping the leading zeros and making it a general field type.

How can I export this from Access and retain the text data type so it keeps the leading zeros?
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 10-19-2006, 05:08 PM   #2 (permalink)
BUS Driver

Peter Gulka's Avatar

Join Date: May 2006
Location: Winnipeg, MB, Canada
Posts: 1,638
Rep Power: 4 Peter Gulka is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)
- API/VBA

try copying and pasting into a new spreadsheet file rather than exporting.
__________________
Peter Gulka
Chief Bus Driver
Blackbaud User Society
www.blackbus.org

Follow me on Twitter

View Peter Gulka's profile on LinkedIn
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 10-19-2006, 05:10 PM   #3 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,455
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

I think I figured this out - it was just a display issue with excel - when I open it in word pad the zeroes are still in there. I'm hoping they will import with the leading zeroes - cross your fingers for me...
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 10-19-2006, 09:45 PM   #4 (permalink)
Scruffily Herding Nerfs

RobertWild's Avatar

Join Date: May 2006
Location: Adelaide, Australia.
Posts: 350
Rep Power: 3 RobertWild is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

It's Excel!

The problem is that if you open a csv file in excel, it will always automatically drop the leading zeros.

It's much easier to just export from Access straight into RE without using excel.

Admittedly, excel does have some useful functions, however I generally prefer Access for this reason.

cheers

Rob
__________________
Rob Wild
Database & Research Officer
Flinders University
http://www.flinders.edu.au/
My location

I thought what I'd do was I'd pretend I was one of those deaf mutes...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 10-20-2006, 03:28 AM   #5 (permalink)
Likes to customize RE!

DavidZ's Avatar

Join Date: Jul 2006
Location: London, UK
Posts: 339
Rep Power: 3 DavidZ is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- API/VBA

If you need to open in Excel, change the extension to .txt or even .inp. Once in Excel open the file and you will be prompted to import the file into Excel. YOu are then given the option to decide the type of column each is. You need to explicitly state that the id column, zip in US and phone number in UK should be text. That way the leading zeros will be retained.

Note when you go to save the file however it will see the .txt or the .imp and prompt you to save it as a tab delimited format (after trying to persuade you to save it in Excel format). This works in import but if you want to save it in .csv then put quotes around the file name and select the .csv option from the file format dropdown. If you do not put quotes around it it will change the extension to .csv (which may be OK if that is what you want to begin with)

David
__________________
David Zeidman
Zeidman Development
http://www.zeidman.info

Check out my RE API blog
http://www.re-decoded.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 10-20-2006, 08:05 AM   #6 (permalink)
ET - outta this world!

Elaine Tucker's Avatar

Join Date: May 2006
Location: Dallas, Texas
Posts: 689
Rep Power: 3 Elaine Tucker is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)
- Education Edge (EE)

Just curious, why are you opening it in excel?
__________________
Elaine Tucker
Stewardship Coordinator
St. Mark's School of Texas
USA
www.smtexas.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 10-20-2006, 08:22 AM   #7 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,455
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

Quote:
Originally Posted by Elaine Tucker View Post
Just curious, why are you opening it in excel?
I was just checking the file to see what exported from Access to see that it looked right before I imported it to RE. Opening it in wordpad satisfied my curiosity.
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 10-20-2006, 09:04 AM   #8 (permalink)
ET - outta this world!

Elaine Tucker's Avatar

Join Date: May 2006
Location: Dallas, Texas
Posts: 689
Rep Power: 3 Elaine Tucker is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)
- Education Edge (EE)

I usually check this on the 3rd tab of the import, if you look at the lower part of the window, it will show you the headers and a sample of the data - a couple of times I've found that I left something out, so I was able to go back and fix it before importing. (the left out item was never critical thank goodness)
__________________
Elaine Tucker
Stewardship Coordinator
St. Mark's School of Texas
USA
www.smtexas.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
access, leading zeroes


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Cheap Electricity - Cheap Gas - Credit Cards - Loans
All times are GMT -6. The time now is 03:08 AM.

Miscellaneous


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel Team 2008 :: jvbPlugin R1012.364.1

SEO by vBSEO 3.2.0 Copyright 2008 Blackbaud User SocietyAd Management by RedTyger
Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64