Think about my recordsets is on run is not open?

Hey,.

Recently open dreamweaver 8, do a Recordset, and whenever data are placed on the page about my Recordset, I notice that its different from my previous recordsets in a particular way worm...

Old record set...

< %
Dim rsHeadlines
Dim rsHeadlines_numRows

Set rsHeadlines = Server.CreateObject ("ADODB. Recordset')
rsHeadlines.ActiveConnection = MM_connNews_STRING
rsHeadlines_cmd.CommandText = "SELECT Entry_ID FROM title WHERE bitPostShow ="+ replace (rsHeadlines__MMColParam,"'","" ") + 'AND <>Entry_ID' & UsedID & 'ORDER BY Entry_Date DESC ORDER'". "

rsHeadlines.CursorType = 0
rsHeadlines.CursorLocation = 2
rsHeadlines.LockType = 1
rsHeadlines.Open)

rsHeadlines_numRows = 0
% >

New Recordset...

< %
Dim rsHeadline1
Dim rsHeadline1_cmd
Dim rsHeadline1_numRows
Dim UsedID

Set rsHeadline1_cmd = Server.CreateObject ("ADODB.Command")
rsHeadline1_cmd. ActiveConnection = MM_connracenews_STRING
rsHeadline1_cmd.CommandText = "SELECT Entry_Date, Entry_ID, title OF news ORDER BY Entry_Date DESC"
rsHeadline1_cmd. Prepared = true

Set rsHeadline1 = rsHeadline1_cmd. Run
rsHeadline1_numRows = 0
% >

Notice how my new recordsets got CMD scattered everywhere and instead of OPENING the recordset at the end, his EXECUTION? Why I see this change and what can I do about it?

8.02 began to use the command objects to retrieve recordsets. There is nothing
to 'fix' because it is not broken.

"nhavfx" wrote in message
News:eg5mnt$NNC$1@forums. Macromedia.com...
> Hey,.
>
> Just recently opened dreamweaver 8, do a set of records and each time that the
> data
> is placed on the page about my Recordset, I notice that its different
> of my
> previous recordsets in a particular way worm...
>
> Old Recordset...
>
> < %=""> < br=""> > Dim rsHeadlines < br=""> > Dim rsHeadlines_numRows < br="" >="" >=""> < br=""> > Set rsHeadlines = Server.CreateObject ("ADODB. Recordset") < br=""> > rsHeadlines.ActiveConnection = MM_connNews_STRING < br=""> > rsHeadlines_cmd.CommandText =" SELECT Entry_ID FROM title WHERE < br=""> > bitPostShow = < br=""> > "+ replace (rsHeadlines__MMColParam," ' "," "") + "Entry_ID AND <> ' & < br=""> > UsedID < br=""> > & 'ORDER OF ORDER BY Entry_Date DESC' < br=""> > < br=""> > rsHeadlines.CursorType = 0 < br=""> > rsHeadlines.CursorLocation = 2 < br=""> > rsHeadlines.LockType = 1 < br=""> > rsHeadlines.Open () < br=""> > < br=""> > rsHeadlines_numRows = 0 < br=""> > %>".
>
> New Recordset...
>
> < %=""> < br=""> > rsHeadline1 Sun < br=""> > rsHeadline1_cmd Sun < br=""> > Dim rsHeadline1_numRows < br=""> > UsedID Sun < br=""> > < br=""> > Set rsHeadline1_cmd = Server.CreateObject ("ADODB.Command")
> rsHeadline1_cmd. ActiveConnection = MM_connracenews_STRING < br=""> > rsHeadline1_cmd.CommandText = "SELECT Entry_Date, Entry_ID, title FROM < br=""> > News < br=""> > ORDER BY Entry_Date DESC"< br=""> > rsHeadline1_cmd. "» Prepared = true < br=""> > < br=""> > Set rsHeadline1 = rsHeadline1_cmd. Run < br=""> > = 0 rsHeadline1_numRows < br=""> > %>
>
> Notice how my new recordsets got CMD scattered all over the place,.
> and
> instead of OPEN the recordset in the end, his EXECUTION? Why am I
> See
> This change and what can do about it?
>

Tags: Dreamweaver

Similar Questions

Maybe you are looking for