In the *.png attachment that I have attached to this post shows some source
code from a program that I know runs and does what it is expected to do.
The main issue is the code line shown below:
(1) stWhere = "tblUsers.strUserID = " & " ' " & stWho & " ' "
This statement works and does what it is expected to do.
Now in my program the record source is not tblUsers, but it is a query
(2) qry Personnel Meeting Query.email address
Now I know that this statement has far too many spaces in the record source name, but that is another
post not this one.
I am assuming that the like the record source in the first (running program) the record source which is a query
can be dropped right in to replace tblUers with qry Personnel Meeting Query. Also the field that I want to attach to it
strUersID in the working program's case and email address in mine, that it is just a simple matter of substituting strUersID with
email address.
Then the statement should work.
Now I can also say that in each case, the variant stWho is properly defined.
However, the statement that I created does not work.
I get after using it stWhere = false, which I assume is an error.
I have attached a *.png file, which, dislays the code in question from the working program.
Is there an erro in my logic.
Any help appreciated. Thanks in advance.
Respectfully,
Lou Reed
PS I cannot explain the underlining of my written post it just seems to have occurred randomly.