I know a little about querries but not complicated ones.
I have 2 tables
table1
masterid1
classes <-- This is a string field with comma seperated values
tblclasses
masterID2
field1
field2 <-- This is a string field that has comma seperated values
a bunch of of other fields that are irrelevant
So what I am trying to do is have a query to gather all the field2 values from tblclasses for each masterID in Field 1.
Example
Table1. (1 row of data)
Masterid1 = 1000
classes = Math, PE, Science, English,
tblclasses (1 row of data)
field1 = math
field2 = algebra, geometry, calculus, statistics
next row
field 1 = English
field 2 = american lit, british lit, grammer, essay
The query or code will generate something to the effect of
Where masterid1= 1000
str = algebra, geometry, calculus, statistics, american lit, british lit, grammer, essay
Any ideas?
I am using vb2008 to connect to a access database where the tables are located.
Thanks a lot
Chris
I have 2 tables
table1
masterid1
classes <-- This is a string field with comma seperated values
tblclasses
masterID2
field1
field2 <-- This is a string field that has comma seperated values
a bunch of of other fields that are irrelevant
So what I am trying to do is have a query to gather all the field2 values from tblclasses for each masterID in Field 1.
Example
Table1. (1 row of data)
Masterid1 = 1000
classes = Math, PE, Science, English,
tblclasses (1 row of data)
field1 = math
field2 = algebra, geometry, calculus, statistics
next row
field 1 = English
field 2 = american lit, british lit, grammer, essay
The query or code will generate something to the effect of
Where masterid1= 1000
str = algebra, geometry, calculus, statistics, american lit, british lit, grammer, essay
Any ideas?
I am using vb2008 to connect to a access database where the tables are located.
Thanks a lot
Chris