Recent content by tmarsh

  1. T

    method or data member not found

    Working now. I had pasted the code in and thought the green was commented out bits! Thanks again.
  2. T

    method or data member not found

    Oops! Will do, thanks.
  3. T

    method or data member not found

    It is SearchResults and I've just noticed I hadn't named it that. Done so now and getting runtime error 2465 - can't find the field '|1' Option Compare Database Private Sub SearchFor_Change() 'Create a string (text) variable Dim vSearchString As String 'Populate the string variable...
  4. T

    method or data member not found

    Should have said the 2 unbound text boxes used are SearchFor, and SrchText with SrchText's Visible property to No.
  5. T

    method or data member not found

    Thanks. This is in the search for text box in On Change: 'Create a string (text) variable Dim vSearchString As String 'Populate the string variable with the text entered in the Text Box SearchFor vSearchString = SearchFor.Text 'Pass the value contained in the string variable to the...
  6. T

    method or data member not found

    Getting method or data member not found error on a list box in a search form. I have 2 unbound text boxes linked to a list box to search fields in a query. It's failing at Me.SearchResults.Requery. I don't have a lot of experience of VBA, I followed a tutorial to get the search form. Any...
  7. T

    Due date

    That's done the trick. Thanks very much.
  8. T

    Due date

    I'm trying to base a report on a query that will pick up records with a review date within a year, that is, within the next year from today's date. I have a date of assessment field in a table and I use a calculated control on a form to see the due date (date of assessment + 1 year) in whatever...
  9. T

    Input mask

    Good enough. Thanks.
  10. T

    Input mask

    Works OK except when I enter the field B is displayed but I need it to be BC and then enter either A or B.
  11. T

    Input mask

    Thanks, that works a treat. i should have said though that I have a space between the letters and numbers. Is that do-able?
  12. T

    Input mask

    I have an input mask on a field in a form >\B>\C>"C "0000;;_"" which gives me BCC and alows a 4-digit entry, that is, BCC appears on entry and I manually enter the numbers. I am trying to change the BCC bit to allow me to have BC with an option to have the last C as an A. Tricky to explain...
  13. T

    Command button to change image in a form

    Thanks. I was using the standard command button. I'll give it a try. When I tried to add the control it says the OLE server isn't registered and as my PC is restricted on a network I'll have to wait for IT here to do it. Seems to be something to do with a dll not registered.
  14. T

    Command button to change image in a form

    I don't know! I copied code to the on-click event in the button. Do I need a module?
Back
Top Bottom