Jet SQL snafu
Yeah, I understand the concept. I had run into the issue long ago of a name or address containing an apostrophe, and a query statement that had been working flawlessly all along just suddenly became a...
View ArticleJet SQL snafu
It was a little baffling though figuring out just how to include the quotes but I eventually fugured it out. Since the DCount function call was an argument to a query, the only way I know to word it is...
View ArticleJet SQL snafu
I gotta hand it to you Dirk. I eventually had to go with the DCount method. It wasnt as bad performancewise as I had thought. When I really sat and thought about how to implement the work table method,...
View ArticleJet SQL snafu
Dirk, you are correct. It was air code, and it doesn't work. <blush>So DCount should be the way to go here.Thanks for checking!Regards, Hans Vogelaar
View ArticleJet SQL snafu
Thanks for your reply. Most of my tables are linked. This work table will only have a few fields and will be used in a loop for a few iterations of the original statement. Therefore, I am not worried...
View ArticleJet SQL snafu
Ok, I see. I usually elect to use joins in my action queries as opposed to the D functions only because when I was learning SQL (not that I am not still learning), I was cautioned that D functions can...
View ArticleJet SQL snafu
If you would create a query in SQL view with this SQL statement, it would fail too. A totals query (i.e. with a GROUP BY clause) is never updateable. Try this version:UPDATE [SERVER OH - Archive 30 Day...
View ArticleJet SQL snafu
Ok, I see. I usually elect to use joins in my action queries as opposed to the D functions only because when I was learning SQL (not that I am not still learning), I was cautioned that D functions can...
View ArticleJet SQL snafu
I am baffled by an SQL statement I wrote in a VBA module. When I try to run it, Access throws the following complaint: Operation must use an updateable query.Here is the SQL statement:UPDATE [SERVER OH...
View ArticleJet SQL snafu
If you would create a query in SQL view with this SQL statement, it would fail too. A totals query (i.e. with a GROUP BY clause) is never updateable. Try this version:UPDATE [SERVER OH - Archive 30 Day...
View ArticleJet SQL snafu
I am baffled by an SQL statement I wrote in a VBA module. When I try to run it, Access throws the following complaint: Operation must use an updateable query.Here is the SQL statement:UPDATE [SERVER OH...
View Article
More Pages to Explore .....