Thanks so much for confirming what I suspected.
Now I need to nail down how to kick off the macro of the needed MDB file.
I know I can app.DoCmd.RunMacro("mymacro")
But how do I address the MDB that contains the macro?
I will be researching further.
- Paul
Tony Toews <ttoews@telusplanet.net> wrote in message news:<u7uq80t2pgdh5v5obil9irfinqusnvm2ii@4ax.com>. ..[color=blue]
>
pdrabik@bigfoot.com (Paul Drabik) wrote:
>[color=green]
> >How can a numeric value be returned to the calling vb program?
> >Does the VB code wait for a return value at all[/color]
>
> I don't ever recall seeing any way to set a return code for such a calling app.
> Such may exist and I would welcome any such info.
>
> Application.Quit exists but it has no return code. (At least not in A97) Neither
> does DoCmd.Quit.
>[color=green]
> >or do we need to
> >perhaps write a TXT file to pass this to the calling program?[/color]
>
> Likely your best option.
>[color=green]
> >I guess we will see, but does the VB program still run while the
> >Access object is doing it's data processing? or does the VB need to
> >run in a loop, continuously checking for the result file?[/color]
>
> Both well run. So yes VB will need to run in a loop.
>
> Tony[/color]