check textbox values using MS Access 2010

Posted on 2011-05-08
Last Modified: 2012-05-11
I'm using MS Access 2010 and it doesn't seem to let me check textbox values the way I was able to in earlier versions.   For example, let's say on a form I have textbox that checks for vlaid data entry by a user.  I used to do something like:

If MyTextBox > 12/31/2010 then
   msgbox "Invalid date"

I don't see Setfocus available in the list. Also, I don't see things like ".Value"  
How am I supposed to error check textboxes now?
Question by:dbfromnewjersey
    LVL 84

    Accepted Solution

    Textboxes in Access 2010 still have a .Value property, and the SetFocus method is still available.

    I would susupect you're either NOT dealing with a Textbox, or you're working with a Web database. The web-enabled database type does not  have many of the familiar properties you're accustomed to seeing in Access.

    Author Comment

    Stupid mistake on my part. When I panic, that always happens. What it was is that I had a textbox misnamed.  Thanks.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
    I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
    Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
    Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now