Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 6th, 2012, 12:05 PM
database.newb database.newb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 2 database.newb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 12 sec
Reputation Power: 0
Question If Statements within an Access Macro

So I am tasked with creating a tool that will quickly check to see if a number of databases have been properly updated. I am attempting to do this with a Macro using an If/Then Function and a Message box. It will reference the upload dates on files and where they are = to todays date a message will be returned that the databases have been successfully updated.

Thus far I have pulled in all of the databases that I need to check and begun creating the Macro. My If statment is as follows... [Alliance Updated Query]![Note Date]=Date() ...This is just for one of the databases for testing purposes.

When I try to run it, however, I am met with error #2482. "Access cannot find the name 'Alliance Updated Query' you entered in the expression." I don't understand how to fix this since I am referencing a query within the same database that I am running the Macro. Maybe its just not possible to reference a query or a table (as I have tried both) in an if statement within a macro??? Any ideas or solutions would be greatly appreciated

Thanks in advance!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > If Statements within an Access Macro

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap