T TimTDP Registered User. Local time Today, 19:52 Joined Oct 24, 2008 Messages 213 Feb 3, 2011 #1 Is it possilbe to run a VBA function from within a 2010 Data Macro. I have a function called WhoAmI with returns the Id of the user I want to run this function from within the data macro.
Is it possilbe to run a VBA function from within a 2010 Data Macro. I have a function called WhoAmI with returns the Id of the user I want to run this function from within the data macro.
B Banana split with a cherry atop. Local time Today, 10:52 Joined Sep 1, 2005 Messages 6,279 Feb 3, 2011 #2 If you're doing this in a client database, you can "cheat" by invoking a query that calls the VBA function... have a query do this: Code: SELECT WhoAmI() then do a LookUpRecord. If this is for a web database, however, this won't work.
If you're doing this in a client database, you can "cheat" by invoking a query that calls the VBA function... have a query do this: Code: SELECT WhoAmI() then do a LookUpRecord. If this is for a web database, however, this won't work.