Results 1 to 3 of 3

Thread: Data report question

  1. #1

    Thread Starter
    Hyperactive Member Jupiter-SL9's Avatar
    Join Date
    Apr 2001
    Location
    Porto Alegre
    Posts
    289

    Data report question

    Hi
    Im developing a report with data report and i have a question:

    The follow query return me 10 records:
    Code:
    SELECT  ip.NR_LOCZ_EQPTO
    FROM    INSPECAO_PALM ip
    WHERE   ip.AL 		   = 	'INE01'
    AND     ip.TIPO_REDE	   =    'P'
    AND     ip.DATA		   >=   TO_DATE('05/05/2005', 'dd/mm/yyyy')
    AND     ip.DATA		   <=   TO_DATE('15/05/2005', 'dd/mm/yyyy')
    The results from this query is used in the follow query:

    Code:
    SELECT  p.NR_LOCZ_EQPTO_RD, g.FEAT_CODE
    FROM    G_MASTER g, PRI_BANCO_CAPCT_RD  p
    WHERE   g.FEAT_NUM         =	p.FEAT_NUM
    AND     p.NR_LOCZ_EQPTO_RD = 	result
    The result of this query is used in report.

    This 2 querys are from different databases. How can i generate a report with data report to show this report?

    Thanks
    Daniel
    If you want to be loved, first love who God gave to you.

    "Se você quer ser amado, primeiro ame quem Deus te deu"

    (Acts 20:35)

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

    Re: Data report question

    If you are using VB as a front end, you can create two separate recordsets from those queries, and use them to populate your report.

  3. #3

    Thread Starter
    Hyperactive Member Jupiter-SL9's Avatar
    Join Date
    Apr 2001
    Location
    Porto Alegre
    Posts
    289

    Re: Data report question

    Hi
    But if the report has only one data source, how can i populate my report with 2 recordsets?

    thanks
    If you want to be loved, first love who God gave to you.

    "Se você quer ser amado, primeiro ame quem Deus te deu"

    (Acts 20:35)

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