Nov 8, 2009

MS Access Validation Rule - Desperate help needed

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Databases

MS Access Validation Rule - Desperate help needed

Kushika
I have to create a whole project using Microfost Access.

I have a field which will eventaually contain details of a a list of people's DOBs. I have added an input mask, so that it it displays the place holder __/__/____

However, how can I validate this field. For example, not it is possible to type 30/10/1991 [dd/mm/yyyy]. How can this be changed so that it validates it correctly?

Comment/Reply (w/o sign-up)

yordan
Doesn't this : http://www.astahost.com/php-tutorial-form-...ion-t10899.html
look like what you wanted ?

Comment/Reply (w/o sign-up)

Kushika
No, I need a validation rule to be in Access; my db isn't connected to a website ibn any way.

Comment/Reply (w/o sign-up)

(G)Nina
Table not reading the text box from the Form
MS Access Validation Rule

Hello,

On my form I created an automated Text box (Posting Status) that is reading the date of the Expiration Date field (PostingExpiration), comparing it to today date (TextNow), and then automatically filling in text.  For example, if the expiration date is less than today date then the Posting Status will be "Expired".  Like wise, if the expiration date is greater than today date then the Posting Status will be "Active". See my two examples below:

   Posting Expiration Date:  5/18/2009               Posting Expiration Date:  8/10/2009

   Today Date:  7/20/2009                                 Today Date:  7/20/2009

   Posting Status:  Expired                                  Posting Status:  Active

This is the formula that I created in Posting Status Text box Control Source property:

   Control Source:  =IIf([PostingExpiration]>=[TextNow],"Active",IIf([PostingExpiration]<[TextNow],"Expired"," "))

It looks good on the form and is doing what it suppose to do but when I look at the Table, the Posting Status column is blank.  It doesn't look like it is reading it from the Form.

Can someone please help me solve this mystery?

Thank you so much!

question by Nina

Keywords: vba validation rule

 

 

 


Comment/Reply (w/o sign-up)

(G)Lynn
Formula In Form
MS Access Validation Rule

I need to build a formula into a form so that if data is input into the width (in) box that it automatically calculates the width (m). However, if there is 0 in the width (in), you can overwrite the formula and key in the width (m) manually. Is this possible? -reply by Lynn

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : ms, access, validation, rule, desperate, needed

  1. Database Access On Remote Server W/jsp
    (2)
  2. Space Needed For Database
    (10)
    Iam assuming the information in the databases i will create will be stored in the 500 MB space i
    get, but since 500MB isn't enough iam wondering if you guys can tell me how much bytes the
    following take: Varchar(x),Tinyint,Text,date,smallint,mediumint,bigint,float.... And the rest
    present when you add/edit a row in a table. Also what are the ranges of tinyint,smallint,mediumint
    and big int....
  3. Accessing Ms Access Database From A Centralized Location?
    (10)
    Hi I am a manager at a trading/wholesaling company (and have no programming background). I
    customized the Northwind sample access database to make invoices and keep accounts for my company.
    We now opening another office at a distant location. So, the order entry will be done at two
    points(we plan to use the same Access database). I am not able to figure out how to access the same
    MS Access database from two different location(as LAN can't be used). Moreover, we can't
    afford to pay huge sums to the software developers. Can intranet or uploading the database t....
  4. Integrate Access Database Onto Intranet Site
    Looking to integrate access database into my intranet site (5)
    Hey guys, im new here and am looking for answers /tongue.gif" style="vertical-align:middle"
    emoid=":P" border="0" alt="tongue.gif" /> Firstly, i have designed a database using M$ access, it
    consists of multiple forms which i plan to host on an intranet website, i need to be able to add
    records directly from the form on the intranet website aswell as being able to edit/review current
    entries on forms in the database. My question is, how would i go about integrating these forms onto
    the intranet website? i plan on keeping the database and the intranet site on the same d....
  5. Access 97 To Access 2003
    (15)
    I need to convert a database that is in Access 97 to Access 2003 but every time i do it using the
    Convert tools of Access 2003 i got some errors and can't change or add any of the objects
    -tables, querys, etc- of the converted database. All the errors i got are related to the user
    priviligies and permissions of the database, is there exists a way or procedure that allows me to
    reset this permissions??? Best regards,....
  6. Access
    Is this easy to make a login/password? (17)
    I was looking to make a site where people need to create an account, and log in to view the main
    pages. Is it easy, or do-able, to use msoft access to make a database where people are able to sign
    up with a username and password via my website?....
  7. Public Access Oracle Db?
    (5)
    This may be the stupidest question ever, I don't know, but frankly if this exists it would help
    me out a lot haha. What I'm looking for is an oracle database set up somewhere that has an open
    uname/password for the public to use for testing or anything really. I'm just developing
    something that needs to connect to our oracle db here but we don't want the computers to be
    required to have the oracle client installed. Currently though all the computers I have access to
    here DO have it installed and need it to stay for the time being, and I can't access o....
  8. Coders Wanted
    Any one with php,mysql,c++ & javascript experiance come (not all n (7)
    I am mainly looking for someone who has experiance in Php, Html & Mysql but if you are experianced
    in C++ & javascript that would be a great help: i am currently working on a game called Medi-Evil
    Quest this is a 3d morpg and hopefully will become a mmorpg but to do so i will need more than just
    4 coders i beileve i would only need another 6 coders tops so if you are experianced in coding and
    want to get involved in this project either email me on Nuzv355g@aol.com or add me on msn at
    jarvis_3@hotmail.com, note i am only 15 but i have alot of experiance and i allready ha....
  9. Access -> Mysql
    Converter (8)
    I have a problem. Is any program wchich converts database Access to Mysql ??....
  10. Read/Write Issues After Copying An Access .mdb File
    (4)
    Alright, I'm currently creating an interface program for a MS Access database. I've only
    used Access once in the past but used other DB's a handful of times so I didn't have any
    trouble getting the general program created. My issue arose when I tried to make it so that the
    users needing to use the program can just copy the .exe and the .mdb files and use it. The program
    doesn't require users to share the database but to store their OWN programs information in their
    OWN database, so basically each needs to have their own database with the exact same d....
  11. MS Access DB To Webpage Connection ?
    (6)
    ok .. i have this little problem i am going through ... Leme explain this project of mine first . I
    have a MS Access DB of student fields like ID no, Name, Marks .. etc .. This one Access DB would be
    updated by just adding more rows and would be done on the server. It looks sumthing like this:
    Now .. I have a HTML page that shows this : I would enter the ID number of a student (no
    authentication .. anyone can access anybodys marks), and when i hit submit .. I would be taken to a
    page that gets the values from the ID specified and shows it in the next page. The pa....
  12. Help With Registration Page, Access Denied.
    (10)
    I'm coming up with an error that I can't figure out in my registration page. Below I've
    given the error message and the code. QUOTE Warning: mysql_connect(): Access denied for user:
    'nobody@localhost' (Using password: NO) in /home/lonebyrd/public_html/db_connect.php on line
    33 Access denied for user: 'nobody@localhost' (Using password: NO) CODE $Host =
    "localhost"; // define host name (default: localhost) $User = "$lonebyrd_razmo"; // define database
    username $Password = "$****"; // define database password $Database = "$lonebyrd....
  13. Help Me With My MS-Access Program
    (2)
    Hi anyone can help me with making a form. These are the case; I am using Ms. Access XP, and a
    database for using as a admission database for new students. And using couple table for the base,
    however I want that when the operator is trying to add a students (add button), a form will came up,
    and asking for his/her ID and password and Cliking the LOGIN button and lookup for the ID and
    Password which stored in a "user" table on the database. When the ID and Password 're correct
    the function for adding students can be processed, but when the ID and Password uncorrect....
  14. I Have A Question About MySQL Access & Quotas
    (1)
    On my previous web host, I surpassed my MySQL quota limit. At least, that's what they told me.
    The following message is the error I get. phpBB : Critical Error Error creating new session
    DEBUG MODE SQL Error : 1044 Access denied for user: 'darnem_trials@65.98.98.74' to database
    'darnem_trials' INSERT INTO phpbb_sessions (session_id, session_user_id, session_start,
    session_time, session_ip, session_page, session_logged_in) VALUES
    ('7719681862d0a4bfc392929af1357326', 2, 1125023783, 1125023783, '18d160ac', 0, 1)
    Line : 168 File : ....
  15. Help Needed: Installation & Config Of Hl Stats IV
    help with setting up hlstats (0)
    Hey i was looking for some help im new to this webhosting stuff so im looking for all the help i can
    get. I need some help for setting up the program hl stats iv read the faq here
    http://docs.unitedadmins.com/hlstats/english/ i cant figure out how to set this up and i wondering
    if this hosting service will run that. If this would help im running counter strike and i have my
    own server. Is there something i just put on the server and it sends it to the site or what i know
    some things you need are on the pack itself. So would i need to install those on my comp or what so....
  16. MySQL: Help Needed With MySQL_fetch_array() Error
    help needed (7)
    I have my site up and running, it it written in php but the problem im getting is the mysql database
    the warning is: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
    resource in /home/mrogers/public_html/config.php on line 47 but on line 47 it shows this: $email =
    mysql_fetch_array($adminemail); any one help on this + my site wont connect to my database. I have
    feeled out all the requirements that has asked and i know its write. All help would be apreciated
    as i would like my site fully functional by next week. /smile.gif" style="vertical....
  17. phpBB - MySQL Help Needed
    sql database (11)
    Ok, well I origanaly installed phbb on my webspace but then switched to invision 2.0. After about 4
    days of skinning, configuring, ect I opened up the forum. With this done I didnt need the phbb
    forum so I went to the cpanel and removed it. After I did this My Invision forum no longer works.
    Here is the error I get. CODE mySQL query error: SELECT * FROM astahost_cache_store WHERE cs_key
    IN ( 'attachtypes','bbcode',
    'multimod','ranks','profilefields','banfilters', 'settings',
    'group_cache', 'system....
  18. Help Needed With MySQL_fetch-array() Error
    (3)
    databasing is quiet hard to learn but im starting to get the hang of it. on my home page i have a
    few errors like this Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
    resource in /home/mrogers/public_html/html/nav.php on line 80 i have checked whats on line 80 and
    this is what i ended up with $row = mysql_fetch_array($sql); but it does not look like anything is
    wrong and i kind of do not under stand the mysql witch i am learning at the moment, but any one know
    what the problem is please tell me. need any more info like the whole .nav fil....
  19. Rep Mods Needed
    I need a Reputation mod for my forum. (1)
    I need a Reputation mod for my forum site plz also include how to insert the mod in the Asta Forums.....
  20. A Little SQL Help Needed
    please (4)
    I try to edit the welcome paragraph on my MB http://jwcgator.astahost.com and this is the error
    that I get Warning: fopen(welcome.inc): failed to open stream: Permission denied in
    /home/jwcgator/public_html/cpanel.php on line 90 Warning: fputs(): supplied argument is not a valid
    stream resource in /home/jwcgator/public_html/cpanel.php on line 91 Warning: fclose(): supplied
    argument is not a valid stream resource in /home/jwcgator/public_html/cpanel.php on line 92 help?....
  21. MySQL Query
    some help needed (11)
    i dunno why this query doesn't function.. CODE $sql="SELECT count(*) FROM
    participantes,sancionados WHERE participantes.No_Ficha = '$no_ficha' or
    sancionados.No_Ficha='$no_ficha'"; $query=($sql); any suggestion???....
  22. Logic To Break Down An Access Tabbe To SQL
    what is the easiest way to split this? (1)
    I have 3 differen tables in this database that are basically repeating the same data. How can I
    split it up and still use it. This is the horse project /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" /> the 3 tables are called Horse, Dam, Sire . the Horse table
    should be enough for all the data. (at least that is what I'm thinking) the Dam & Sire are
    used to track lineage and are setup Like this: CODE SireID; Horse; Sire; Dam; SireSire;
    SireDam; DamSire: DamDam; SireSireSire; SireSireDam; SireDamSire; SireDamDam; DamSireSire;D....
  23. Access
    Lesons (0)
    The HP Learning center offers very good free lessons on creating databases with step by step
    instructions. You can access the learing center at HP Learing Center ....
  24. Access To MySQL Remotely
    (2)
    i am using a software to access to mysql remotely but it display error!(Access denied for
    myusername@my ip address) please help me....
  25. Is php supports MS Access
    Ms Access Database (7)
    I want to know that is php supports MS Access databases. And could anyone told me the complete php
    installation. I have little bit problem during installation.....
  26. How To Transition The Database
    transition the database to access (2)
    i want to transition the records in SQL7 to ACCESS in the condition of VF 6.0 how i can?....
  27. How To Access a Remote MySQL
    (1)
    I try to access to a remote mysql owned by my friend , I have the IP and username and password. but
    I always got this information: Fatal error: Maximum execution time of 30 seconds exceeded in
    XXXXXXXXXXXXXXXX....
  28. How To Dump .SQL File to MS-Access
    (3)
    Is there any way to convert a mySQL dump (.sql file) to an access file? Problem is, I downloaded and
    installed the mySQL server and ran it. But I couldn't restore the dump - it kept complaining
    about charsets and even the guy who created the dump didn't know what was up. So I'm
    looking for another way to access the contents of the database. Help anyone?....

    1. Looking for ms, access, validation, rule, desperate, needed

See Also,

*SIMILAR VIDEOS*
Searching Video's for ms, access, validation, rule, desperate, needed
advertisement



MS Access Validation Rule - Desperate help needed

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com