Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Modules & VBA

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-04-2006, 09:54 AM
ftook ftook is offline
Registered User
 
Join Date: Dec 2006
Posts: 2
ftook is on a distinguished road
Error Checking Problem in Access 2003

In access 2003 I have a small amount of code, I have mistyped a control reference in the code ie. instead of
me![codeval] i put [me1[codval], in Access 97 an error message appeared when i try to run, but im not getting this in 2003, all error checking turned on - please help if u can.
Reply With Quote
Sponsored Links
  #2  
Old 12-04-2006, 10:58 AM
KeithG's Avatar
KeithG KeithG is offline
AWF VIP
 
Join Date: Mar 2006
Location: Illinois
Posts: 2,592
KeithG will become famous soon enoughKeithG will become famous soon enough
IF you compile your code that should catch the error
Reply With Quote
  #3  
Old 12-04-2006, 01:13 PM
ftook ftook is offline
Registered User
 
Join Date: Dec 2006
Posts: 2
ftook is on a distinguished road
Compile not showing error and even set warning to true in immediate window doesnt help - any ideas would be so welcome.
Reply With Quote
  #4  
Old 12-04-2006, 02:45 PM
gemma-the-husky's Avatar
gemma-the-husky gemma-the-husky is offline
AWF VIP
 
Join Date: Sep 2006
Location: UK
Posts: 7,419
gemma-the-husky is a jewel in the roughgemma-the-husky is a jewel in the roughgemma-the-husky is a jewel in the roughgemma-the-husky is a jewel in the rough
I don't understand - how do you know this is happening if the code isn't stopping.

why cant you just do a global search and replace to find all instances of me1 to fix it anyway.

Also it depends where you put it - if eg this is in the middle of a sql string you might find the code just prompts you for a veriable with the prompt, or alternatively it may just be looking for a field called

"me1[codval", which is the contents of the square brackets.
Reply With Quote
  #5  
Old 12-04-2006, 03:20 PM
RuralGuy's Avatar
RuralGuy RuralGuy is offline
AWF VIP
 
Join Date: Jul 2005
Location: @ 8300' in the Colorado Rockies
Posts: 11,695
RuralGuy is a jewel in the roughRuralGuy is a jewel in the roughRuralGuy is a jewel in the roughRuralGuy is a jewel in the rough
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
I believe ftook imported everything into a fresh new mdb and it started showing an error. I remember this from another forum.
__________________
(RG for short) aka Allan Bunch MS Access MVP acXP, ac07 - WinXP Pro, Win7
Please post back to this Forum so all may benefit.
Teaching is not filling a bucket but lighting a fire.
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ItemData combo box problem (Access 2000) ilkglass Modules & VBA 1 07-08-2006 06:13 AM
Deploying Access 2003 project in different Access versions Ayat General 2 12-29-2005 06:21 AM
Access 2003, print problem with dialog report Spirit Reports 2 08-11-2005 12:01 AM
Access 2003 TOOLBOX problem. LEXCERM General 4 10-18-2004 06:44 AM
Access 2003 couldn't open a Access 2000 report matthiasr Reports 0 10-03-2004 11:31 PM


All times are GMT -8. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World