Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. paulwoods23

    Converting date formats within VBA

    I see what you mean, the query was reading a UK format as a US format so I needed to convert it to US format within the query. I used Format(Me.SDate, "mm dd yyyy") and it worked a treat. Thanks for the tip.
  2. paulwoods23

    Converting date formats within VBA

    I currently use a short date in UK format (dd/mm/yy) in a On Click event from a form to use in a query within some VB code. But this date is then used in US format (mm/dd/yy). How do I convert it back to UK format within the code so that the output is correct? I tried the following to convert it...
  3. paulwoods23

    Compile Error with Form Code

    Solved. Thanks to both of you.
  4. paulwoods23

    Compile Error with Form Code

    I have a form which, after selecting a "Staff" record and a year from two seperate comb boxes should list all sickness records for the selections in a list box. I am using the following code to do this - Private Sub cmbYearSelect_AfterUpdate() Dim StartDate As Date Dim...
  5. paulwoods23

    Filtering displayed data on subform

    I have a database used to store staff sickness. It currently consists of a "Staff" table to store staff details (name, number, salary etc) and a "Sickness" table to store sickness records. I have produced a form to displaying staff's name from "Staff" table and...

Part and Inventory Search

Back
Top