• WSBCKessinger

    WSBCKessinger

    @wsbckessinger

    Viewing 15 replies - 196 through 210 (of 218 total)
    Author
    Replies
    • in reply to: Date/Time (Access 97/2000) #544033

      Problem Solved. Since I am using Now() to fill in the date/time field as to when a job is started/completed, At the same time I use the Time() function to determine my shift. Will only vary a few tenths of a second at the most which is not critical.

    • in reply to: Date/Time (Access 97/2000) #543991

      Let me try to clarify what I’m trying to do. I am keeping track of computer jobs with a start date/time and a completed date/time. The date/time field is in general format. As part of the statistics I am gathering, I also need to determine what shift the job was started and what shift the job was completed, ergo, I need to extract the time portion of the date/time field to determine the shift, eg, 7:00am – 3:00pm = shift1, 3:00pm – 11:00pm = shift2, 11:00pm – 7:am = shift 3. HTH.

    • in reply to: Code help (Access2000) #543492

      Princess: Your code probably should read:

      If IsNull(me![tnum]) then ….

      HTH.

    • in reply to: name the months in query? (Access 2000) #541205

      Markus: Try this:

      Month: Format([InvoiceDate];”yyyy-mmm”)

    • in reply to: Query Problem (Access 97) #540941

      Peter: Not knowing all the intricacies of your situation, a starting point might be to use th MAX function on the date/time field. This will give you the latest date. Or you could sort all your dates in descending order to give you the latest first. HTH.

    • in reply to: Command Buttons (Access 97 SR2) #538715

      Lonnie: Try this. Assume the name of the Command button is btnCommand.

      Private Sub btnCommand_Click()
      On Error GoTo btnCommand_Error

      If btnCommand.Caption = “Open Form” Then
      DoCmd.OpenForm (formname)
      btnCommand.Caption = “Close Form”
      Else
      DoCmd.Close
      btnCommand.Caption = “Open Form”
      End If

      Exit Sub

      btnCommand_Error:
      MsgBox Err.Description
      Exit Sub

      End Sub

      HTH.

    • in reply to: How to I add up hours/min (Access 97) #538528

      Dan: I use this calculation to sum times:

      In the Control Source property:

      =Int(Sum([timefield]))*24 + DatePart(“h”,Sum([timefield])) & “:” & DatePart(“n”,Sum([timefield]))

    • in reply to: need better chart for LNC convention (97) #536904

      Yo Arage: Apart from the naming conventions, each query type has a small icon to differentiate it from another.

      Back to the LNC, there are specific naming conventions for each type of query (13 according to LNC) and for all the other type of objects one can have in a database. These are all listed in the LNC book.

      Also, this URL should give you what you want. It looks like it is a copy of what is in the LNC book.

      http://www.mvps.org/access/general/gen0012.htm

      HTH.

    • in reply to: Filling a textbox in a report. #529656

      It seems strange that one could run out of room in the detail section, unless you have an extremely large number of controls. Assuming that is not the case, try making your detail section multiple lines, i.e., putting controls on multiple lines.

    • in reply to: Working with Workdays #1784266

      Hi: FMS, Inc. has a tool called Total Access Sourcebook which has code for these type problems. The cost is aprox. $150. There is a function to calculate the difference in business days, eliminating Sat, Sun, and Holidays.

    • in reply to: Access Assessment Test #526655

      Thanks for your insights and thoughts on this. You have been very helpful.

    • in reply to: Access Assessment Test #526480

      Charlotte: Thank you for your reply. I was thinking along the lines of a prospective student to take to see in which to enroll.

    • in reply to: Tally Survey Results – SOLVED! #526225

      Debi: In your QBE grid place the results field and do a ‘Group By’ on it. Place the results field in the QBE grid a 2nd time and do a ‘count’ on it. I think this will give you the desired results.

    • in reply to: Unconcatenating a Field into several Fields #526071

      Look into using Left, Mid, and Right functions

    • in reply to: parseing info #1780992

      Jason: I used this to separate a name field into first and last. Format of [name] is [first last]. You might be able to modify it for your use. Hint: Always keep names separate in your DB. Much easier to work with title, first, mi, last. HTH.

      SELECT tbl_Names.Name, InStr([Name],” “) AS [Temp Name], Left([Name],[Temp Name]-1) AS [First Name], Mid([Name],[Temp Name]+1) AS [Last Name] INTO tbl_Split_Names
      FROM tbl_Names;

    Viewing 15 replies - 196 through 210 (of 218 total)