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

VB in access referring to subform

P: 16
Private Sub Command33_Click()
DoCmd.Beep
Forms![frmStock].StockQuantity = Forms![frmStock].StockQuantity _
- Forms![FrmPurchase]![SfrmPurchase].Form![sQuantity]

the bit in bold above keeps bringing up an error when it is supposed to to refer to feild sQuantity in SfrmPurcahse it thinks it is looking for a field called SfrmPurchase in frmPurchase please help I'm at a loss
Nov 15 '06 #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.