Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. access database and c# form-adding data

access database and c# form-adding data

Scheduled Pinned Locked Moved C#
csharpdatabasetutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    johnnysmith1
    wrote on last edited by
    #1

    I have a C# form users use to enter hours worked, sick time , vacation. It is connected to access 2003 database. The form does not have a login- each person just selects last name from combo box and any secure data is not visible on form. is there a way I can display a current number of vacation hours, sick time left each week on form for each person. I recieved an excel sheet with total number of vacation hours and sick hours each user has for this year at present. When someone uses time it has to calculated and updated. I am uncertain of how of even how to start on this task. any ideas. I also have to have vacation time and sick time only available to user. no one else can view. thank you,

    L 1 Reply Last reply
    0
    • J johnnysmith1

      I have a C# form users use to enter hours worked, sick time , vacation. It is connected to access 2003 database. The form does not have a login- each person just selects last name from combo box and any secure data is not visible on form. is there a way I can display a current number of vacation hours, sick time left each week on form for each person. I recieved an excel sheet with total number of vacation hours and sick hours each user has for this year at present. When someone uses time it has to calculated and updated. I am uncertain of how of even how to start on this task. any ideas. I also have to have vacation time and sick time only available to user. no one else can view. thank you,

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You would force a user to select their name first and then query the data on the SelectedItemChanged event, same as you would select data from another data source on a different event, such as saving data on a button click ;)

      Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

      J 1 Reply Last reply
      0
      • L Lost User

        You would force a user to select their name first and then query the data on the SelectedItemChanged event, same as you would select data from another data source on a different event, such as saving data on a button click ;)

        Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

        J Offline
        J Offline
        johnnysmith1
        wrote on last edited by
        #3

        thank you

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups