I am attempting to access a function from VB 6 that returns a string within an MS Access module. I am getting nowhere with the syntax that I assumed to be:
"mystring = dba.DoCmd.OpenModule(modname, procname)"
I have proven that dba is there by getting the tabledefs count and the querydefs count by opening the database via the currentdatabase method.
However the dba.Modules.Count is 0 presumably because no module is running. Is there any way this can be done?
"mystring = dba.DoCmd.OpenModule(modname, procname)"
I have proven that dba is there by getting the tabledefs count and the querydefs count by opening the database via the currentdatabase method.
However the dba.Modules.Count is 0 presumably because no module is running. Is there any way this can be done?