[AccessD] Library order matters

Heenan, Lambert Lambert.Heenan at chartisinsurance.com
Thu Sep 16 11:33:05 CDT 2010


If your front end app does not make any direct calls to C2DbLWS, but instead is using routines in C2DbFW3G then it should also work if your app just has a reference to C2DbFW3G and no reference to C2DbLWS at all.

Lambert

-----Original Message-----
From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Thursday, September 16, 2010 12:21 PM
To: Access Developers discussion and problem solving
Subject: [AccessD] Library order matters

I use libraries.  My C2DbFW3G (framework, 3rd generation) has a function called fltr().

C2DbFW3G references C2DbLWS (my old Light Weight Security framework).  C2DbLWS has a function fltr().

So...

My front end references BOTH C2DbLWS and C2DbFW3G in that order.

C2DbFW3G is setting filters for the application, but when the application calls fltr() to get the resulting values, because it references C2DbLWS first, it calls fltr in C2DbLWS and of course it returns a null value.

Reversing the order of the reference in my application now allows the application to call fltr in C2DbFW3G and that fltr() has the right value.



-- 
John W. Colby
www.ColbyConsulting.com
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list