Search results

  1. C

    error 2424

    oh dont worry i fixed it XD
  2. C

    error 2424

    ok i have a datasheet and on the datasheet is the company name, when i click the company name a form loads with the detials of the company Private Sub Company_Name_Click() DoCmd.OpenForm "frmCustomerDetails", , , "[ID]=" & Me.ID End Sub is the code i use to run this, how ever after i alter the...
  3. C

    search boxes

    ok that worked but now when i use the full code i get another syntex error can anyone see why i need some fresh eyes strsql = "SELECT tblCustomer.[Company Name], tblCustomer.[Company City], tblCustomer.[Company County], tblCustomer.[Company Postcode], tblCustomer.[Company Catagory]...
  4. C

    search boxes

    ok i have got this so far strsql = "SELECT tblCustomer.[Company Name], tblCustomer.[Company City], tblCustomer.[Company County], tblCustomer.[Company Postcode], tblCustomer.[Company Catagory], tblCustomer.[Company Employee Size] FROM tblCustomer WHERE (tblCustomer.[Company Name])= Like *" &...
  5. C

    search boxes

    ok i have 6 text boxes which for thi example i have named text1 - text6 will this code work if i want to change a record source of a lstbox? strsql = "SELECT tblCustomer.[Company Name], tblCustomer.[Company City], tblCustomer.[Company County], tblCustomer.[Company Postcode]...
  6. C

    date()

    Me.Company_Next_Contact_Date.Value = DateAdd("m", 3, Date) was the anwser, ok next question. when the forms load they always load stupid sizes so i have to click the form to size buttion is there a way to force this on oading of the form?
  7. C

    date()

    how would i go about string = date() + 3months ?
  8. C

    Events

    Cheers thanks ever so much
  9. C

    Events

    ok got all that working but i just had a brainstorm or its a migrain im not sure, in the critira of a quary can you do something like is null then "Dear Sir / Madam"??
  10. C

    Events

    no that code you gave me work perfect thank you for that i supose i can create a copy of the form and then set the record that way i was just tying to keep the number of forms to a min i will just create a copy of the main form and change the record source :) thank you for your help and...
  11. C

    Events

    right, ok im with you i could take that approce lets say that i created anew record source the following! SELECT tblCustomer.ID, tblCustomer.[Company Name], tblCustomer.[Company Address 1], tblCustomer.[Company Address 2], tblCustomer.[Company Address 3], tblCustomer.[Company City]...
  12. C

    Events

    Ha its sorted this works perfecccct Me.lblDND.Visible = (Nz(Me.Company_Repeat.Value, 0) = -1) Me.imgFlag.Visible = (Nz(Me.Company_Flag.Value, 0) = -1)
  13. C

    Events

    ok erm i tryed that code and the lbl and img are always visable when there propities are set to false :S even with the nrecent code verations you sent me. and the other one is, can you select a record from a quary and open it in a form (basicly lol)
  14. C

    Events

    thank you kind sir you have been a great help to me over the past few weeks i do have another question about a query i have written then query works a treat how ever is it possable to select one of the rows to load the record source?
  15. C

    Events

    ok that works but there is a slight probleam the code is Me.lblDND.Visible = (Nz(Me.Company_Repeat.Value, No) = Yes) Me.imgFlag.Visible = (Nz(Me.Company_Flag.Value, No) = Yes) its making them all flaged and do not disturb unless i tick the box would i need to change it to the following...
  16. C

    Events

    Ah the old NZ im guessing im to use to programing in VB 6 :(
  17. C

    Events

    Hello all its me again, quick easy one this time i want to use this code its self explanatory at what it does If Me.Company_Repeat.Value = "Yes" Then Me.lblDelete.Visible = True Else Me.lblDelete.Visible = "false" End If "Company_Repeat" is a yes no box i need to know what...
  18. C

    not sure how to do this any advice appricated

    Hes alright just wants it how he needs it lol
  19. C

    not sure how to do this any advice appricated

    to be honist i did notive it and i designed the database so it had 1 feild but the boss wanted first and last name separate which made life a bit intresting lol.
  20. C

    not sure how to do this any advice appricated

    whats happend is that the old database is a ACT one, ive been asked to replace it with a new one to handel things diffently. so i designed the database and added 200 records by hand to test it making sure the database worked ok, then i had to import the act records over, how ever act only has a...
Back
Top Bottom