CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Posts
    2

    Talking Header & Detail Section Global Variable

    Using Crystal Reports Ver. 10

    Hey guys,

    Looking for a way to run through the detail section
    and bring that information to the page header.

    I have 2 tables

    the first table is a header table (A) pointing to another table (B)
    that has 3 records in it.

    I want to loop through (B) table while in the detail section
    and bring those values to the page header.

    I.E.

    Field Name is FirstName, MiddleName, LastName, Relation

    Relation has (Husband, Wife, Friend)

    I want to extract the Husband Firstname, Middlename, Lastname
    and the Wife Firstname, Middlename, Lastname and the
    Friend Firstname, Middlename, Lastname and put this on the page header.

    I hope I explained this enough so you can offer help.

    Tanya
    www.AboutSingles.net
    Last edited by Tanya659; April 7th, 2004 at 12:37 PM.

  2. #2
    Join Date
    Apr 2004
    Posts
    2

    This does not work...can you help?

    WhileReadingRecords;
    Global Stringvar SpouseFirstName;
    if {mortufam.relation} = "father" then
    SpouseFirstName := {mortufam.fname};



    Tanya Spencer
    www.AllAboutSingles.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

Featured