Many thanks. Problem is I don't have the program, its with a user, and its an mde version. The mdb version works at my end no problem. User has just aquired a new pc, xp, access 2003, and programs working before are falling over.
Does the code have to be fired from an autoexec macro, as I tried calling the function from a button on a form after removing one of my references. It gave me the message -
"This application has detected newer versions etc " but seemed to finish quickly, but my reference was not put back? Thanks
I put both the function and the sub into amodule. I created a macro, calling it autoexec. In the macro I used runcode, and in the function put Checkrefs, however it halts saying it cannot find the name? Whats missing in my brian, thanks
Hi Bob, no, it still reports it cannot find the name Checkrefs. I double checked all spelling. My macro is within the macros section of the database. Regards
My db works fine, I only tried it in mine to check it out, adding the function and sub seemed relatively simple in a new module, and the macro again seemed straight forward. I have removed it all and guess I will have to visit the user to manually check references/debug. But thanks again for your help.
And it was a test query that was built to test if there was a broken reference. I totally forgot all about that part and also had forgotten where that actually had come from. Sorry for the mixup.
Bob Larson
A2K,A2K3,A2K7,SQL Server 2000/2005,Crystal Reports 10/XI,VB6, WinXP, and Vista
Free Quick Tutorials and Samples:
Thanks ED, you did do your bit. Thanks Bob, I found where I goofed it, I put Checkrefs in the macro function name instead of Checkrefs(). All works well, thanks again.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.