I you can use the name property in the input field. So, if you have these buttons (note: I added the value property):
<INPUT type="image" name="imageField" value="something" src="one.gif" onClick="submit();">
<INPUT type="image"...
The request.form("checkboxname") will return the value(s) (separated by commas if more than one) in the "value" property.
-Phil
fillup07@hotmail.com
If my post was helpful, please give me a star!
Yeah, i'm playing around with that right now. Thanks a lot. I think I am going to do it that way .... without the data-source. Thanks a lot...
Phil
-Phil
fillup07@hotmail.com
If my post was helpful, please give me a star!
Yeah... that's what I was playing with last night.
Here's the problem though... I want a page full of different labels...
How should I do it? It looks like it'd be pretty tough to figure out what goes where for each label individually? Would it be possible to actually create a mail-merged...
I am currently using this to output a file as a Microsoft Word document
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition", "attachment;filename=thefilename.doc"
It works great...
Now I have two issues that I hope will not be...
Made a few more changes. Didn't stretch across the menu like I originally wanted, but I like it like this better now. Thanks a lot, works great. -Phil
fillup07@hotmail.com
If my post was helpful, please give me a star!
On, http://www.syscompsjax.com/index9.asp you can see that I am trying to get my footer to position properly. I have been playing around with it a lot but just can't get it to work.
I do not want to go to a table design.
When the page height does not require a scrollbar (like on the Login...
When a user logs in, use this code (once you have the username and stuff)
Session("userID") = username
Then on any page you can get the user name by using Session("userID")
www.w3schools.com/asp/ -Phil
fillup07@hotmail.com
If my post was helpful, please give me a star!
"SELECT Message.Time, Message.Amount, Message.[Free Text] AS Sender, DSum('[Amount]','[Message]','[Time]<= #' & DateAdd('h',-2,[Time]) & '# And [Type ID] = 'cp'') AS Population FROM Message WHERE [Message]![Type ID]='cp'"
That is what your SQL stmt looks like all together.
Make sure...
It looks to me like there might be one or more missing spaces. But what you just need to do is response.write the sql statement that is generated and post it here. -Phil
fillup07@hotmail.com
To diagnose SQL errors, the easiest thing to do is add a Response.Write strSQL instead of executing it. That way you can see the exact code that is being produced. Try that, if you still can't figure it out, paste the results here. -Phil
fillup07@hotmail.com
I also suggest using Sessions.
Just make it when they register, this is executed:
Session("username") = thename
And on the next page you can do:
Resonse.Write(Session("username")) -Phil
fillup07@hotmail.com
Well a redirect in ASP is just:
<% response.redirect page %>
But if you need that javascript alert, and want to continue in Javascript, then replace your entire window.location.href stuff with just:
location=xpara
I got that from:
http://www.w3schools.com/js/tryit.asp?filename=tryjs_location...
Well a redirect in ASP is just:
<% response.redirect page %>
But if you need that javascript alert, and want to continue in Javascript, then replace your entire window.location.href stuff with just:
location=xpara -Phil
fillup07@hotmail.com
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.