Results 1 to 4 of 4
  1. #1
    harpreett.singhh@gmail.co is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2014
    Posts
    25

    Could not find Field

    Hi,



    I am trying to do Compact and repair my database

    This freaking msg Could not Find Field 'Today's Date' appearing and driving me crazy since last 3 hours.

    It was working fine upto yesterday.

    Could you please advise how to find this Today's Date field in the database ? I have manually checked the default values, queries, forms, reports, table and headers and footers. everywhere. even in the module and and the VBA codes and could not find this field.


    I am clueless.

  2. #2
    trevor40's Avatar
    trevor40 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    407
    From the display ~ Today's Date ~ That looks like a Comment for an object that shows the date for today eg date() , it could be in one of your form/forms properties, default value or filter or control source. Check your queries for paramaters. try and compile the db it may point you to it, or try the find text option in the vba window. If all else fails create a new DB and copy each object into it one at a time till you find it.

  3. #3
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    You will get an error like that (on Compact and repair) if the code does not compile properly. Open a code module (any one will do), then from the menu select Debug - Compile.

    That will find the error right away.

    It is good practice to do a compile any time you make changes to code.

    HTH

    John

  4. #4
    harpreett.singhh@gmail.co is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2014
    Posts
    25
    I have done that and Debug - Compile option is now not active.

    Did not find any errors.

    Regards

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Find a value and navigate to that field
    By jgelpi16 in forum Programming
    Replies: 3
    Last Post: 08-15-2013, 08:52 AM
  2. Replies: 3
    Last Post: 10-16-2012, 04:19 PM
  3. Find field value Horizontally
    By jgelpi16 in forum Programming
    Replies: 11
    Last Post: 01-24-2011, 04:21 PM
  4. Find specific value in any field
    By bkvisler in forum Queries
    Replies: 8
    Last Post: 12-08-2010, 04:23 PM
  5. Find Maximum Value of a Field and Add 1
    By jhillbrown in forum Forms
    Replies: 3
    Last Post: 03-11-2010, 11:42 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums