If you wanted to use the value of txttapetype as part of the name of the query then this should work.
Select Case txttapetype
Case "DTR"
DoCmd.OpenQuery "LB Make " & txttapetype & " table", acViewNormal, acEdit
DoCmd.OpenQuery "LB Append " &...
Hello
what does the Select look like? If I understand what you want it should look like this.
Select Case txttapetype
Case "DTR"
DoCmd.OpenQuery "LB Make txttapetype table", acViewNormal, acEdit
DoCmd.OpenQuery "LB Append txttapetype to txttapetype master...
you could try the form_keyDown sub.
Private Sub Form_KeyDown(KeyCode As Integer, Shift _
As Integer)
Select Case KeyCode
Case vbKeyReturn
'Do something
Case Else
End Select
End Sub
You have to set the Form control keyPreview to True
yourForm.KeyPreview = True
Hope this...
Hello,
I have a form with a large amount of text boxes, is it possible to reference these as an array , or is there an easier way to do this. I set all of the boxes to not visible when the form loads and only show them when they are filled. I am filling them in a loop with a table. I hope...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.