gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
I have code that loads data that is selected on one form to another form (Someone here helped me with - thanks!!!!!)
The code runs great except for the last line that I tried to add. I want filed "_Upload" to equal "Y". Its a Combo box Formatted True/False
Also how do I ensure that form "frm_VendorQuoteData" is open when code is run?. I don't want to open the form, I want to make sure it was already open.
Thanks
The code runs great except for the last line that I tried to add. I want filed "_Upload" to equal "Y". Its a Combo box Formatted True/False
Code:
Private Sub LoadItemId_Click()
[Forms]![frm_VendorQuoteData].[ITEM_ID].Value = Me.ItemID.Value
[Forms]![frm_VendorQuoteData].[_ITEM_ID_DESC].Value = Me.Description.Value
[Forms]![frm_VendorQuoteData].[ITEM_RVSN_ID].Value = Me.Rev.Value
[Forms]![frm_VendorQuoteData].[_COMMD_CODE].Value = Me.Commodity.Value
[Forms]![frm_VendorQuoteData].[QT_UM_CD].Value = Me.UM.Value
[Forms]![frm_VendorQuoteData].[_Upload] = "Y"
End Sub
Also how do I ensure that form "frm_VendorQuoteData" is open when code is run?. I don't want to open the form, I want to make sure it was already open.
Thanks
Last edited: