| Brandon Taylor 2004-11-30, 7:16 pm |
| You're probably needing to pass a value to filter a recordset for the
Transactions, correct?
If so, just have your form pass the value through the querystring, open a
recordset with the information you need and then you could make the region
on your page show/hide based on whether or not the recordset is empty.
<% if not rs.eof then %>
put your HTML here
<% end if %>
Even if you want to use the built-in behaviors, you're still validating
against a condition, i.e., this is true, this is false, this is > 0,
whatever.
HTH,
bT
"-D-" <webforumsuser@macromedia.com> wrote in message
news:coifpu$pl8$1@forums.macromedia.com...
> Is there a way to use the show region server behavior to display
> information
> from a database when a user clicks a button within a form? I have one form
> with
> only header information displayed initially. I want to add a button that
> will
> show the related records to the header record when a user clicks the
> button
> 'Display Transactions'. What is the best way to accomplish this?
> Thanks, -D-
>
|