Sage 100

 View Only
  • 1.  Silent ODBC Connection with new Excel

    Posted 06-29-2022 12:19
    First time trying to set up a silent Sage100 ODBC connection with newer Excel versions. I've done it many times in the old versions of Excel but cannot get it to work in the newer Excel. I read the KB articles, typed everything in Uppercase, using a 3 letter user code and checked/unchecked all the boxes Sage KB says to do. When I click on Test Connection, it connects successfully. When I go to Excel and try to use the Silent connection it prompts for a login. Happens on the customer's server as well as on my own standalone PC. 
    Sage100 v2021.2, Customer has Excel 2019 and I have Excel for Microsoft 365 version 2205. What am I missing?

    ------------------------------
    Kenny Daniel
    TechnoClarity, Inc.
    ------------------------------


  • 2.  RE: Silent ODBC Connection with new Excel

    Posted 06-29-2022 12:40
    I always use From MS Query (not From ODBC).


    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    ------------------------------



  • 3.  RE: Silent ODBC Connection with new Excel

    Posted 06-29-2022 13:47
    Shot in the dark... Try manually creating a System DSN instead of using the user DSN.  Also, maybe there is an issue with the driver compatibility.  Try installing the Sage 100 64 bit driver.

    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Chauffeur, Chef, and Personal Assistant to Sprinkles
    ------------------------------



  • 4.  RE: Silent ODBC Connection with new Excel

    Posted 06-30-2022 10:58
    Kevin, thank you, your suggestion of using "From MS Query" worked and makes all functionality of the Query just like in the old versions of Excel.
    "From ODBC" refuses to work no matter what i do. Is anyone using "From ODBC" with a silent query? I now tried it on a third install and it's still doing the same so it must be that I'm doing something wrong, I'd love to know if From ODBC is supposed to work or are we just to use From MS Query.

    ------------------------------
    Kenny Daniel
    TechnoClarity, Inc.
    ------------------------------



  • 5.  RE: Silent ODBC Connection with new Excel

    Posted 06-30-2022 11:39
    I have never used "from ODBC" for an Excel query.  Always the MS Query.

    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    ------------------------------



  • 6.  RE: Silent ODBC Connection with new Excel

    Posted 07-01-2022 11:04
    I've never been able to get From ODBC to work. I have only ever been able to use From Microsoft Query.

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 7.  RE: Silent ODBC Connection with new Excel

    Posted 07-01-2022 15:15
    Edited by Dan Burleson 07-01-2022 18:09
    "From ODBC" should probably be renamed to "Power Query from ODBC", is redundant with a "Silient DSN" and a more powerful alternative to MS Query. Data Source settings are by definition capable of being silent without having to create alternate DSN's. If you're having problems I would first clear any existing Data Source settings that may be incomplete or "in-error" as I show in the beginning of this 45 second video that loads a Sage 100 table.

    One of the more powerful capabilities of using the companion to "From ODBC" called "Blank Query" is the ease with which one can convert a Crystal Report query into a Power Query. You're missing out if you aren't doing this because almost every client I have prefers doing queries into an Excel format that allows for filtering and traversing in a known environment. I'll post another video on doing this if there's any interest.



    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    ------------------------------



  • 8.  RE: Silent ODBC Connection with new Excel

    Posted 07-01-2022 15:37
    @Dan Burleson so the only "magic" needed to get it to work is "company=ABC" !? Really?​ How did you discover that? Cool!

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 9.  RE: Silent ODBC Connection with new Excel

    Posted 07-01-2022 15:51
    @Dan Burleson thank you. This is great. Yes, please post another video if it’s not too much trouble.

    ---------------------------------
    Kenny Daniel
    TechnoClarity, Inc.
    ---------------------------------





  • 10.  RE: Silent ODBC Connection with new Excel

    Posted 07-01-2022 18:03
    Edited by Dan Burleson 07-16-2022 17:05
    @Greg Stiles I likely learned this from working with @Clark Walliser . He did a class at Meeting of the Minds a few years back and I helped with the preliminaries.

    @Kenny Daniel​ Here's a quick (and dirty) 55 second video that shows how one can convert a Crystal Reports query into a Power Query. This demonstration assumes that a prior Data Source setting (an recent Excel feature different than a "Silent DSN") has been established with the credentials and company code as was shown in the prior video. This is just the query part. Parameters are a bit more involved, but once converted these files are very reliable, resilient and, of course, silent.



    ​​​

    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    ------------------------------