G
Guest
I have a query of many clients and use a code to look at fields in a child
table. Not every client in the query has a record in the child table. The
code takes 5 fields from the child table and puts them in the form of AA, BB,
CC. It does include the child fields that are false. The code is run as a
field in teh query. the problem is for those records where the client does
not have a record in the child table, i get an error. How do i fix my code so
that it will not run for those clients who do not have a record in the child
table?
i have tried something like:
if rst is emtpy then string is null ?????
thank you for your help,
russ
table. Not every client in the query has a record in the child table. The
code takes 5 fields from the child table and puts them in the form of AA, BB,
CC. It does include the child fields that are false. The code is run as a
field in teh query. the problem is for those records where the client does
not have a record in the child table, i get an error. How do i fix my code so
that it will not run for those clients who do not have a record in the child
table?
i have tried something like:
if rst is emtpy then string is null ?????
thank you for your help,
russ