Results 1 to 4 of 4

Thread: [RESOLVED] Bind dataset to CR and send Data to Parameter Field

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2007
    Location
    Lomé - TOGO
    Posts
    38

    Resolved [RESOLVED] Bind dataset to CR and send Data to Parameter Field

    Hi,
    I have some database field i've dragged and dropped on my Crystal report. I programatically create a dataset and bind it to the report. This works perfectly. Now i have some other parameter fields placed on the report that am trying to send data into, but this is not working. When i comment the code for binding the dataset(myReport.SetDataSource(ds)) the parameter field is filled correctly. But i have to get the two working. Someone please help

    WaZda

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Bind dataset to CR and send Data to Parameter Field

    Try going over this walk through
    http://diamond.businessobjects.com/node/728
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2007
    Location
    Lomé - TOGO
    Posts
    38

    Re: Bind dataset to CR and send Data to Parameter Field

    Hi RobDog888,
    Thank you for the link. I'll go through it and see what it gives.

    WaZda
    Last edited by WaZda; Jun 11th, 2008 at 03:36 AM.

  4. #4

    Thread Starter
    Member
    Join Date
    Jun 2007
    Location
    Lomé - TOGO
    Posts
    38

    Re: Bind dataset to CR and send Data to Parameter Field

    Hi RobDog888,
    I've finally got it. what i did to get it work was to bind the dataset to the report, before i start writting the codes to initiate the parameter fields value on the report. Then after all that i load it in the viewer.
    Thank u.

    WaZda

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