Paul P
21st January 2003, 08:08
Dear all,
I can't see a way of opening a session in another company by API from its manual. Any of you have idea for work around? Thanks very much
Rgds,
Paul
mark_h
21st January 2003, 15:30
Just wondering if you could do a switch.to.company , right before launching a session. The help says that this sets the predefined variable 'compnr' to the value of the new company. I wonder if the sub-sessions then read/write to the new value. I have never tried this so I am only guessing.
Mark
Paul P
23rd January 2003, 03:50
Hey, thanks, Mark,
I never tried it but I'll give it a go and let you know the result
Rgds,
Paul
fmorais
7th July 2003, 14:32
Hi,
Can you tell us the result please?
I am in the process of trying to do something similar...
Thanks
Fred
Paul P
8th July 2003, 06:12
Dear Fred,
Actually, that time I was trying to make single barcode integration session for all our client's companies. In the end, I just made one normal session and ran it separately for each of their companies using different jobs.
Thanks for the suggestion, Mark. But unfortunately, Mark and Fred, I haven't tried it. Sorry can't help you much, Fred
Rgds,
Paul
fmorais
8th July 2003, 11:51
Thanks Paul.
In the meantime, I tried the "swith.to.company"...and it worked.
Fred
NvanBeest
8th July 2003, 21:56
Thanks Fred!
Saves me the trouble of testing it! I probably need it in a project I'm currently busy with, so it's good to know beforehand that it actually works.
Paul P
9th July 2003, 13:44
Thanks, Mark and Fred