redant34jessica wrote:
> If AllCourses NOT empty display AllCourses (there are
links on page to display
> this filtered recordset using URL Parameter - "TypeID")
<% If Not rsAllCourses.EOF Or Not rsAllCourses.BOF Then
%>
> If AllCourses empty and AllTypes NOT empty show AllTypes
(there is a link on
> page to display ALL using a URL Parameter- "Type")
If (rsAllCourses.EOF AND rsAllCourses.BOF) AND (NOT
rsAllTypes.EOF OR
NOT rsAllTypes.BOF) Then %>
> If AllCourses empty and AllTypes empty show warning
message (If there is no
> data a link on page where there is currently no data)
<% If rsAllCourses.EOF And rsAllCourses.BOF AND
rsAllTypes.EOF And
rsAllTypes.BOF Then %>
> Another Question is when a recordset is filtered by a
URL parameter, if that
> URL parameter does not exist in the URL is the recordset
EMPTY??
That depends on what you set the default value to be. I try
to use a
value that will never be used, like -1, so when the URL
parameter
doesn't exist, the recordset uses -1 instead. It won't find a
record
with -1 as the value, so returns an empty recordset.
> Please help. THank you very much!
See how you get on with the above.
Dooza
--
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html
How To Report A Bug To Adobe
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform