Results 1 to 11 of 11

Thread: Merging records..

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Singapore
    Posts
    5

    Merging records..

    Hi there... i'm not sure how to do this...

    I have a table which has

    Emp_No,Emp_Job,TimeIN,TimeOut,DateIn,DateOut,Emp_SnE

    as the fields. The form has two buttons, "Time In" & "Time Out", so when one is clicked, the other fields become null.

    What i need to do now is create a new form with a button. when the button is clicked it has to search the old table for matching records and insert the merged records in a new table. This new table also has a new column called total time.


    can anyone help?

  2. #2
    Addicted Member Bazzlad's Avatar
    Join Date
    Jun 2003
    Posts
    227
    This site will teach you how to do it,
    and it only takes about 30 minutes....
    http://www.w3schools.com/sql/sql_intro.asp
    Enjoy.
    *And you'll see, Everything you stand for is fake*
    http://www.rhesusrock.com

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Singapore
    Posts
    5
    Thanks a lot....

  4. #4
    Addicted Member Bazzlad's Avatar
    Join Date
    Jun 2003
    Posts
    227
    No worries....

    hahahahaha!
    *And you'll see, Everything you stand for is fake*
    http://www.rhesusrock.com

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Singapore
    Posts
    5
    err... i still not sure how to write out the sql statment.... do i join the table to itself b4 tranfering the info?

  6. #6
    Addicted Member Bazzlad's Avatar
    Join Date
    Jun 2003
    Posts
    227
    If you're wondering WHERE you write the SQL, you have to go into QUERY, NEW QUERY, then in the top right there's a little box which says SQL. Click it.
    *And you'll see, Everything you stand for is fake*
    http://www.rhesusrock.com

  7. #7
    Addicted Member
    Join Date
    Aug 2003
    Location
    houston
    Posts
    185
    can you post your code so I can see how you are doing time
    then I can help

  8. #8

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Singapore
    Posts
    5
    Erm... nvm... I just got fired for coming into forums... what a dumb company....


    Thanks anyway...

  9. #9
    Addicted Member Bazzlad's Avatar
    Join Date
    Jun 2003
    Posts
    227
    What company was it?
    Scumbags.
    *And you'll see, Everything you stand for is fake*
    http://www.rhesusrock.com

  10. #10

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Singapore
    Posts
    5
    Originally posted by Bazzlad
    What company was it?
    Scumbags.

    A company in singapore called Rohr Aero-Services Asia...

  11. #11
    Addicted Member Bazzlad's Avatar
    Join Date
    Jun 2003
    Posts
    227
    I'd boycott them, but I've never heard of the ****ers!
    *And you'll see, Everything you stand for is fake*
    http://www.rhesusrock.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width