We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Private Sub cmdWellByLease_Click() Dim Str As String Str = "SELECT WRDB_WELLDATASHEETFINAL.* FROM WRDB_WELLDATASHEETFINAL WHERE (WRDB_WELLDATASHEETFINAL.WELLNAME like [Enter Beginning of Lease Name] & ""*"");" DoCmd.OpenForm "frmWellDataSheet", acNormal, Str, , acFormEdit, acWindowNormal 'unhide WFLAC objects (requery command button and combo box) Forms!frmWellDataSheet!cmdRequery.Visible = True Forms!frmWellDataSheet!OtherSearch.Visible = True 'Set filter for the combo box as the same parameter as given by the user above in the parameter query Forms!frmWellDataSheet!OtherSearch.RowSource = Str End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.