Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 26th, 2004, 10:28 PM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Date Time - From & To Passing

Dear All,

I use CRPE to pass the FromDatetime & ToDateTime to the stored procedure being called by the CR8.5 .

For the reports where I use just 1 input DateTime, my application works fine,
Ex: SetParamField ( 1, DateStr )

but , when I try to do:

SetParamField ( 1, FromDateStr )

SetParamField ( 2, ToDateStr )

I get "Error Detected in Database DLL".

Can anyone help me .

Here's my small piece of code for your reference .

if (!PEConvertVInfoToPFInfo(ptrPEValueInfo
                                   , &ptrPEValueInfo->valueType
                                   , ptrPEParameterFieldInfo->CurrentValue)) {
                    throw new CCrystalException( m_printJob->GetErrorText() );} // if
               }

    objPEParameterFieldInfo.CurrentValueSet = 1;

  // Set the parameter field value
if (!PESetNthParameterField(m_printJob->GetJobHandle (), nth, ptrPEParameterFieldInfo)) {
  throw new CCrystalException( m_printJob->GetErrorText() ); } // if


Thanks & Regards
Sankar

Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Date & Time RICHBIRD Beginning VB 6 3 November 15th, 2007 07:59 AM
How can I set system time & date in VB.net ? mike123abc Pro VB.NET 2002/2003 1 April 27th, 2007 10:00 AM
how to get current date & time from client machine swati_joshi ASP.NET 1.0 and 1.1 Basics 2 April 28th, 2006 10:18 AM
Best method to store date & Time with SQL 2000 harini19 Java Basics 0 February 14th, 2006 11:52 PM
passing date time values to sql ashokparchuri ADO.NET 4 March 15th, 2005 12:47 AM



All times are GMT -4. The time now is 02:31 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.