|
-
Jun 9th, 2008, 04:13 AM
#1
Thread Starter
Member
[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
-
Jun 10th, 2008, 01:52 PM
#2
Re: Bind dataset to CR and send Data to Parameter Field
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jun 11th, 2008, 03:32 AM
#3
Thread Starter
Member
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.
-
Jun 11th, 2008, 08:35 AM
#4
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|