Hi all
I'm using two forms of which;
a) is a search for an item code form
b) is what about the item such description and plenty other stuff and details.
Form a) is opened by a command button when needed. When a code is found from a search it is "pasted" on b) by double click.
Here's the code:
If IsLoaded("b") Then
'Forms!![txtproductid] = Me.productID
'Forms!.Refresh
'DoCmd.close acForm, "a"
'Exit Sub
'End If
txtproductid on b is a combo box. There is also an afterupdate event on txtproductid so it should update automatically
It should work...no? Suggestions more than welcome
Thanks in advance
Kenneth
I'm using two forms of which;
a) is a search for an item code form
b) is what about the item such description and plenty other stuff and details.
Form a) is opened by a command button when needed. When a code is found from a search it is "pasted" on b) by double click.
Here's the code:
If IsLoaded("b") Then
'Forms!![txtproductid] = Me.productID
'Forms!.Refresh
'DoCmd.close acForm, "a"
'Exit Sub
'End If
txtproductid on b is a combo box. There is also an afterupdate event on txtproductid so it should update automatically
It should work...no? Suggestions more than welcome
Thanks in advance
Kenneth