Can I connect more than one company at a time?

Hi All.
I have to reflect all changes on business partners from one company to another. This reflection has to be on a dayly basis, and I have tried to make a connection to both companies at a time, but have not succeeded. Is it possibly?
Best regards
Allan Wolff

Hello Allan
The following code allows me to connect to both SBODemo_US and AeroOne company.
How do you connect to your comapnies ? What error do you get ?
Dim vCompany As SAPbobsCOM.Company
Set vCompany = New SAPbobsCOM.Company
vCompany.Server = "(local)"
vCompany.CompanyDB = "SBODemo_US"
vCompany.UserName = "manager"
vCompany.Password = "manager"
vCompany.AddonIdentifier = "asdf"
vCompany.UseTrusted = True
'Connect to the database
If vCompany.Connect <> 0 Then
    MsgBox vCompany.GetLastErrorDescription
    Exit Sub
End If
Dim vCompany2 As SAPbobsCOM.Company
Set vCompany2= New SAPbobsCOM.Company
vCompany2.Server = "(local)"
vCompany2.CompanyDB = "Suimat"
vCompany2.UserName = "manager"
vCompany2.Password = "manager"
vCompany2.AddonIdentifier = "asdf"
vCompany2.UseTrusted = True
'Connect to the database
If vCompany2.Connect <> 0 Then
    MsgBox v1Company.GetLastErrorDescription
    Exit Sub
End If

Similar Messages

  • Why I can not connect more than one device at a time with a monthly subscription?

    Yesterday I bought a monthly subscription (https://store2.adobe.com/cfusion/store/html/index.cfm?store=OLS-ES&event=displayProduct&ca tegoryPath=/Applications/EdgeInspect) and I got the confirmation of the purchase but I recognize Google Chrome I have synchronized devices but then only see one at a time, not displayed on all at once, can you help me?
    Thanks in advance.
    Message was edited by: dpcani_marble

    Good afternoon where should be logged? In Chrome I'm logged in adobe.creative.com and many times I restarted Chrome and still not working ...

  • Can't connect more than one device.

    I just bought an Airport Express 2 gen from a friend and I have two issues: I tried to reset it to factory settings and could not do it. Tried holding the reset button for 10 secs, unplugging and plugging back in while holding the reset button, holding the button for a longer time and nothing worked. I had no choice but to create another network. Once created, I can't connect more than one device. If I have my MacAir hooked up the network and I try to get my Ipad in, the minute I type the network pass in my Ipad, a screen pops up where I have to log in with my internet provider account. When I do that, it will connect, but my MacAir will disconnect automatically.
    Appreciate any help!

    Things are a bit different with the 2nd Gen AirPort Express and other newer AirPorts.
    A Factory Default Reset is now the same as what was previously known as a "Hard Reset".
    Power up the AirPort Express and let it run a few minutes.
    Hold in the reset button on the Express for 10 seconds
    Release the reset button and allow a full minute for the Express to restart to a slow, blinking amber light
    If the Express is operating correctly, it will be back to factory default settings at this time.
    If you try the reset a few times and the Express will not return to default settings, the Express is defective.

  • How can I buy more than one item at a time?

    How can I buy more than one item at a time i iPhote fx a book and a calander? It would be nice to place one order and only pay for the shipping once!

    You can't.
    Regards
    TD

  • Can't print more than one job at a time.

    I am trying to print to either a HP DesignJet 1055cm plotter or a HP LaserJet 5000N. I can't send more than one file at a time. If i don't wait until the current job starts printing, the next one won't print. For example if I sent five files one right after the other, I might get 1, 4 and 5. I don't think it's a printer problem because it happens on two different printers, and it doesn't happen when I print from my PC. Any idea what could cause this?

    My work around is to put all the jobs "on hold" in the print settings or just "stop jobs" on the printer window.
    Then I click on each print job in the que and let them print one at a time. This way I can at least quit the program and move onto the next thing.

  • When I open an event, including flagged items, the photos appear one by one, not as thumbnails, so I can't export more than one phot at a time. How do I get iPhoto to show the thumbnails?

    When I open an event, including flagged items, the photos appear one by one, not as thumbnails, so I can't export more than one phot at a time. How do I get iPhoto to show the thumbnails?
    I've tried rebuilding the thumbnail database, but that hasn't helped.

    What version of iPhoto and system are you running?
    Try moving the Zoom slider at the bottom of the iPhoto window all the way to the left.  Does that let more than one photo display in the window?
    OT

  • HT5525 How can I order more than one picture at a time in iphoto?

    How can I order more than one picture at a time in iphoto?

    It's also wise to crop the photos to the print size you're ordering so you have control over what portion of the image gets printed.  Otherwise, the image will be scaled so the smaller dimension fills the paper cropping off some of the oither dimension.
    OT

  • Can we ask more than one question at a time in Quick Poll?

    Dear Experts,
    Can we have more than one question at a time in Quick Polling.
    The User has to answer more than one question in single poll.
    is that possible?
    Thanks in advance for your attention.
    Regards,
    Viswes.

    Hi Viswes,
    Through customize u can achieve ur requirement..
    Create two Quickpoll with different campaign name and start ongoing..
    Next create  iview for each quickpoll by using KM QuickPoll iView Template  enter the corresponding campaign name for the quickpoll iview.
    Next create one JspDynPage component in NWDS
    In that JSP file
    <iframe  src="Give the preview path of Quickpoll iView 1" align="left" >
    </iframe>
    <iframe  src="Give the preview path of Quickpoll iView2 " align="left" >
    </iframe>
    Now u create one iview for that JspDynPage component
    in that two Quickpoll question will display in one iView..
    Points are welcome if its helpful
    Regards
    Thillai

  • Connect more than one computer to a time capsule volume?

    Hello. I am considering buying an old time capsule (500G, 2nd generation) as a little in-house server to store data that need to be accessible for more than one work station. Is it possible to connect more than one work station to one time capsule?
    Thanks

    While it is possible to connect more than one computer to the Time Capsule......I would not recommend that you buy the Time Capsule that you are looking at.....unless you know that the owner has replaced the hard drive and power supply.
    Most of these models never made it much past a few years of operation, so if this is an "original", you have a hint of what will happen not long after you purchase the product.

  • How can i connect more  than one database

    i would like to connect more than one database one my laptop
    now i have database one and sid=ddms
    and i would another such as sid=ddmf
    how can i connect two database on the same my laptop

    I am not sure what you mean by after built? Are you trying to export data from one database and import it into another? If so, export it using data pump making sure you have the correct ORACLE_SID. Also be sure both database have to same character set. Then change the ORACLE_SID to other database, and run data pump to import the data into the other database. Hope that makes any sense...

  • HT3563 can I connect more than one bluetooth headset to my imac?

    Can I connecy more than one bluetooth headset to my imac?
    Thanks

    Anthony
    I have a Plantronics 975 earpiece that works very well with my Razr.  I
    just got a Panasonic KX-TG7873S phone system for my home, it has a
    "Link-to-Cell" cellular convergence solution, from what I understand it is
    just Bluetooth enabled.  I have paired both device with my Razr.  In
    settings, Bluetooth setting, both device show.  But only one device can
    connect at a time.  If my Plantronics is connected and I choose the
    Panasonic device, the Plantronics device disconnects and the Panasonic
    device then says it is connected.  Both devices work when they
    are connected.  Is it because they are both "headsets"?
    So, to have to remember to connect to one or the other device, depending on
    weather I am coming or going is not practical.
    On Sat, Sep 14, 2013 at 1:14 PM, Verizon Wireless Customer Support <

  • Can't gift more than one song at a time

    Does anyone know how to gift more than one song at a time (not an album, but non-contiguous songs off one or multiple albums)?
    I tried adding them to my wishlist so I could add in several, but I already own several of the songs and you can't add songs you already own.
    Of course, this would be resolved if they would just bring back the shopping cart, but for now, I have no idea how to accomplish what should be a very simple task.

    It is, indeed, frustrating, and seems short-sighted on Apple's part. Imagine a shop owner saying, "You can buy anything you want for yourself, as many as you like, but if it's a gift, you can only buy one."
    I did receive a nice response from Apple confirming that this is, in fact, impossible to accomplish:
    Dear Michael,
    Welcome to iTunes Store Customer Support. I am Animesh and I will be assisting you today.
    Thank you for your interest in giving an iTunes Store or App Store gift. I understand that you would like to gift multiple songs from different albums. I understand that this is important for you.
    Michael, please note that you can buy a song, an album, a video, an audiobook, a TV episode or season, a movie, or an application for anyone who has a valid email address. However, there is no such option to gift multiple songs at a time from different albums. You are required to gift them individually, also the Wishlist feature is for personal usage and not gifting.
    I can realize that it must be difficult for you. I have felt the same way in the past when I've found myself in similar circumstances. I have found in situations like this that voicing your opinion is a good way to get the "ball rolling".
    Please know that Apple takes the feedback from our customers very seriously. This is the reason for our feedback page - to create a forum where our users can vent, praise or share whatever feelings they have to allow us to meet your needs, and grow as a company.
    I took the liberty of submitting your feedback to Apple on your behalf. I would also encourage you to share this link with all of your friends and family who wish to submit the feedback, and have them all submit the same request.
    Here is the link for you.
    http://www.apple.com/feedback/itunesapp.html
    I know sometimes it feels as though submitting feedback will not yield results, so I will also invite you to check out the following link. This is a letter from Apple's CEO addressing customers who purchased an iPhone very early on at $599, then the price went down to $399 shortly after. Mr. Jobs heard our customers and Apple responded accordingly.
    http://www.apple.com/hotnews/openiphoneletter/
    I hope that you will consider sharing your thoughts on the feedback page.
    Michael, we very much appreciate your concerns, and if there's anything else I can do for you, just respond to this email and let me know. Thank you for supporting the iTunes Store.
    Sincerely,
    Animesh
    iTunes Store Customer Service

  • Is there a stereo bluetooth headset that can pair with more than one device at a time?

    Is there a stereo bluetooth headset that can pair, i.e. multipoint, with more than one device at a time?
    Are the MacBook and iPhone 4 capable of multipoint bluetooth technoloagy?
    The goal is for my wife to be able to watch her Korean TV soap operas on her MacBook and still receive a call on her iPhone 4 via a stereo bluetooth headset.
    I was looking at the Motorola S10-HD but after further review saw that it only pairs with one device at a time.
    Appreciate any and all input. My Googling has returned no results.
    Rick

    TeslasBB wrote:
    pairing my BB8330 with my blue tooth earphone(TM:jawbone) and my microsoft sync thats in my car simultaneously? if i pair with the car, will i have to pair my jawbone all over again?
    You can only pair one device at a time to your 8330, or any other phone for that matter.  The "pairings" are saved to the phone, you can use one or the other and you won't have to pair it again.  Once you turn your bluetooth device on and the phone is on, they will find each other again.
    Hope this helps,
    John
    Stevie Ray! 1954-1990
    ** Don't forget to resolve your post with the accepted solution.

  • How can i update more than one table at a time?

    i would like to update more than one table at a time. In Java Studio creator2 how can i do table updation?

    Hi,
    Please go through the below thread might be of help to you.
    http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=51839
    RK

  • Can I import more than one song at a time?

    Hello all, this is my first post so go easy on me...lol
    I just purchased my first iPOD today and seem to notice so far that I can only import one song at a time into iTunes library. I cannot select more than one song at a time by holding down the shift button. These are songs that I already have on my computer, not songs just ripped through iTunes. Also how can I get album art onto all of my songs? I've noticed that only one album so far has album art on it. The others don't. Thanks in advance.
    Toshiba Tecra 8100   Windows XP Pro  

    Thanks Rachyl, I'll try that when I get off of work. What about the album art? How can I make sure I get it every time in the future. Can I rip my CD's using another software to make sure they are tagged right?
    BTW I used to live in NC not too long ago and went to school there....GO HEELS!

Maybe you are looking for