View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12834 Members
Join this group to post and comment.
zia.sepsis
zia.sepsis • Jan 7, 2009

VB programing problem

hi mates
private Sub Command4_Click()
Dim N As Integer
N = Val(InputBox("enter the regno:"))
rs.MoveFirst

Do Until rs.EOF
If N = rs!Regno Then
Call disp
Else
MsgBox "no record found"
End If
Exit Do
Loop
rs.MoveNext

End Sub
this is the search command codes. the problem is its not working . so please help mates. if it is wrong please correct it and give me a solution soon.
zia.sepsis
zia.sepsis • Jan 7, 2009
I have to forget to add this.... am using vb as a front end and oracle as a back end
shalini_goel14
shalini_goel14 • Jan 7, 2009
Hi zia.sepsis,

If you can show us your full code, I guess that will be more helpful. Anyways by that time try putting MsgBox at every step, the one will not print msgbox text will indicate the error at that line.

Let us know after trying it. 😀
zia.sepsis
zia.sepsis • Jan 7, 2009
shalini_goel14
Hi zia.sepsis,

If you can show us your full code, I guess that will be more helpful. Anyways by that time try putting MsgBox at every step, the one will not print msgbox text will indicate the error at that line.

Let us know after trying it. 😀
thanks shalini for your concern. i have got the solution for it 😁
Kaustubh Katdare
Kaustubh Katdare • Jan 7, 2009
How about sharing the solution with us? I am sure lot of members will find it useful.
shalini_goel14
shalini_goel14 • Jan 8, 2009
zia.sepsis
thanks shalini for your concern. i have got the solution for it 😁
Hi zia.sepsis,

Good 😀.Please share your actual problem with solution here so that no one does that mistake again in future.

Share this content on your social channels -