Results 1 to 3 of 3

Thread: Crystal Report in vb

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2006
    Posts
    2

    Crystal Report in vb

    hi,

    i have two tables namely expenses , hours table.

    expenses table contains
    Mcname expcat des Qnty Amount DAHDate
    -------- ------ ---- ---- ------ ------
    EX-1 tranport petrol 2 300 8/21/2006

    Ex-2 Machine diesel 9 400 8/21/2006

    Ex-2 betaexp salary 200 8/22/2006



    Hours table contains

    DAHMcNam DAHDate DAHtotalhrs
    -------- -------- ----------
    Ex-2 8/21/2006 10
    EX-1 8/21/2006 20
    EX-1 8/22/2006 5



    i am fetching the records based on machine name and between two dates
    In page header , i have calculate the sum of total hours between two dates
    and then In detail section i have display the expenses details
    for ex:
    from the date 08/20/2006 to 08/25/2006 ,
    (SEAGATE CRYSTAL REPORT)
    Page header
    ------------
    MachineName :Ex-1
    TotalHour :25

    Detail section
    -------------
    expcat des Qnty Amount DAHDate
    ------ ---- ---- ------ ------
    tranport petrol 2 300 8/21/2006

    tranport petrol 2 300 8/21/2006

    here for machine EX-1 ,expenses occurs for one time only but in the report field its repeating......

    How can i overcome tis problem????
    kindly help me.....

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Crystal Report in vb

    Moved from FAQ forum

  3. #3
    Hyperactive Member Jlarini's Avatar
    Join Date
    Jan 2002
    Location
    São Paulo, Brazil
    Posts
    263

    Re: Crystal Report in vb

    priyavijay,

    take a look at Visual Linking Expert at Database menu, sometimes Crystal makes an inverted link (i.e. a->b instead a<-b)... It may cause this kind of problem....

    []s
    João Luiz
    nothing is impossible, it's sometimes very hard to do!

    If your thread is solved... Please edit it and add [Resolved] or [Solved] on it!

    If you like Marine aquarium, feel free to PM me.

    Sorry my bad English

    God bless Parksie!

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