|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Visual Basic SQL problem
Hello,
I am suffering a problem with my Visual Basic concerning the use of some SQL. chkStudent = True datStudent1.RecordSource = "SELECT stuID FROM Student" txtResult.Text = txtResult.DataField = "stuID" ChkStudent is where a check box has been ticked and datStudent1 is my data control which connects to the Student table. However when i press the desired button to run this code, the txtResult says "False" . Why is this? Regards |
|
#2
|
|||
|
|||
|
Where does txtResult.Datafield come from? And I'm not sure how VB handles statements like x = y = z
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Visual Basic SQL problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|