By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,996 Members | 884 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,996 IT Pros & Developers. It's quick & easy.


P: 64
Hello I'm having a single tiny problem which is..

The coding below is the coding for update the quatity...
Expand|Select|Wrap|Line Numbers
  1. Dim sql As String
  3. sql = "UPDATE Parts SET Parts.StockLevel = [StockLevel]-[Forms]![IRForm]![OrderForm]![QtyUsed] WHERE (((Parts.ItemCode)=[Forms]![IRForm]![OrderForm]![cboitem]));"
  4. DoCmd.RunSQL sql
and the problem is when I put checkbox to update the selected check it wouldn't work and actually I didn't know how to put the code for checkbox...
Apr 7 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.