Here is the situation:
I have thousands of images in an on-line gallery. It is very time consuming to add the image descriptions, keywords, etc. through the gallery and I found a script that I can use to proprogate the MySQL database from a csv file.
I have been experimenting with both Excel and Access to create the data and settled on Access since I can do more with the data. But I am having problems getting the exported csv file to be set up correctly.
I have used Access for many years but have never really ventured into the vba macros side of things too much. My only experience there is to find an existing macro and copy and paste.
The Database Details
I have four fields that have multiple values to them:
keywords
searchwords
colors
instructions
Option 1
I set up multivalue combo boxes (using Access 2007 new feature) for each of the fields.
Option 2
I thought I could use subforms for each of the fields (i.e. one for Keywords, one for colors, etc.)
Option 3
I created a report using option 1 above with the data I wanted to export.
So, are macros needed to get this to work in any of the options? If so, which option would be the easiest for me to work with with the little experience I have with macros?
Do you have a better suggestion to set this up?
I have thousands of images in an on-line gallery. It is very time consuming to add the image descriptions, keywords, etc. through the gallery and I found a script that I can use to proprogate the MySQL database from a csv file.
I have been experimenting with both Excel and Access to create the data and settled on Access since I can do more with the data. But I am having problems getting the exported csv file to be set up correctly.
I have used Access for many years but have never really ventured into the vba macros side of things too much. My only experience there is to find an existing macro and copy and paste.
The Database Details
I have four fields that have multiple values to them:
keywords
searchwords
colors
instructions
Option 1
I set up multivalue combo boxes (using Access 2007 new feature) for each of the fields.
Problems
- The exported csv file only shows the numerical reference for the combo boxes and not the real values
- Values are separated by ";" when I need just a space or a comma
- Doesn't work well for the instructions since each option is a long sentence
Option 2
I thought I could use subforms for each of the fields (i.e. one for Keywords, one for colors, etc.)
Problems
- I don't know how to join the individual records of the subform into a single field in the exported file.
Option 3
I created a report using option 1 above with the data I wanted to export.
Problems
- The exported file includes formatting.
- There is still a semicolon between each value in the multivalue fields.
So, are macros needed to get this to work in any of the options? If so, which option would be the easiest for me to work with with the little experience I have with macros?
Do you have a better suggestion to set this up?