Results 1 to 8 of 8

Thread: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?

  1. #1

    Thread Starter
    Member
    Join Date
    May 2009
    Posts
    55

    Lightbulb How to create or reorder a DataReport Text and Values in Runtime with VB6 ?

    I want to create a costumized DataReport results as user chioce.
    I want to made it by CheckBoxes.
    When user check some of them they (Checked Values) will appeare on the report, otherwise they will be hidden (without a blank space).

    I have about 40 fields in my database table.

    So, How to do this in easy way ?

    [Please, Keep it in VB6]

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?

    If you mean to dynamically add and remove controls in a DataReport then I believe that is not possible.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    Member
    Join Date
    May 2009
    Posts
    55

    Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?

    Yes, I mean dynamically genereted report as user checked values.

    But yes .. controls in DataReport must be exist before (in design mode).
    So, you just need to show and reorder them (in runtime) as user choice.
    This is the idea I asked for.

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?

    You can try setting their properties.
    Code:
    DataReport1.Sections("Section2").Controls("Text1").Top = 0
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  5. #5

    Thread Starter
    Member
    Join Date
    May 2009
    Posts
    55

    Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?

    Thank you, but that need more details not in .Left and .Top properties.
    I am looking for a complete example for this idea.

  6. #6

    Thread Starter
    Member
    Join Date
    May 2009
    Posts
    55

    Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?


  7. #7

    Thread Starter
    Member
    Join Date
    May 2009
    Posts
    55

    Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?

    Anyone has any idea for this ?

  8. #8

    Thread Starter
    Member
    Join Date
    May 2009
    Posts
    55

    Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?

    The Microsoft sample project:

    How To Dynamically Populate a Data Report in Visual Basic
    Attached Files Attached Files

Tags for this Thread

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