CharlesWhiteman
Registered User.
- Local time
- Today, 14:23
- Joined
- Feb 26, 2007
- Messages
- 421
I have a Form & ComboBox. Based on the value selected in the Cb will denote which set of values from one table are appended to another table. in My case values are stored in TblItems and are appended to TblQuotedItems. On my FrmQuoteBuilder is a combo box which denotes which values are going to be appended but there is also a text box which contains the 'QuoteRef' and i also want to append this into the TblQuotedItems and i am thinking that if i do the append query in VB then there should be a way of including the 'txtQuoteref' in with the code whereas i am unable to using the standard query. How would i write this so as to work in Vb?
INSERT INTO TblQuoteItems
SELECT TblInvuS600.*
FROM TblInvuS600
WHERE ((([TblInvuS600].Users)=Forms!FrmQuoteBuilder!CbInvuUsers));
INSERT INTO TblQuoteItems
SELECT TblInvuS600.*
FROM TblInvuS600
WHERE ((([TblInvuS600].Users)=Forms!FrmQuoteBuilder!CbInvuUsers));