PxPlus User Forum

Twitter Twitter Twitter

Author Topic: ODBC and Logic Procedures  (Read 1412 times)

Danny_S

  • Member
  • **
  • Posts: 6
    • View Profile
ODBC and Logic Procedures
« on: August 10, 2022, 07:25:08 AM »
Hi List,

I have a view, and try to add Logic Procedures to it. If using the Views, I can see it gets executed, but when I access the View using the Client ODBC Driver I can't see anything happening. Also tried an Object, with the Onload, OnExecute, OnClose, SetInitLogic, SetExecutionlogic and SetCloselogic.

I tried the logic on all levels, and in the logic I just tried to create a file (serial), tried using a Linux path (the ODB server runs on a Linux server), a local Windows path, and a windx [wdx] Windows local path.

My final goal is, based on the prefix (set by the Catalog) to show data in a View, or not, if the user is not allowed. There a 2 main databases for 2 companies, each with their own catalog.

I tried everything I could figure out from the manual, but I think I am missing something to get this working.

Regards,

Danny_S

  • Member
  • **
  • Posts: 6
    • View Profile
Re: ODBC and Logic Procedures
« Reply #1 on: August 10, 2022, 09:33:55 AM »
OK, Never mind, on a hunch I reinstalled the local driver, and now I can see code getting executed...