|
-
Dec 1st, 2002, 03:21 AM
#1
Thread Starter
Addicted Member
Is This Correct??
Hi,
Will Somebody please check this code ?? It is not working but I dont see any problem.
Dim str As String
Dim rst As New ADODB.Recordset
str = "Select Sum(Total) as tot from Purchase where Chalan='" & txtchalan.Text & "'"
rst.Open str, Connection.cn, adOpenKeyset, adLockOptimistic
If rst.RecordCount > 0 Then
txtamount = tot
End if
rst.close
set rst=nothing
-
Dec 1st, 2002, 05:15 AM
#2
Hyperactive Member
-
Dec 1st, 2002, 08:17 AM
#3
Frenzied Member
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|