Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - GUI building a table
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

GUI building a table

 Post Reply Post Reply
Author
garv View Drop Down
Newbie
Newbie


Joined: 30 June 2003
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote garv Quote  Post ReplyReply Direct Link To This Post Topic: GUI building a table
    Posted: 30 June 2003 at 11:53pm
im curious... im using a database editor where you can view a database via the internet and then update delete and add to that database via the web. it all works fine but im trying to place my delete and update info into a similar table but every time i add the table cell tags the links no longer work, i mean they not even there anymore. here is a sample:

THIS WORKS
Response.Write("<tr bgcolor='" & sColor & "'>")
Response.Write ("<a href=""delete_entry.asp?ID=" & rsDatabase("ID_no") & """>")
Response.Write(rsDatabase("EvtMsnSqn").Value)
Response.Write("</a>")
Response.Write(rsDatabase("CSBuno").Value)
Response.Write(rsDatabase("TO").Value)

THIS DOESN'T
Response.Write("<tr bgcolor='" & sColor & "'>")
Response.Write ("<a href=""delete_entry.asp?ID=" & rsDatabase("ID_no") & """>")
Response.Write("<td>" & rsDatabase("EvtMsnSqn").Value & "</td>")
Response.Write("</a>")
Response.Write("<td>" & rsDatabase("CSBuno").Value & "</td>")
Response.Write("<td>" & rsDatabase("TO").Value & "</td>")
Back to Top
garv View Drop Down
Newbie
Newbie


Joined: 30 June 2003
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote garv Quote  Post ReplyReply Direct Link To This Post Posted: 30 June 2003 at 11:56pm
can someone please help me with what it is im doing wrong?
Back to Top
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2003 at 12:57am

Garv, I think you're going to need to explain your problem a little better.

What database editor are you using?
What error message are you getting, if any?
What code are you using to connect to the database?
What other code do you have that could affect the output?

Cheers,
Andrew



Edited by Bunce
There have been many, many posts made throughout the world...
This was one of them.
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2003 at 1:06am
The problem you have is that when you add the table cells you are adding them around the value which leaves the link floating in between the row and the cell in HTML no man's land.

Try this
Response.Write("<tr bgcolor='" & sColor & "'>")
Response.Write ("<td><a href=""delete_entry.asp?ID=" & rsDatabase("ID_no") & """>")
Response.Write(rsDatabase("EvtMsnSqn").Value)
Response.Write("</a></td>")
Response.Write("<td>" & rsDatabase("CSBuno").Value & "</td>")
Response.Write("<td>" & rsDatabase("TO").Value & "</td>")
Back to Top
garv View Drop Down
Newbie
Newbie


Joined: 30 June 2003
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote garv Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2003 at 5:16am
THAT WORKED!!
thanks ljamal it always ends up being something so simple.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.