> Thanks in advance for your help. I posted this in a previous thread
> but I'm afraid that it's faded into oblivion.
[quoted text clipped - 102 lines]
>
> End Sub
Hi, Crystal!
Thanks for the response.
> Hi jlute (what is your name?)
My name is John and I also post under JohnLute at the MS Discussion
Forum however I regularly experience connectivity issues with that
site and therefore post at Google under this name.
> "Type" is a reserved word
>
> Problem names and reserved words in Access, by Allen Brownehttp://www.allenbrowne.com/AppIssueBadWord.html
Yeah. I named it that several years ago when I didn't know better.
It's never posed a problem however.
> it is difficult to follow the code without your database to try it on...
> put this statement before your OpenReport statement
[quoted text clipped - 7 lines]
> chances are, that manual inspection of what you are constructing will
> solve the issue -- if it does not, please post what it constructed back here
That's a nifty way to go about things. I gave it a whirl and this is
what was in the Immediate window:
strWhere:
strFGID:
This doesn't appear to be of any help or is it saying that there's no
problem?
strive4peace - 03 Jul 2008 17:40 GMT
Hi John,
what it is saying is that neither variable has any value
-- that means you are not passing anything to OpenReport
~~~
would you like to go through each statement of the code so that you can
understand what is happening and, therefore, fix the problem? If so,
read this first:
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
Warm Regards,
Crystal
remote programming and training
*
(: have an awesome day :)
*
> Hi, Crystal!
>
[quoted text clipped - 32 lines]
> This doesn't appear to be of any help or is it saying that there's no
> problem?
jlute@marzetti.com - 03 Jul 2008 19:23 GMT
> Hi John,
>
[quoted text clipped - 9 lines]
> Access Basics
> 8-part free tutorial that covers essentials in Accesshttp://www.AccessMVP.com/strive4peace
Thanks, Crystal.
I was actually looking through your 8-part tutorial earlier today and
found it very informative. I'm actually very comfortable with Access
except writing/comprehending SQL and Modules and Macros. Everything
else I'm fairly skilled at. My database has 450+ tables; 400+ forms
and 550+ reports that are entirely my design so I've seen quite a bit!
This particular challenge is difficult for me due to my poor SQL
skills. I don't always understand what a long line of code such as
this is doing - despite my "hack" ability to actually write some
primitive code.
I'll review your SQL section and get back to you!
Thanks!
strive4peace - 03 Jul 2008 19:46 GMT
sounds good, John ;)
Warm Regards,
Crystal
remote programming and training
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*
(: have an awesome day :)
*
>> Hi John,
>>
[quoted text clipped - 26 lines]
>
> Thanks!