Recent content by Charlie2

  1. C

    Post Code Validation

    How then How are we expected to validate then?It seems like there are a thousand and one formats
  2. C

    Post Code Validation

    Ok Like"[A-Z][A-Z][0-9][0-9][0-9][A-Z][A-Z]"Or Like"[A-Z][A-Z][0-9][0-9][A-Z][A-Z]"Or Like"[A-Z][0-9][A-Z][0-9][A-Z][A-Z]"Or Like"[A-Z][0-9][A-Z][0-9][A-Z][A-Z]" Are you sure these are valid postcodes?
  3. C

    Post Code Validation

    Erm Like"[A-Z][A-Z][0-9][0-9][0-9][A-Z][A-Z]"Or Like"[A-Z][A-Z][0-9][0-9][A-Z][A-Z]"Or Like"[A-Z][0-9][A-Z][0-9][A-Z][A-Z]" I don't allow spaces in my DB sorry
  4. C

    Post Code Validation

    Solved: Like"[A-Z][A-Z][0-9][0-9][0-9][A-Z][A-Z]"Or Like"[A-Z][A-Z][0-9][0-9][A-Z][A-Z]"
  5. C

    Post Code Validation

    Upsizing Input masks don't get upsized to MSSQL but check constraints[Validation Rules] do, they haven't when I have tried upsizing DB's before.
  6. C

    Post Code Validation

    Problem Anyone know what's up with this ? My existing data is regarded 'invalid' when I add the or condition?
  7. C

    Post Code Validation

    Looks like Looks like I am sticking with Like "[A-Z][A-Z][0-9][0-9][0-9][A-Z][A-Z]"
  8. C

    Post Code Validation

    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]?|" &...
  9. C

    Converting access query to Mssql

    Gracias Thanks man
  10. C

    Converting access query to Mssql

    Hi, I have built a query which works fine in access. The thing is I now want to use the same query in MSSQL 2000 and the synatx is wrong. I have tried altering the syntax myself but i am unable to get it to work. Can anyone show me how? Access Syntax: SELECT DISTINCT Holiday_Bookings.ClientID...
  11. C

    Adding Tax to query

    Ah Got it Will the currency formatting apply to any upsized data to MSSQL 2000?
  12. C

    Adding Tax to query

    Thanks Man That works great, but can you tell me how to format the result into currency, sorry to be such a dummy it's quite a while since I used this stuff.
  13. C

    Adding Tax to query

    I have developed a query which adds accumulated costs for each client in my DB, I am having trouble adding the VAT tax which is 17.5% to the query though, I seem to get a lesser total once tax is added which can't be correct. Here is my query: SELECT DISTINCT Holiday_Bookings.ClientID...
  14. C

    Query returning 3 repeated records per ID?

    Sorted Ahh I think I have sorted it out. Thanks again Pat ;) SELECT DISTINCT Holiday_Bookings.ClientID, Holiday_Bookings.Booking_Cost, Room_Facilities.FacilityCost, Rooms.BasicCostPerNight FROM Holiday_Bookings RIGHT JOIN (Room_Facilities INNER JOIN (Hotels INNER JOIN Rooms ON Hotels.HotelID...
  15. C

    Query returning 3 repeated records per ID?

    Thanks I have altered my query to remove the unneeded tables and now I get 6 results instead of one. I am puzzled. SELECT Holiday_Bookings.ClientID, Holiday_Bookings.Booking_Cost, Room_Facilities.FacilityCost, Rooms.BasicCostPerNight FROM Holiday_Bookings, Room_Facilities INNER JOIN Rooms ON...
Back
Top Bottom