Loading

Add new comment

jaysfall's picture
Offline
Joined: 01/20/2010
re:

its like just youre comparing a sql statement dba.hehe
gnto siguru un..ah siguru ung mga numbers eh nka array po un..
so it means you will need a for loop..

example:
nakaaray po ung cmd jan
Private Sub Command1_Click(Index As Integer)
'Label2.Caption = ""
For x = 0 To 2 'so tatlo lng ung cmd x represent its index
If Command1(x).Value = True Then
Label2.Caption = Label2.Caption & Command1(x).Caption
End If
Next x
End Sub

rs.open"select * from table where username="& val( label2.caption) &"",con,2,3

if not rs.eof then
msgbox"sdfsdfsf"
else
msgbox"sdfsdf"
end if

hehe try mo!

Consultant / .Net Developer

::jayxceleste@ymail.com::

+639161514777

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.