A
antonov
I have 2 problems:
1. I don't know why the command sendkeys "~" won't work on my pc but it
works on any other pc I run the program on
2. I have this form in which I input some data. If the data is not in the
table then a new form will open and I can input the new data. When I'm done
I press the "done" command button which runs this code:
DoCmd.Close acForm, "Warehouse"
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Warehouse"
stLinkCriteria = "[IdMAWB]=" & [whatmawb]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Now: this works fine but... is there another way to make "Warehouse" refresh
without closing and reopening it?
Thanks for any input
1. I don't know why the command sendkeys "~" won't work on my pc but it
works on any other pc I run the program on
2. I have this form in which I input some data. If the data is not in the
table then a new form will open and I can input the new data. When I'm done
I press the "done" command button which runs this code:
DoCmd.Close acForm, "Warehouse"
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Warehouse"
stLinkCriteria = "[IdMAWB]=" & [whatmawb]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Now: this works fine but... is there another way to make "Warehouse" refresh
without closing and reopening it?
Thanks for any input