Hi all,
I'm revisiting my issue of trying to search a directory on
my webserver and return a hyperlinked list of the Excel files within whatever directory they're stored in.
This is the closest that I've come, although it's in
VB (which lists the full path and file name--not what I need) and...
I created a graph, which in my opinion is the long way around, by joining a bunch of lable boxes together.
Currently, I have five rows each with of 30 lable boxes displayed on the screen. All of these rows creates my table.
The current table I have associated with a month (Jan).
However, with...
I have an access 2000 database with two tables
An employee table linked to a holiday table (which
contains a field for the link and a date/time field)
The relationship is one-to-many
I have the following line in my application.
SQLString = "SELECT Count(EmployeeName.ID) AS NoOfEmp...
I have a feeling that jaredn's pointer to the article maybe
what I need, I'm just going through the article's sample so I can understand what they're doing with dynamically created tables.
I should have made clear that I'm looking at creating a chart that lists the month as 'mmm' in one header...
I don't think Javascript will let me do this, and with what I know from HTML, I don't think this can be done as well.
I'm wanting to create an array, that will reference cells
in a table created in HTML. (I.E. I would like to be able
to reference the values in the cells second column over...
I'm wanting to create a calender application in VB, since
I haven't seen any in Java or Javasript that I like.
Essentially, I'm wanting colour coordinated employees
(or graphs that represent employees) that show when the
person booked holidays.
However, our site is in Javascript and Java and...
Already tried. No matter if I include var or not in front of commval when I try referencing commval in say: <input type="hidden" name="test" value="<%=commval%> I receive an error that "commval is not defined" It's as if I can't pass a variable from
within...
Hi! No go.
When I change
<%
while (!rs.eof) {
val=rs("commodity_desc");
Response.Write('<option value="' + val + '">');
Response.Write(val);
Response.Write("<BR>");
rs.MoveNext();
}
%>
to
<%...
Here's the entire page
<%
var connect = Server.CreateObject("ADODB.Connection");
var rs = Server.CreateObject("ADODB.Recordset");
connect.Open("DSN=verify");
var SQL = "SELECT commodity_desc FROM Commodities ORDER BY commodity_desc";
rs.Open(SQL...
I have the following piece of script near the beginning of my page.
<script>
function navcom() {
comm=document.bookform.bcommodity.selectedIndex;
commval=document.bookform.bcommodity.options[comm].value;
document.write(commval);}
</script>
further down I have the following scriplet...
Thanks for the info.
I'll have to play around with the example you put down, although it works, in that I get more than just one record displayed, an infinate loop occurs with just the first record being displayed.
I just check my other site and I did code it in VBScript.
I had recoded my connection strings to a javascript equivalent and want to transverse the records with a
do while not rs.eof
Is this allowed in Javascript? A book I have on Javascript
only addresses while loops, yet a site that I just...
I'm receiving the following error:
Microsoft JScript compilation error '800a03ec'
Expected ';'
/bulk/bookcargo.asp, line 13
set rs=Server.CreateObject("ADODB.RecordSet")
when I try to run this code:
<%
//Create a recordset
set...
I'm trying to figure out what I need in order to take
the value that is returned by the line
gotUID = Session("UID")
and insert it into this line
<input type="text" name="gotUID" value="&[gotUID]">
As you can see I've been messing around with the...
I cleaned up the code to have the following all the while
trying to insert the file names into an array so I could check the substring and find out if it would equal ".xls".
This is what I have:
var fso, fldr, fc, c;
files = new Array(10);
fso = new...
Someone on this board directed me to another site that contained information regarding the FileSystemObject Objects.
After experimenting with the Objects, I'm able to successfully list all files from a directory that I specify
using the Files collection or I can display the name of
one file...
I have the following code where I'm having problems comparing the value that a user entered "upass" with that
retrieved from a database (RS('Password')) (which was assigned to pw for my ease of following).
<% uname=Request.Form("uname") %>
<%...
Thanks, it appears that might work. I received an error
of "Object expected" so I included the statement
<%Response.Buffer = True%>
but that just creates another error in that "True" is not defined. I've read conflicting statements on different sites that...
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.