Andy Millne wrote:
> That will work fine server-side yeah but dreamweaver
cannot parse the code at
> design time so by altering the code in this way you lose
access to the bindings
> panel and all the server behaviours that depend on the
recordset have
> exclamation marks alongside.
This is simply a question of organizing your workflow. As you
have
discovered, Dreamweaver no longer recognizes a recordset if
you make
changes to the basic structure of the code. The answer is to
use
Dreamweaver to construct your page using an unaltered
recordset. Once
the design stage is complete, make the changes required by
inserting
your conditional statement. Yes, the fieldnames disappear
from the
Bindings panel, and you get exclamation marks in the Server
Behaviors
panel, but that's not important. If you need to restore them
for any
reason, just wrap the changes in /* */ comments. Remove the
comments
when you have finished.
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/