If you know how wide you want the table to be (total width), you can calculate the widths of the other columns by dividing the total width by the number of columns. I will give you an example of what I would do if I were reading the data in from a database...
<table width=800>
<tr>
<%for i = 0...
Aight...I figured it out...thank you for the help grtfercho!
Here's the code...
<table border=1 width=100%>
<%
k = i
do while NOT rsDB.Fields.Item(k).Name = request.querystring("end")
response.write("<tr><th>" & rsDB.Fields.Item(k).Name & "</th>")...
Almost! Except it doesn't separate out each entry as a separate table element. So it crams all the headers together on the left, and all the data together on the right (and they aren't one line a piece).
Good idea, though...I may play around with the logic on that one to see if I can figure...
I would love to, but I'm pulling all the data for the table from a database...I will post my code to queue you in more on what I am doing...
<table border=1 width=100%>
<tr>
<%
k = i
do while NOT rsDB.Fields.Item(k).Name = request.querystring("end")
response.write("<td...
I saw that thread. Am I missing something? What I see in that thread is how to rotate the text to display vertically inside the table (which isn't what I need).
I do see the example in there where the person is flipping the text using CSS (filter:flipv fliph), but all that does is put my...
How do you do this? I remember seeing a thread a month or two ago about this, but I didn't read it. Now I am needing to do this myself. Is there a quick CSS trick that can do this?
Basically I want all the headers to be listed vertically down the page and the data "underneath" them...
You are the man qrhythm! This is really close to what I want. I am attempting to use option B now. I got it work partially in I-Frames so I know it is working (scrolling two windows at once), but I can't get it to recognize my top DIV (the header DIV).
I am not vert familiar with the...
Heh...I would do that, but with how much data I have being output to the screen, it would look horrible...
I may just give up on this and try to go a different route with the design...
That scrolls the whole table up and down. I only want what is in the middle to scroll vertically. The header at the top needs to stay at the top at all times...
I did see that post on the other forum, but it wasn't exactly what I was looking for... =/
I am using this code as an example of what I am trying to do. It was posted earlier, so I just took it and modified it.
When you paste this code into an HTML file, the result is a table with scroll bars. Now, the bottom scroll bar is there to allow you to scroll the data left and right. The...
After reading up on the Div attribute, I think I am going to switch over to <div> and <table>. That should make it easier for me to line up my columns...BUT, I think I will still have the problem of having to horizontally scroll before I can get to the vertical scroll bar...
I basically just...
I am using an IFrame currently. I have to scroll to the right to get to the vertical scollbar for the iFrame (because I need the header to be lined up outside of the frame with the data inside - or I need a different way to keep the header at the top while I scroll through the data)...
I...
I was just thinking about this and reading some other forums...is there any way that I could turn all that into a table that that has scrollbars? And more specifically, a vertical scrollbar for the bottom half only (while the horizontal scrollbar affects the whole table)...
Does that make any...
I am new to programming, and have yet to figure out a way to do this...
I have a table of data (that can be upwards of 1000 entries). I have that being output into an IFrame and all the columns are aligned with another table (outside the frame) that acts as the header (that way it is always at...
I just realized I got the UPDATE and INSERT functions mixed up for syntax /bonk me...
Now I have :
strSQL = "INSERT INTO Inventory.txt Values('This is a TEST!')"
This gives me the error :
[Microsoft][ODBC Text Driver] Operation must use an updateable query.
Off to the races again!
I may be on to something here...I changed the path to the web server and used a different user ID when connecting and the error went away...
Now I can't figure out how to write data to it - I tried using INSERT and UPDATE but it tells me I there is a syntax error...
I am only guessing, but is...
Add :
I have also tried going through a different connection (as described on one of the FAQ's here...
set textDB = Server.CreateObject("ADODB.Connection")
textDB.Open "DRIVER={Microsoft Text Driver (*.txt; *.csv)};DefaultDir=\\ServerName\public\inventory\inventory.txt"...
Ok...I have started working on this again...I am using FSO to write to a text file from a web page...the share that I am writing to is set to grant full access to "Everyone".
But I still receive an error when I attempt to open the text file for writing/reading...
Here is the code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.