I´m doing a merge file in Word that accesses the data in MS Access 2000. Priorly in Office 97, the previous programmer used this line to capture the data in an open form´s control but it doesn´t seem to work in 2000.
strProdNum = acApp.Screen.ActiveControl.Value
It gives the message that the control doesn´t have focus. The line is in a Merge document. I´m trying to pull just the records related to the data in the one control. I created an input box to have user manually put it in and it works. But I´d rather have the data get captured on the Access 2000 form.
Any ideas what I need to do?
Thanks!
Mary )
[sig][/sig]
strProdNum = acApp.Screen.ActiveControl.Value
It gives the message that the control doesn´t have focus. The line is in a Merge document. I´m trying to pull just the records related to the data in the one control. I created an input box to have user manually put it in and it works. But I´d rather have the data get captured on the Access 2000 form.
Any ideas what I need to do?
Thanks!
Mary )
[sig][/sig]