| |
| |
| |
|
Comments:
<0> i have a loop that looks at a table and selects 3 random records i main problem is that the same record comes up more than once...i want to use rs.delete in the loop but that take it out of the database totaly which i don't want it to do does any one know what i can do? <1> i have a loop that looks at a table and selects 3 random records i main problem is that the same record comes up more than once...i want to use rs.delete in the loop but that take it out of the database totaly which i don't want it to do does any one know what i can do? <1> come guys...some body...help me <1> i ant telling you to write code for me...just shed a little light on the best way <1> you lot a wack <2> hello all <2> i have written an array into a Session variable. any ideas why when I reading the session back into a variable, it will give me a 'Type Mismatch' error? <2> let me rephrase, im not reading the session back into a variable. i am reading it back into an ARRAY variable. <3> GOOD MORNING VIETNAM!!! <4> Anyone knows how to make a dynamic loops in a loop in one function? <5> Is it possible to check to see if a user is logged into the domain from windows via asp?
<6> server variablres <3> finally got sql report services 2005 working with aspnet membership across domains <3> wee <3> now i have to add roles <3> rather, groups <5> loon, tried Request.ServerVariables("AUTH_USER") and Request.ServerVariables("LOGON_USER") <5> problem is, I dont authenticate with the website, only the windowsxp box viewing the website <6> then look at ADSI <5> anything specific? <7> hi, i know how to make a function but i dont know how to p*** 2 params not just one how do i do this? function(i,x) doesnt seem to work <8> Public Function(x, y) <8> You have to declare it to accept two arguments before you can send two arguments <7> thanks <9> Hello' <5> why would I not be able to see server variables? <9> Does anyone know how to do HTTP post? I am trying to send an entire XML document as the data <8> XMLHTTP object <7> hi if i have a variable that has a url in it like so "test.com?i=1&s=hello" how can i get the word hello out of it? <7> hi, i have a variable with a url in it(not in the address bar) i want to pull, its setup as follows: http://www.test.com/file.asp?i=23&b=24, how do i just get the number 23 back? <8> Request.Querystring("i") <7> but its in a variable.. <7> anyways i got it so thanks anyways <8> "thanks anyways"? <8> That was the answer. <7> yea <7> its aaaallll gooood <10> does cl***ic ASP have scope within a "for each" as I have a variable that's losing it's value, and what can I do? <10> I even wrapped it in an if check to make sure the ***igned wasn't null or "" before (re)***igning it <11> i'm not sure, can you be a bit more specific as to what you're trying to do <8> paste the loop to www.nomorepasting.com <10> k <10> it's at line 15 I'm talking about, by line 81 I can't read the variable http://www.nomorepasting.com/paste.php?pasteID=65659 <10> it's iterating through file & folder names and outputting lists <11> you can remove line 84 <10> well obviously :) <10> there's a mix of debugging stuff in there <10> actually no I can't remove it, I have to ***ume the next file might not have a folder and I don't want to carry values... despite, it's unrelated to my problem :) <8> paste up the IsNullOrEmpty function <10> it does what it says <10> checks BLen and null <8> I ***umed what the purpose of it was <8> paste it up there <10> k, but it's been used in production code for like a year
<8> is the value available on line 16? <10> yes, when I set it on 16 and print it on 17, it prints <10> IsNullOrEmpy() http://www.nomorepasting.com/paste.php?pasteID=65660 <10> and yes, it will fail if it recieves a null array <10> minor bug I need to fix <8> for one thing, + is used for numbers, and & for strings <8> but that's likely not the cause <10> ok, I'll fix <8> Response.write it right above the line: For Each oFile In oFiles <10> it's empty there <10> which is what made me suspicous about the possiblity of some scope I wasn't aware of <8> write it right above line 36 <10> after that "next" thisFolderName loses value <8> actually... also dim it inside ShowDirectory() <8> right with your other dims <10> it works fine at 36 <8> I have a suspicion <8> dim in right below your other dims <10> doesn't matter <8> No effect? <10> no effect <8> paste up the code you're currently using <10> I'd hate to rewrite this code to somehow fit that inside the foreach, if it's even possible <10> k <10> http://www.nomorepasting.com/paste.php?pasteID=65661 <8> Now if the folder name is null or empty, what's supposed to happen? <10> thisFolderName will be blank <8> hisFolderName = thisFolderName & "/" + oFolder.Name & "/" & oSubFolder.Name & "/" <8> missed a + <8> but, I don't see anything that's jumping out at me <8> take out the recusion and see what happens <10> what recusion? <8> line 37 <10> well then no files display because for this example, everything is in a subfolder <8> that's fine <8> This is debugging. experimentation is needed <10> fine? well then the 2nd foreach can never run <10> it's hardly debugging when the thing in question can't execute <8> not worried about files displaying. worried about thisFileName <8> jsut check the value <8> Then comment out the entire for next <8> narrow down where the problem is occuring <10> ahh, taking out the recursion and printing thisFolderName after the next works <10> cool, now we know where the problem is <8> tadah <8> This is why I had you dim it inside the method, so that there'd be no worry about a 'global script scope', and being overwritten by one of the recursive calls <10> hmm I should just rewrite the whole damn thing, it's based off of somebody else's code anyways <8> which still might be happening <8> and it makes sense, since you're setting the value to "" at the end of the method <10> welp I gotta move my servers anyways, I'll have to work on this code when I get them all back up <10> thanks
Return to
#asp or Go to some related
logs:
Tcl string length
polish spiritys
#beginner #online donkey show movies
vmotion hal processor #politics #cph #computers #winvista
|
|