Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Layers


Message #1 by "Simon Robinson" <srobinson@g...> on Thu, 23 Jan 2003 11:23:05 -0000
Hi All,

I have created a contact management system for our intranet, however I
have hit a problem...
It works on the basis that you see a list of client contact and when you
click on the 'Discussion link' to view the detail of the discussion a
simple javascript onClick activates a function that makes a layer
visible. Now what I am trying to do is pass the ID of that particlar
link through to the layer to display the discission detail in the
following manner:-

<%Recordset2.Source = "SELECT * FROM dbo.Client WHERE ID = " + (ID)%>
        <%Recordset2.Open()%>
        <%=(Recordset2.Fields.Item("Discussion").Value)%>

All that happens though is that it always displays the first discussion
item in the database!

Can anyone help?

Cheers,

Simon.


  Return to Index