Sage 100

 View Only
  • 1.  Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 12-07-2023 00:41
    Edited by Dan Burleson 12-07-2023 01:28

    There are additional efforts to use Crystal Reports 2020 with MS Office or text files. Without the native connectors we will have to use downloaded add-ins. Does anyone know a workaround for these? For MS Office files, I see that it is now necessary to:

    1. Install the 64-Bit Microsoft Access Database Engine 2010 Redistributable or the Microsoft Access Database Engine 2016 Redistributable
    2. Map a drive to network location of Sage 100
    3. Setup a separate system DSN for each Excel or MS Access file at each workstation that would sourced by Crystal Reports
    4. For Excel files, add "System Tables" on the Database tab of Crystal Reports Options.


    Am I missing something? The SAP knowledge base article for this issue is here. My client receives payment information via an Excel file that must be matched against AR_OpenInvoice. I work with many others that use MS Office and/or text files with Crystal that aren't yet on Sage 2023. Crap.



    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------



  • 2.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 12-08-2023 08:02

    Ugh, the war against Microsoft Access continues....

    I've more-or-less switched to only using Access as a front-end and keeping the data in SQL Express, with PowerShell as the conduit for getting local/Excel data into SQL. It's not better. or easier.



    ------------------------------
    Steve Iwanowski, NextStep Technology Advisors, aka DSD Lancaster PA ¯\_(ツ)_/¯
    ------------------------------



  • 3.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 12-08-2023 17:28

    Last time I saw Crystal Reports not have specific drivers were due to the OEM relationship with Sage and Crystal. They removed them on purpose and a lot of us complained about it and the following version had them back in there. Maybe this is the same that has come back around.



    ------------------------------
    Todd Martin
    MBA Business Software
    https://www.mbabsi.com
    ------------------------------



  • 4.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 12-08-2023 19:02

    What???  Sage is trying to save money by leaving out helpful features???  Perish the thought!!!!



    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    (540) 221-4444
    ------------------------------



  • 5.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 01-15-2024 07:38

    Please raise the issue/question at MOTM.



    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    (540) 221-4444
    ------------------------------



  • 6.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 02-08-2024 16:21

    What is the impact if we run a Crystal report from the Sage menu that pulls data from an Access DB located on the server?  Do we still need to install these drivers at the workstation level?



    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    (540) 221-4444
    ------------------------------



  • 7.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 02-09-2024 01:16
    Edited by Dan Burleson 02-19-2024 02:24

    Yes, you'll have to visit each workstation that uses the custom report because adding a System DSN, that would be available to all users on a terminal server or SPC cloud, appears to be broken. The ODBC drivers come with windows, but without the built-in connector, adding a DSN and referencing it in the Crystal report will work. Here's a sample of the registry entry import to quickly add a DSN (replace the entries between << & >> with your specific names and paths). You can save this as a file with a ".reg" extension and run it with administrator privileges or to reduce the chances of a typo, create your own DSN manually and export the relevant registry entries.

    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\MyAccessDSN>>]
    "Driver"="C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE16\\ACEODBC.DLL"
    "DBQ"="\\MyServer\\MyPath\\<MyAccessDatabaseName"
    "Description"="MyAccessDatabaseDescription"
    "DriverId"=dword:00000019
    "FIL"="MS Access;"
    "SafeTransactions"=dword:00000000
    "UID"=""
    
    [HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\MyAccessDSN\Engines]
    
    [HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\MyAccessDSN\Engines\Jet]
    "ImplicitCommitSync"=""
    "MaxBufferSize"=dword:00000800
    "PageTimeout"=dword:00000005
    "Threads"=dword:00000003
    "UserCommitSync"="Yes"



    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------



  • 8.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 02-19-2024 02:18
    Edited by Dan Burleson 02-19-2024 17:31

    I figured out how to avoid having to visit each workstation to setup a User DSN and instead add a System DSN for 64-Bit Crystal 2020. I looked into the Registry to see why adding an entry for an Access database to the System panel would be accepted, but not be reflected in the System panel nor in ODBC sources visible to Excel or Crystal. It turns out that the entries for the MS Access database are being added in an odd place. Normally, System DSN's are stored under:

    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI

    However, now they are being stored under:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\ODBC\ODBC.INI

    This might explain why the DSN isn't visible in the System panel after successfully setting one up. I was able to create a similar registry entry that, when loaded to the normal area, worked as expected and was visible in the System Panel. As always, make a registry backup before using the template below. It must be loaded from a local and not a network drive or you will get a file error. Adjust all the strings the begin with "My" for your target installation. Note that this is for 64-Bit Office.

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\MyAccessDSNName]
    "Driver"="C:\\Program Files\\MyDLLPath\\ACEODBC.DLL"
    "DBQ"="\\MyServer\\MyPath\\MyAccessDatabaseFileName"
    "Description"="MyAccessDatabaseDescription"
    "DriverId"=dword:00000019
    "FIL"="MS Access;"
    "SafeTransactions"=dword:00000000
    "UID"=""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
    "MyAccessDSNName"="Microsoft Access Driver (*.mdb, *.accdb)"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
    "MyAccessDSNName"="Microsoft Access Driver (*.mdb, *.accdb)"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\MyAccessDSNName\Engines]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\MyAccessDSNName\Engines\Jet]
    "ImplicitCommitSync"=""
    "MaxBufferSize"=dword:00000800
    "PageTimeout"=dword:00000005
    "Threads"=dword:00000003
    "UserCommitSync"="Yes"



    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------



  • 9.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 02-19-2024 15:03

    Asking for a friend - If you make the appropriate changes to the above, can you then save it as TXT file, then change the extension to REG, then right click, run as administrator so that Windows will load it?

    Again, asking for a "friend"



    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    (540) 221-4444
    ------------------------------



  • 10.  RE: Crystal 2020 No Longer Includes MS Access, Excel, or Text Connectors

    Posted 02-19-2024 17:39

    Yes, your friend has it correct. I just made another change to my template above for the ACEODBC.DLL path after "Program Files" it could be different depending on which version of MS Access your running. See the "MyDLLPath" string above.

    "Driver"="C:\\Program Files\\MyDLLPath\\ACEODBC.DLL"


    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------