Provision and VB.i

Including VB.i shouldn't be necessary for this task.

Add these var defs.....

define shared variable cur-comp as char no-undo.
define shared variable DCD-USERID as char no-undo.
define shared variable CUR-COMP-NAME as char no-undo.

...to access the company field, company name and current user.

I just verified and it worked for me on 6.1.

Good luck
Lonnie

--- In vantage@yahoogroups.com, jeremyrleonard@a... wrote:
> Hello,
> I wrote an application in Provision. It runs fine. I just can't
figure out
> how to pass the current company and userid to my program from
Vantage.
>
> I have tried to include the vb.i file but after I compile the
application and
> add it to the vantage menu I get an error "Mismatched number of
Parameters"
> when I go to run it.
>
> The program runs fine if I set a static value and do not include
the vb.i
>
> Any advice?
>
> Thanks
> Jeremy
>
>
> [Non-text portions of this message have been removed]
Hello,
I wrote an application in Provision. It runs fine. I just can't figure out
how to pass the current company and userid to my program from Vantage.

I have tried to include the vb.i file but after I compile the application and
add it to the vantage menu I get an error "Mismatched number of Parameters"
when I go to run it.

The program runs fine if I set a static value and do not include the vb.i

Any advice?

Thanks
Jeremy


[Non-text portions of this message have been removed]