| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> whats the exact line <0> the one which is showing true/false <1> also look in the sub it's acting as a boolean in and see if you p***ed it into the sub <2> ok <0> we need to see the code <0> if its short, paste it <0> just the relevant parts <2> 1st i set my "credit" value from the login form <2> Credit = rs.Fields("Credit").Value <2> then after the credit form the "credit" becomes "true or false" value <0> how do you know <0> how are you finding out? <2> well, i use the break, and debug it by myself <2> before it start other form <2> the "credit" still in "-240" <2> but after it start "frmstart" the "credit" becomes "true"
<0> MsgBox VarType(Credit) <2> using msgbox? <0> its just a sample code <2> in which form? <0> anywhere <0> everywhere <2> what for? <0> should come up with '11' if its a boolean <1> or look in frmstart for another declaration of Credit <2> Option Explicit <2> Dim rs As ADODB.Recordset <2> Dim totcust As Long <1> just search the form for Credit <2> these are all the declaration on the "frmstart" <2> huh? <1> see if you're declaring it anywhere on the form <2> if i'm not mistaken , i didn't declare the "credit" as anything else except "long" <2> in anyform <1> make sure - on frmstart, search for credit as <1> ctrl-F search, not by eye <2> i did <2> but sir <2> on the frmstart "load" event <2> i put thi <2> *this <2> If (Credit >= 11) And (Credit <= 16) Then <2> lblCredit.BackColor = &H80FFFF <2> ElseIf (Credit >= 17) Or (Credit >= 21) Then <2> lblCredit.BackColor = &HFFC0C0 <2> Else <2> omg <2> If (Credit >= 11) And (Credit <= 16) Then <1> that wouldn't make it boolean <2> that's the problem <2> i wonder why it become boolean <1> why are you saying it's boolean? If you print credit in the debug window, what does it say? <2> pardon sir, is there anyway to search all the form? <2> ok <1> yes - ctrl-f - put credit as in the box <3> search text is not found <3> i have put the "credit" in my label.caption <3> lblcredit.caption = credit <3> then the result is "TRUE" <1> what's the data type of the Credit field in the database? <3> number <1> hmmm <1> can you dcc chat me? <3> sorry sir <3> it was text <3> ok <1> hang on - I have to open a hole <3> ok <1> ok - try again <1> no - you have to open the hole - I'll chat you <3> ? <3> how to open a hole? <1> it doesn't matter - if you accept the chat we can talk <3> i accept <3> unable to connect
<1> strange <4> just keep shoving it into the hole <4> it'll eventually fit <1> what I want is for you to show me that whole sub, but you can't paste it in the channel <3> i have antivirus protection <3> pm <1> that has nothing to do with irc <3> so <5> cripes "open hole" Im surprised phrizer hasnt jumped all over that LOL <1> there are, but I don't know any urls off the top of my head <4> (Doh_): Happen to know of any place designed for code pasting ? <4> (Al42): ah, so you're not big on reading channel topics either, then <1> no, I confess :( <3> now what should i do? <1> Davnqi, paste the sub with that line - the whole sub - to the site in the topic, the nomorepasting site <3> ok now what? <6> Then... give us the link to the code <1> the pasteid at least <3> wait up <3> pardon?i have no paste id <1> then the link <6> Sure you do <3> sure i don't <6> it was given it to you when you submitted the paste <3> ok <3> start from which form? <6> ... you've used the web before, yes? <3> web?which web?the paste one? <6> goto www.nomorepasting.com <6> THE web <6> the world wide web <6> the "internet" <6> click 'paste' <3> now i'm in the web <6> fill in information <3> ok <6> submit <6> give us link <6> Simple, simple thing to do <1> email's probably easier, but ... :) <4> only one person can see email <6> you want to give this kid your email address? <1> no ... <4> this way, all of us get the chuckle <1> and I do this sort of thing all day on VBForums too <6> teehee <4> err, I mean, all of us get to help. Yah, help <1> ya, write my next program for me <3> http://www.nomorepasting.com/paste.php?pasteID=66715 <4> (Doh_): make david put it in so it auto-formats code :) <3> ? <6> yowzhas... I jsut threw up in my mouth a little <1> lol <6> So what's the problem with it now? <3> what happend? <6> I looked at your paste. <3> the "credit" value becomes "boolean" <1> Davnqi, put a breakpoint at the line FrmStart.lblCredit.Caption = Credit <6> first hint: + is for numbers, & is for strings. <1> when it stops, debug print Credit <4> I love line 181 <6> I don't care if "but + works!!". + is for numbers & is for strings <3> thkz fulre <3> fulru <4> douit***hima****e <4> fuiru* <3> gomennasai <4> so what exactly is it that's telling you credit equals 'true" ? <6> Davnqi: you know that was sarcasm, right? <3> Al42 <1> ?
Return to
#vb or Go to some related
logs:
#allnitecafe #allnitecafe #netcafe murtii33 #chat-world sekssssssss #india wetcam #chat-world preet ki lat mohay
|
|