zia.sepsis
zia.sepsis
Branch Unspecified
08 Jan 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

Branch Unspecified
10 years ago
I have to forget to add this.... am using vb as a front end and oracle as a back end
shalini_goel14

shalini_goel14

Branch Unspecified
10 years ago
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

Branch Unspecified
10 years ago
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 😁
10 years ago
How about sharing the solution with us? I am sure lot of members will find it useful.
shalini_goel14

shalini_goel14

Branch Unspecified
10 years ago
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 -

Only logged in users can reply.