Hi,
Is there any way of accessing Lawson tables via MS Access? Either via DME calls or ODBC/OLE-DB?
Petter
You can also connect via OLE DB which is slower but does enforce some security.
I am unable to connect our test (LSF & 9.0) database. I can connect to test with Crystal Reports but not Excel (addins is not an issue) or Access. When you log in using either Microsoft product it just hangs and never connects nor throws an error. We ran a trace and we are not seeing any errors - msqry32 3b8-898 ENTER SQLAllocEnv HENV * 0C0F7F28
msqry32 3b8-898 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS) HENV * 0x0C0F7F28 ( 0x008a1788)
msqry32 3b8-898 ENTER SQLDataSourcesW HENV 008A1788 UWORD 31 WCHAR * 0x008A1830 SWORD 34 SWORD * 0x0012F1CC WCHAR * 0x00000000 SWORD 0 SWORD * 0x0012F192
msqry32 3b8-898 EXIT SQLDataSourcesW with return code 0 (SQL_SUCCESS) HENV 008A1788 UWORD 31 WCHAR * 0x008A1830 [ 18] "MS Access" SWORD 34 SWORD * 0x0012F1CC (18) WCHAR * 0x00000000 SWORD 0 SWORD * 0x0012F192 (31)
msqry32 3b8-898 ENTER SQLDataSourcesW HENV 008A1788 UWORD 1 WCHAR * 0x008A1830 SWORD 34 SWORD * 0x0012F1CC WCHAR * 0x00000000 SWORD 0 SWORD * 0x0012F192
msqry32 3b8-898 EXIT SQLDataSourcesW with return code 0 (SQL_SUCCESS) Any words of wisdom to resolve our issue would be appreciated. Thanks Sheila
Does anyone know how to connect Access to Lawson using OLEDB connection? How and what driver do you use?
The EMPLOYEE table can be secured for the ESS role to only allow access if COMPANY/EMPLOYEE in the table = COMPANY/EMPLOYEE in the employee’s identity. The EMPLOYEE table can be secured for the MSS role by using the IsSupervisorOf function which gives access to only the direct reports of a manager. So, when both are in force, the less restrictive MSS role wins out and all is good.
Enter the Org Chart link. The Org Chart allows one to navigate thru the organization’s structure (via HS10) and see who reports to whom. At any time you can click on a person’s name and get a profile of that person. And where does that profile come from? The EMPLOYEE table! So, if I click on the CEO’s name, since I am neither the CEO nor he/she is my direct report, the applet just spins and returns nothing. Sleuthing into the lase logs shows that “NO_ACCESS” was returned as a result of the EMPLOYEE table’s security rule from the MSS role (as it should!). Unfortunately the applet just spins, it doesn’t return any kind of “Security Violation” message or anything like that.
So, is the answer to get Org Chart to work to open up access to EMPLOYEE in the ESS/MSS roles? I don’t think so since an application user would then have access to the full employee table from HR11 drill/selects.
This is my quandary.
Any ideas?