|
-
Jun 29th, 2009, 01:49 AM
#4
Re: how to minus an integer from database (from columns in 2 table) in vb2005 ?
You need to formulate the SQL query using the syntax explained in that tutorial.
You havent given any information at all about how you are accessing your database within your own code, but assuming that you are using ADO.Net you can create a command object, set its commandtext to your SQL and then call its ExecuteNonQuery method.
If thats all greek to you then in addition to the SQL tutorial you will need to look up a good ADO.Net tutorial as well. There's a basic intro to using ADO.Net with Access here or jmcilhinney has written an introduction in the Codebank.
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
|