467,161 Members | 912 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

VB in access referring to subform

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
  • viewed: 714
Share:

Post your reply

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

Similar topics

7 posts views Thread by damjanu@hotmail.com | last post: by
reply views Thread by M. Farrenkopf | last post: by
49 posts views Thread by Yannick Turgeon | last post: by
2 posts views Thread by John Young | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.