Results 1 to 8 of 8

Thread: I find difficulties in managing data report in vb 6.0

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    3

    Post I find difficulties in managing data report in vb 6.0

    i have to design a data report in vb 6.0 that will display all the employee and also their corresponding time comsume in time tracking system.

    how can i handle the time of employee so that the display in the data report will be arrange and using only the "app.path" for the data base. i use MSAccess only.

    how can i combine the 2 related tables from the same access database.

    hope you will help me solve my problem...
    i find it hard for me... plsss help me...

  2. #2
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: I find difficulties in managing data report in vb 6.0

    Research on ADO and SQL, then on data report sections and controls. It will be hard to explain what you need to do unless you understand the terminologies and concepts involved. There are no shortcuts... unless you intend someone else to do it for you.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: I find difficulties in managing data report in vb 6.0

    Moved to Reporting

  4. #4
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,515

    Re: I find difficulties in managing data report in vb 6.0

    Here are two ways,

    1. Creatre a DataEnvironment as the reports datasource with a Command and a Child Command using the Employee ID to relate the to tables.

    2. Use an ADO recordset as the reports datasource. The SQL would use a "join" that creates a recordset that has the data from both tables.

    I would not use the "1" method if this a multiuser system.

  5. #5
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: I find difficulties in managing data report in vb 6.0

    Quote Originally Posted by wes4dbt
    I would not use the "1" method if this a multiuser system.
    Don't use it period. It's a nightmare to maintain when queries need to change or underlying schema changes. Hence post #2.

  6. #6
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    2,024

    Re: I find difficulties in managing data report in vb 6.0

    how can i combine the 2 related tables from the same access database
    You can use the inner join sql command..

    Greg
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal | Programming
    Projects: GitHub | jsFiddle
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  7. #7
    New Member
    Join Date
    Jun 2009
    Posts
    1

    Unhappy Re: I find difficulties in managing data report in vb 6.0

    Quote Originally Posted by sicnarf View Post
    i have to design a data report in vb 6.0 that will display all the employee and also their corresponding time comsume in time tracking system.

    how can i handle the time of employee so that the display in the data report will be arrange and using only the "app.path" for the data base. i use MSAccess only.

    how can i combine the 2 related tables from the same access database.

    hope you will help me solve my problem...
    i find it hard for me... plsss help me...

  8. #8
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,515

    Re: I find difficulties in managing data report in vb 6.0

    The question has been answered in posts 2 - 6. Do you have additional questions? If so, what?

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