E
Edm
Im trying to use an unbound text box to look up data in a
table using the formats *Data, *data*, or data*. Ive
tried multiple variations of the code below, to no
success. Obviously Im missing something. Besides the
time to go to community college and take a class, what is
it though? =)
Here is the code. Any takers?
Dim stDocName As String
Dim ssDocName As String
Dim stLinkCriteria As String
Dim ssLinkCriteria As String
stDocName = "STOCK_WHSE27"
ssDocName = "STOCK_OUT"
ssLinkCriteria = "[Model Number]=" Like "*" & Me!
[Text1] & "*"
DoCmd.OpenForm ssDocName, , , ssLinkCriteria
stLinkCriteria = "[Model Number]=" Like "*" & Me!
[Text1] & "*"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.RunCommand acCmdTileHorizontally
Thanks,
Edm
table using the formats *Data, *data*, or data*. Ive
tried multiple variations of the code below, to no
success. Obviously Im missing something. Besides the
time to go to community college and take a class, what is
it though? =)
Here is the code. Any takers?
Dim stDocName As String
Dim ssDocName As String
Dim stLinkCriteria As String
Dim ssLinkCriteria As String
stDocName = "STOCK_WHSE27"
ssDocName = "STOCK_OUT"
ssLinkCriteria = "[Model Number]=" Like "*" & Me!
[Text1] & "*"
DoCmd.OpenForm ssDocName, , , ssLinkCriteria
stLinkCriteria = "[Model Number]=" Like "*" & Me!
[Text1] & "*"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.RunCommand acCmdTileHorizontally
Thanks,
Edm