Jump to content

Within 3 days, I need a Billing System on VB.NET PLEASE HELP!

- - - - -

  • Please log in to reply
6 replies to this topic

#1
bradploz

bradploz

    Newbie

  • Members
  • Pip
  • 6 posts
Im actually creating a Billing System wherein the employees work from Monday-Friday in the range of 8am-5pm (8 hrs a day). The Manager will determine their rate/hour and if they work on Saturdays there will be a 30% bonus.

The Manager can handle All modules, Add, Edit, Delete, View Employees, Clients and Projects.

I've already finished those windows for the manager, my last problem is the Time Sheets which contain all the info when the employee logged out everytime and the Billing Invoice for the Clients that will be printed on a monthly basis.

My worse problem is for the Employees. Every employee has a window that is connected to their user accounts that when they log in it shows their name,project,salary,time-in and time-out and when the employee logs out, all the records everytime they logged out will be recorded,I used textbox for the data to appear in the window, but I don't have any idea how to connect it. Also, the manager can view these records on time sheets and the manager can print a payslip for the employees.

I'm using MS Access 2007 as my database.

PLEASE HELP ME, I NEED THIS PROGRAM WITHIN 3 DAYS! :(



#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Without seeing what you have so far, it will be very hard to help you with your homework.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
bradploz

bradploz

    Newbie

  • Members
  • Pip
  • 6 posts
This is our project and if I will not finish it, Ill fail :( what do you need to know?

These are the things Ive done so far : ASC Billing System.rar

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
I have two issues right now:
1) I don't have Access. I can infer some of what you have, but it's limited.
2) I've got VBExpress 2010, not 2007

With that said, I'd use a SQL statement to insert a new record into your database. I'm not clear on why you haven't used data-aware components, but that may be a VB thing (I haven't studied the language).
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
bradploz

bradploz

    Newbie

  • Members
  • Pip
  • 6 posts
I am trying to connect MS ACCESS 2007 Database with textboxes which will show the info of the users now..for example..when I login..I see my info in the textboxes..and when other user logs in..they can see their info..

This is the code I have on load after the window login..

Code:

Private Sub frmemp_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Timer1.Start()

Try

conn.Open()

cmd = New OleDbCommand("SELECT * FROM employees,username WHERE ID=IDE", conn)

dr = cmd.ExecuteReader

While dr.Read()

txtfn.Text = dr(1)

txtpro.Text = dr(2)

txtsa.Text = dr(3)

End While

Catch

End Try

dr.Close()

conn.Close()


End Sub

But this code only shows the last user on the row on the database..It is not changing even other users login..for example...I login and I am the last user on the row..I can see my info but when other user logs in..He just see my info..Not his...

please help me..tnx

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
A text box can only show ONE piece of data, not multiple records. Because you loop through, overwriting the the values, you will only show the last record returned.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
edge02

edge02

    Newbie

  • Members
  • PipPip
  • 21 posts
change your query use "Select * from employees where ID='" & txtbox1.text & "' "
where txtbox1.text will be the input coming form the user.
that way, the employee logged in will only see his/her info not others.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users