G
Guest
I have built a database where users for mailing groups are identified by the
appropriate button on the entry form. I then built a seperate table which
holds the details of the groups so that they can be picked out using a combo
on a selection form ready for label printing.
The query I used is
SELECT PEOPLE.TITLE, PEOPLE.FORENAME, PEOPLE.SURNAME, PEOPLE.DEPARTMENT,
PEOPLE.ADD0, PEOPLE.ADD1, PEOPLE.ADD2, PEOPLE.ADD3, PEOPLE.ADD4,
PEOPLE.POSTCODE
FROM PEOPLE
WHERE ((([Forms]![groupselector]![selector])=True));
where the [Forms]![groupselector]![selector]) part returns the name of the
"yes/no"field eg AS.
The query works ok if I replace the [Forms]![groupselector]![selector])
part with just AS - ie it returns only members of that group
Can anyone please help!!!!
appropriate button on the entry form. I then built a seperate table which
holds the details of the groups so that they can be picked out using a combo
on a selection form ready for label printing.
The query I used is
SELECT PEOPLE.TITLE, PEOPLE.FORENAME, PEOPLE.SURNAME, PEOPLE.DEPARTMENT,
PEOPLE.ADD0, PEOPLE.ADD1, PEOPLE.ADD2, PEOPLE.ADD3, PEOPLE.ADD4,
PEOPLE.POSTCODE
FROM PEOPLE
WHERE ((([Forms]![groupselector]![selector])=True));
where the [Forms]![groupselector]![selector]) part returns the name of the
"yes/no"field eg AS.
The query works ok if I replace the [Forms]![groupselector]![selector])
part with just AS - ie it returns only members of that group
Can anyone please help!!!!