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 bkrike 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: *

  • Users: jon92
  • Content: Threads
  • Order by date
  1. jon92

    Check time of last click event

    I have a button on a form - when the user carries out a certain task they click the button, this logs the time and date and task type etc. The following code is attached to the onclick event: Me.fldtasktype.Value = "Task description" Me.fldtaskCode.Value = "xxx" Me.fldUsername.Value =...
  2. jon92

    DatePart Question

    Hi I am using the following to produce a Week Number Column in a select query: Week Number: DatePart("ww",[MyDate],2) the above returns 05/04/04 as week 15 (date field is formatted to dd/mm/yy) Is it possible to add to the code to return (Mon) 05/04/04 as week 1 thru to (Mon)...
  3. jon92

    Error trapping empty directory

    I am trying to error trap for an empty directory when importing a text file, the following code produces: runtime error 3001 Invalid argument, ( the transfer text line is highlighted) Where am I going wrong please? Function testing() As Long Dim strFile As String strFile =...
  4. jon92

    Record Count

    I have a table that is populated by a text import, I then run an update query to add data to the records just imported. I would like to have the default confirmation messages turned off ( for the update query) but have a custom message box telling the user how many records have just been...
  5. jon92

    How to call function

    How do I call a function in an update query? I am trying to capitalise names in a name field I have found a function that will do this named: Function proper(var As Variant) As Variant what do I enter in the QBE grid update to ? criteria ? Help needed please
  6. jon92

    wildcards characters when importing text file

    I am trying to import a text file that is generated by another app' the problem I have is, that the files generated are randomly named the only thing that is constant - is the file extension which is .rnd. I have tried using: [DoCmd.TransferText acImportFixed, "myspec&quot...
  7. jon92

    Import text procedure question

    Hi I import a text file into a table using the following attached to the on click property of a button on a form: [DoCmd.TransferText acImportFixed, "mypec", "mytablename", "e:\my documents\textfile.txt"] This transfers 3 columns of text into fields named...
  8. jon92

    DatePart Question

    I am trying to setup a staff shift rota (10 week cycle) what I would like to be able to do is enter a date in a textbox & use DatePart("ww",[mydate]) to get the week number. But I need to be able to link that result in [mydate] to the rota week number eg: if the result in [mydate] is...

Part and Inventory Search

Back
Top