![]() |
|
|
#1
|
|||
|
|||
|
I'm not a programming guru, so use nice small words! <G>
I've got a database where one of the fields is called 'participants'. In that field could be between 1 and 30 names, separated by commas. What I'm trying to do is write a query/macro/code (whatever works) that will grab the individual names so I can spit them out to a mailmerge to print certificates. I've played with the instring, trim, left & right commands and can't find a combination that will do what I want. If anyone knows a better forum than 'general' for this question, by all means let me know and I'll post it there. Thanks in advance...Tepin |
|
#2
|
|||
|
|||
|
In the first place, why do you have just one field that contains what amounts to multiple records? Sounds like poor database design.
If there is nothing you can do about that, you would probably have to write some VBA code to parse through the string one byte at a time looking for the comma.
__________________
John F |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Median and Mode for a large table | brandon | Access | 0 | 05-08-2008 07:26 AM |
| relationship window layout is too large to fit in Microsoft | sh100 | Access | 0 | 12-31-2007 08:12 AM |
| Extract numbers from text string strored in a field. | khabdullah | Programming | 2 | 12-23-2007 03:55 PM |
| Import large txt into access | klm127 | Import/Export Data | 0 | 04-23-2007 04:22 AM |
| Quick way to stuff field names into text field | kfinpgh | Programming | 0 | 01-04-2007 10:13 AM |