|
-
Nov 25th, 2001, 12:18 AM
#1
Thread Starter
New Member
HELP !(Update status TRUE ) in Access
I need to update status in fieldname(Check) from FALSE to TRUE
whenever I use event click,
How can I code the SQL Statement ?
I try this code:
Private Sub cmdCheck_Click()
cnMain.BeginTrans
cnMain.Execute "UPDATE tblDistribute " & _
"SET Check = 1 " & _
"WHERE DistributeID = " & txtDistributeID.Text
cnmain.CommitTrans
Data type of fieldname(DistributeID ) is Number and
Data type of fieldname(Check) is Yes/No
If anybody know please give your advise to me 
Thank you so much
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
|