Post Code Validation
Mar 20, 2006
hello all
this thing is really bugging me im trying to come up with a post code validation and i have tried dozens, which should have worked really, but just havent so wondering if you guys knew any
examples of postcodes would be
BN3 8JH
BN41 8JH
the first and second characters have to be a letters
the 3rd has to be a number
the 4th is sometimes a letter (not always present)
then theres a space
then there has to be a number
letter
letter
any suggestive codes would be great, as none of mine have worked its in access
thanks
View Replies
ADVERTISEMENT
Apr 7, 2006
I have searched the forum for posts on the subject of UK postal code validation and found the reg expression that seems to be recommended for this.
I tried the expression but it will not accept this postal code? TS183AM
Like "(?:(?:A[BL]|B[ABDHLNRST]?|" & "C[ABFHMORTVW]|D[ADEGHLNTY]|E[CHNX]?|F[KY]|G[LUY]?|" & "H[ADGPRSUX]|I[GMPV]|JE|K[ATWY]|L[ADELNSU]?|M[EKL]?|" & "N[EGNPRW]?|O[LX]|P[AEHLOR]|R[GHM]|S[AEGKLMNOPRSTWY]?|" & "T[ADFNQRSW]|UB|W[ACDFNRSV]?|YO|ZE)" & "d(?:d|[A-Z])? d[A-Z]{2})"
View 14 Replies
View Related
Aug 16, 2005
does anyone know if it is possible to add a post code checker/search to access, if so do you know of one which works. I want to be able to bring up an addess by post code/house number in the UK
View 2 Replies
View Related
Nov 29, 2006
HiBeen trying To Find A Way Of Validating A Postcode.But Getting No Where Being They Can Be Like CT1 1QX, CT11 2DT, CT11 12DT Act.Best I've done is to make sure there's a space and it starts and ends with a Letter.Any Help Advice Would be much AppreciatedMick
View 2 Replies
View Related
Jan 23, 2008
Hallo,
I have a post code field on my form. What I want to do is, if a user enters a wrong code ... i,.e., not Post code format it alerts the user of post-code not in use. Please if there is any example of a database of this functionality usage or a way of doing it will be much appreciated.
I live in UK and the post codes down here are like E12 5AH ....
Many thanks
View 1 Replies
View Related
May 23, 2007
Hi,
I'm trying to isolate the first letter / letters of UK post codes.
Typically they are of the format ..
WS9 0JL
The obvious choice is left,2 but of course it's never that simple
some post codes are B1 7FH so left 2 gives me B1 but I need just the B
I can use Left 2 and the look at the second character to see if it is = "1" or "2" etc. but this seems a bit crude.
Is there a way I can find the position of the first number in a string (using the Instr function maybe)
That way i could Isolate the letter/s
Thanks
SBM
View 2 Replies
View Related
Jan 20, 2007
Hy everybody!
I need to validate a 9 char long number. The input mask is 000-000-000.
The last character should be the = (1stchar*3+2ndch*7+3rdch*3+4th*7+5th*3+6th*7+7th*3 +8th*7) Mod 10.
So for example: 123-456-788.
Can somebody help me?
Thanks a lot, gerland
View 2 Replies
View Related
May 6, 2005
I have a very involved question regarding the export of data from and Access front end, SQL back end into multiple Excel Worksheets.
Where is the best place to post this in order to get maximum exposure to the great minds that cruise this board.
Regards
View 2 Replies
View Related
May 17, 2005
I have a form that has several multiple choice question and i have also designed a table and update queries for the DB so far i can enter the values and then have them changed from the original to the values requested by my bos however i also need to find a way to make a report that will allow me to shot the percentage of people that chose each individual answer with anywhere from 2 to 10 possible choices on each question i see no logical way to do this....... help!
View 1 Replies
View Related
May 24, 2005
Hello every one
I am new here and this is my first post
I am trying to make overtime record for my company
I use the following feilds
field name .................... format
Start_Time ................... short time
End_Time ..................... short time
Total_Over_Time ........... short time
now when i use
Total_Over_Time = [End_Time]-[Start_Time]
I got correct answer
but
while i am trying to make monthly report
if Total_Over_Time is greater then 24 hours it shows me 1
means for 25 hours is shows 1
Please help me to overcome this problem
Thanks
Pehalwan
View 5 Replies
View Related
Jul 8, 2006
I am developing an Access (2000) database to provide reporting data gathered from SAP and make it easily accessable for 12 analysts. The data set is HUGE, 5 months nearly a gig and will need at least 2 years worth, so I don't see any option other than using SQL as a back end. I have experiance using SQL server as the back end but have never had to develop my own server.
I do not have access to an existing server but do have permission to purchase SQL software, this is where I need the help. If anyone has suggestions, advice, links or other information I would be greatly appreciative.
Thanks in advance for your help.
“where I added information”
A lot of you have been reading this but no help.:eek: Did I use a poor title? I have used SQL as a back end but really need to know how to produce one out of thin air.
I ordered SQL 2005 off my company's IT store but when reading further it needs a special operating system, I think. Is this true? What do I need to have in order to provide a very large data set to a bunch of barely computer literate analysts?
These people are excited when they realize that vlookup can do more than one thing!! The concept of a union query would blow them away. I am frustrated with the competency of my co-workers but need to give them something that is idiot proof without letting them know that this is the object.
Currently they are having an SAP download sent to a specified share drive and running an Excel “macro”, moves a couple of columns an such, that puts it into a format that is semi-usable. This is totally inefficient for their needs but they don’t know it as yet.
What I am asking is how to take a fairly robust pc and make it a SQL server that will service a dozen or so people. What kind of operating system is needed and what sort of admin rights will be necessary to allow access to the desktop so they can get their data?
The IT help desk is very scary, not really understanding the requests presented. I haven’t been with the company very long but what I have garnered disturbs me I don’t believe the IT people have a clue.
I’ve been an Access developer for about 4 years now and know this is not an insurmountable obstacle. I am confident that SQL is the solution but haven’t ever had to create it from scratch before. Please, links or other suggestions are MOST appreciated.
View 1 Replies
View Related
Sep 4, 2007
Preface: I don't know where to post this since I'm using a VBA executed SQL command or if this is a table issue.
I'm trying to import a .csv file into a "master" table of several .csv files. I've figured out how to link them and import them even though they have different field names, but the problem I'm running into is with serial numbers.
Some serial numbers are entirely numbers, while others are alphanumeric. When the field is set to numbers all of the parts (a different field) show up, but not all of the serial numbers are imported. When the field is set to text some of the parts are dropped, along with their associated serial numbers and then some of the serial numbers show up as scientific notation.
Any ideas on how to solve this problem?
View 2 Replies
View Related
Mar 17, 2005
could anyone please tell me how to post a database on this forum ive tried attachingit but it says file not suitable
View 4 Replies
View Related
Nov 10, 2005
i need dbase example from all of u..especially example for newbie like me...i'm looking for example that update subform using combobox...
View 5 Replies
View Related
Mar 15, 2007
Hi guys am not sure if i got dis in d correct forum (forgive me if not)
Just wanted 2 know what's d diff btwn a thread & a post (if d's any)
Noks
View 6 Replies
View Related
Nov 15, 2004
Greetings,
I am just posting a follow-up on my previous post on designing functional forms. Telling by the lack of replies, my original question may have been long winded and tedious. Let me try to narrow my question and make it more concise.
In two tables connected by a one-one field name ProfileID, how can I set a new field in the second table (call it StepNo or procedureNo) so that it increments step numbers for each unique ProfileID record? Thus for each new Profile record created in the first table, a new form will allow the entry of X numbers of steps into the second table and automatically link the two records?
I hope that clarifies my problem. Thanks in advance.
View 3 Replies
View Related
Jan 4, 2007
One thing that I personally think I'm bad doing is creating GUIs. I think my forms look pretty bad overall, and I'd like to get some ideas/pointers from some of the more experienced folks.
I've included a typical example.
View 1 Replies
View Related
Jun 5, 2007
hi this is my first post. This is probably so basic you will think i am stupid but your help would be appritiated.
I have a very simple database which displays the questions stored in a table in a form . The recipent answers the questions generaly yes or No. On answering yes or no i wish to attach values (hidden) to thier answers and then based on the answers produce a simple set of bar charts. I have tried but do not know how to assign the values to the questions . i would then like to produce 5 bar charts 1 for each of the catogories and one as a total (as an overall and also in sub groups of which there are 4 each of which has a field with a specific prefix either b,c,r,s dependant on the type of question. )
hope someone can help
Page Jump
View 1 Replies
View Related
Mar 14, 2006
Hi, i'm a newbie so please be gentle :)
ok, i have 2 tables, one is for part number and product ID and the other has product ID and Vehicle details.
i know how to set up a parameter query but just can't quite get the result i want, which is to set up a query based on the result of the first query.
in short i want to enter a part number and it comes up with the vehicle details.
Many thanks in advance
Ty
View 5 Replies
View Related
Nov 21, 2005
I have a Contacts DB and at the moment I enter Cities/Towns and Post (zip) codes separately. I now want to set it up so I can select a city or town and have the appropriate post code fill it's own field without my intervention. Is this a case of cascading combo's or can I just bind a post code field to the city/town field? Can someone point me in the direction I need to go please?
View 1 Replies
View Related
Jan 17, 2006
Hi
I have a problem, when on a form based on a table, scrolling the mousewheel will by default change the post shown, how can I disable that event ???
Im using Access XP..
View 5 Replies
View Related
Sep 30, 2006
Ok, I am getting well excited about what Access can do, and how the database I'm working on is coming along. It's the things that you guys find simple that I'm having problems with. So my question is:
I have fields called InitialAssessmentDate and ReviewDate. I want to be able to have a bold coloured label appear on the front page of a client record informing a user (when they access a clients record) when the client is due a review - usually three months after the Initial Assessment Date/and/or three months after the Review Date.
So far I have a couple of bold coloured labels that appear when individual client records open to advise users of other important stuff such as whether the client is high risk (for personal safety) or if the client needs a interpreter or signer: The code used for these two beauties is:
"Private Sub Form_Current()
Me.HighRiskLabel.Visible = Me.High
Me.InterpreterLabel.Visible = Me.Interpreter
End Sub"
Is it possible to do something similar for the date calculation?
Thanks in advance
Doug
View 4 Replies
View Related
Aug 12, 2014
I've done a YouTube Video, showing 3 different methods of posting your table structure to a forum HERE:- MS Access - Copy Table Structure for Forum
Here is a Google Doc showing the first procedure of the three:- MS Access - Copy Table Structure for Forum (First Method)
Here is a Google Doc showing the Second procedure of the three:- MS Access - Copy Table Values for Forum
Here is a Google Doc showing the Third procedure of the three:- MS Access - Copy Advanced Table Structure for Forum
View 7 Replies
View Related
Aug 26, 2014
I have tried to reference a specific post within a thread in response to a question. I have not been successful.
For example: What do I need to go directly to post #17 in this thread [URL] ....
I can get to page 2 using &page=2, but haven't sorted the post number.
View 3 Replies
View Related
Aug 31, 2013
I have a from where users select from one of four Options. The Print putton on the form enters text into an unbound textbox based on the selection. Here is the code:
If Me.optWhichList = 1 Then
Me.txtWhichList = WHAT TO PUT HERE
ElseIf Me.optWhichList = 2 Then
Me.txtWhichList = "LS"
ElseIf Me.optWhichList = 3 Then
Me.txtWhichList = "AS"
Else: Me.txtWhichList = "SM"
In the Query I have teh Criteria as
[Forms]![popfrmChooseMailingLabels]![txtWhichList]
Works fine for options 2, 3 and 4 which choose the relevant criteria in the corresponding Query, but I want Option 1 to select all records. What do I put there so that all records are selected (i.e., no criteria)
View 8 Replies
View Related
Aug 15, 2004
Here is an example of what I was talking about re: private message and storing calculated fields. Any help is much appreciated.
Also I received your email in regards to a sample secure database but I am getting a "Memory could not be read" error when I try to open it. Does this have anything to do with how it has been converted to 97 format or is it an error at my end? (I've been able to open other dbases from the forum).
Thanks,
Dearnne
PS Thanks also for your help with adding to option groups.
View 4 Replies
View Related