Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    1

    Unanswered: Data Dictionary Help

    hi everyone, i am new to this fantistic access related forum.

    I am a student and currently doing advance databases and i have been asked to create my own database with all steps, zero normal form..... data dictionary and other stuff.

    I have made tables of all the tables i will be including in microsoft word and currently having problems with the validation rules column.

    As my database is made in UK and the table i am having trouble with is ADDRESS and POSTAL CODE

    as it requires both NUMBERS AND LETTERS, what can i do?

    I know that

    Numbers: "*[!0-9]*"

    Text: "*[!a-z]*"


    How can i combine them both together?
    Edit/Delete Message

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    Quote Originally Posted by pooffck
    Edit/Delete Message
    Edit/Delete Message ????


    where are you pasting this from?

    we accept only original questions here

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Feb 2004
    Location
    One Flump in One Place
    Posts
    14,912
    Zero normal form?
    Quote Originally Posted by pooffck
    As my database is made in UK and the table i am having trouble with is ADDRESS and POSTAL CODE

    as it requires both NUMBERS AND LETTERS, what can i do?

    I know that

    Numbers: "*[!0-9]*"

    Text: "*[!a-z]*"


    How can i combine them both together?
    I wouldn't bother creating a validation rule for postcodes. Creating one that captures EVERYTHING (including, for example, UK forces overseas) is incredibly hard. Have look at the definitive regex here for example:
    Postal codes in the United Kingdom - Wikipedia, the free encyclopedia

    If you just need to cover 99% of postcodes, then it is a lot easier.

    BTW:
    Code:
    WHERE postcode LIKE "*[!0-9]*"
    means "Return all rows that contain any characters that are not numeric" (NOTE - some extended ASCII characters will be considered numeric).

    HTH
    Testimonial:
    pootle flump
    ur codings are working excelent.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •