Results 1 to 2 of 2
  1. #1
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481

    Auto filled shift based on Transaction Timing.

    Dears



    I need help to solve this issue.

    The Shift working timings are 06:00 - 18:00 (Considered Day Shift) whereas from 18:00 - 06:00 (considered night shift).

    If the operator open the form "TrnForm" to enter the data so the "Shift" field shall be filled with day or night shift based on timing.

    Kindly advise the procedure.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Make a tShift table, put In the values
    Shift, ShiftStart, ShiftEnd
    Day, 6:00, 18:00
    Night, 18:00, 6:00

    Then the user can pick DAY from a combo,and it will fill boxes via the 2 other fields,
    either:
    (the combo has all 3 fields shown)
    txtStartTime= date() & cboBox.column(1)
    txtEndTime=date() & cboBox.column(2)

    Or run a query to post the same values.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 02-10-2016, 10:00 AM
  2. Replies: 2
    Last Post: 10-29-2013, 04:38 PM
  3. Replies: 9
    Last Post: 04-17-2013, 03:55 PM
  4. Replies: 8
    Last Post: 03-30-2012, 06:05 AM
  5. Replies: 7
    Last Post: 11-14-2011, 05:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums