J
JohnLute
I've reviewed Duane Hookom's generic concatenation
http://www.rogersaccesslibrary.com/...neric Function To Concatenate Child Records'e
I'm really struggling with this. Here's my structure:
tblProfiles.txtProfileID is in a 1-Many relationship with
tblProfilesAllergens.txtProfileID.
Here's the SQL for the field I created:
Allergens: Concatenate("SELECT ProfilesAllergens FROM tblProfilesAllergens
WHERE txtProfileID =" & [tblProfilesAllergens].[txtProfileID] & " ORDER BY
ProfilesAllergens")
I'm not sure this is correct. Also, when I run it an error occurs "No value
given for one or more required parameters." The debugger points to this line
in the module:
rs.Open pstrSQL, CurrentProject.Connection, _
adOpenKeyset, adLockOptimistic
I'm really lost.
Any help would be greatly appreciated!!!
http://www.rogersaccesslibrary.com/...neric Function To Concatenate Child Records'e
I'm really struggling with this. Here's my structure:
tblProfiles.txtProfileID is in a 1-Many relationship with
tblProfilesAllergens.txtProfileID.
Here's the SQL for the field I created:
Allergens: Concatenate("SELECT ProfilesAllergens FROM tblProfilesAllergens
WHERE txtProfileID =" & [tblProfilesAllergens].[txtProfileID] & " ORDER BY
ProfilesAllergens")
I'm not sure this is correct. Also, when I run it an error occurs "No value
given for one or more required parameters." The debugger points to this line
in the module:
rs.Open pstrSQL, CurrentProject.Connection, _
adOpenKeyset, adLockOptimistic
I'm really lost.
Any help would be greatly appreciated!!!