mmoscowitz
MIS
I am trying to export information into Access from Visual Fox PRo using a module in Access so all data will be imported automaticaly with the click of a button. I created a foxpro object in Access and then proceeded with the commands that I used in foxpro to get the data manually but it just keeps running and never fully executes the query. Can anyone help me with my code. Here is what I have so far.
Dim fox As Object
Set fox = CreateObject("VisualFoxPro.Application"
fox.DoCmd ("set path to i:\ipc\vdata"
fox.DoCmd ("set excl off"
fox.DoCmd ("MODIFY QUERY \\ipc\d_drv\ipc\vdata\production_query.qpr"
fox.DoCmd ("Do \\ipc\d_drv\ipc\vdata\production_query.qpr"
Thanks for you help
Dim fox As Object
Set fox = CreateObject("VisualFoxPro.Application"
fox.DoCmd ("set path to i:\ipc\vdata"
fox.DoCmd ("set excl off"
fox.DoCmd ("MODIFY QUERY \\ipc\d_drv\ipc\vdata\production_query.qpr"
fox.DoCmd ("Do \\ipc\d_drv\ipc\vdata\production_query.qpr"
Thanks for you help