dbCountSQL
I'm having trouble with CountSQL (as displayed by dbDebug = "104") not being set correctly.
The attached code shows the problem using Northwind.
If the line of the sql that begins with "group by...." is dropped, then CountSQL is derived correctly.
If "group by...." is left in, then CountSQL is not derived correctly or if dbCountSQL is supplied, dbCountSQL is ignored.
i see no attachments. overall, dbcountsql is used when complex queries is in action. in this case, you specify the query and asp-db will use this to get the record count instead of guessing.
fk
Version: ASPDB2002-05.03-NT4-SP3-ADO21-MTS-Gold
Attached Files
1. Your dbSQL is not valid.
2. Check out dbNameMap doc -
http://www.aspdb.com/aspdb/doc2002/dbnamemap.shtm
At the bottom goto the complex query example CaseStudy #23.
there are a few complex queries example in the examples area. Contact support to locate it if you cannot dig it out.
FK
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules