Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Developer Toolkits / February 2004

Tip: Looking for answers? Try searching our database.

Weird VBA problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
elisa - 28 Jan 2004 18:51 GMT
I have some queries written in VBA used from reports and forms.  They were working and suddenly are not.  e.g. one  query  that should return a record is not returning a record.  I copied and pasted the query from VBA into the normal query window and it worked fine - returned a record.  Exactly the same thing from within VBA doesn't return a record now - but it used to
It is as though something has become corrupted somewhere, but I don't know where nor how to find out
Shutting down the machine etc did not cure the problem

Has anyone seen something like this before?  The only thing I can think of is to reload Access
Thanks
R. Schott - 25 Feb 2004 13:01 GMT
Elisa,

> I have some queries written in VBA used from reports and forms.  They were working and suddenly are not.  e.g. one  query  that should return a record is not returning a record.  I copied and pasted the query from VBA into the normal query window and it worked fine - returned a record.  Exactly the same thing from within VBA doesn't return a record now - but it used to.
> It is as though something has become corrupted somewhere, but I don't know where nor how to find out.
> Shutting down the machine etc did not cure the problem.
>
> Has anyone seen something like this before?  The only thing I can think of is to reload Access.
> Thanks

Please, would you mind posting us your SQL-query? Maybe then we can find
out what's wrong.

regards,

-rob
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.