Mousewrites
New Member
- Joined
- Jul 13, 2004
- Messages
- 16
Hello,
I'm trying to make an acess database from the search results from the BPAL website (perfume). Each listing has the perfume group, name, discription, scent family (floral, woody, spicy, ect), and a link to buy two sizes of bottels OR lists it as discontuned.
I copied the results of a search on the site into excel. Here's a portion of the excel spredsheet:
Then I imported the spreadsheet into Access, letting it make the fields.
See my problem? Where there was more than one 'scent family,' access only took the first one. The others became their own entry, blank except for the scent family field.
So for Dragon's Blood, (ID 1) it lists the scent family as Fruity. Then there is a blank record (ID 2) that has it's scent family listed as Green / Leafy / Herbal.
I added check boxes (yes/no) for each of the possible scent families to the table, but it would take a very long time to go through by hand and switch them over.
Does anybody have any ideas how I can either write a query to do this, or a different way to import the information?
Link to the Access file: http://home.earthlink.net/~thehivemind/BPAL.mdb[/code]
I'm trying to make an acess database from the search results from the BPAL website (perfume). Each listing has the perfume group, name, discription, scent family (floral, woody, spicy, ect), and a link to buy two sizes of bottels OR lists it as discontuned.
I copied the results of a search on the site into excel. Here's a portion of the excel spredsheet:
Book2 | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | AREA | NAME | DESCRIPTION | SCENTFAMILIES | ||||
2 | ArsDraconis | Dragon'sBlood | DESCRIPTION | Fruity | buy5ml | buy10ml | ||
3 | Green/Leafy/Herbal | |||||||
4 | ArsDraconis | Dragon'sBlood | DESCRIPTION | Resin/Incense/Smoky | buy5ml | buy10ml | ||
5 | ArsDraconis | Dragon'sEye | DESCRIPTION | Floral | buy5ml | buy10ml | ||
6 | Resin/Incense/Smoky | |||||||
7 | ArsDraconis | Dragon'sHeart | DESCRIPTION | Floral | buy5ml | buy10ml | ||
8 | Fruity | |||||||
9 | Resin/Incense/Smoky | |||||||
10 | ArsDraconis | Dragon'sMilk | DESCRIPTION | Fruity | buy5ml | buy10ml | ||
11 | Oriental/Gourmand/Spicy | |||||||
12 | Resin/Incense/Smoky | |||||||
13 | ArsDraconis | Dragon'sTears | DESCRIPTION | Green/Leafy/Herbal | buy5ml | buy10ml | ||
14 | Ozone/Marine/Fresh | |||||||
15 | Resin/Incense/Smoky | |||||||
16 | AstrologicalOils | Aquarius | DESCRIPTION | Discontinued | ||||
17 | AstrologicalOils | Aries | March21-April19 | Oriental/Gourmand/Spicy | Discontinued | |||
18 | DESCRIPTION | |||||||
19 | AstrologicalOils | Cancer | June21-July22 | Fruity | Discontinued | |||
20 | DESCRIPTION | |||||||
Sheet1 |
Then I imported the spreadsheet into Access, letting it make the fields.
See my problem? Where there was more than one 'scent family,' access only took the first one. The others became their own entry, blank except for the scent family field.
So for Dragon's Blood, (ID 1) it lists the scent family as Fruity. Then there is a blank record (ID 2) that has it's scent family listed as Green / Leafy / Herbal.
I added check boxes (yes/no) for each of the possible scent families to the table, but it would take a very long time to go through by hand and switch them over.
Does anybody have any ideas how I can either write a query to do this, or a different way to import the information?
Link to the Access file: http://home.earthlink.net/~thehivemind/BPAL.mdb[/code]