Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameter Dates...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Titre:
Passing Parameter Dates...
Divers
Thread ID:
00783744
Message ID:
00783744
Vues:
49
Hello all!!!
I am passing some parameters to crystal and When I get to the date something werd happens.

ie.
myDate = CTOD('04/14/2003')
&& Mydate is now {04/14/2003}

&& Check The type of the parameter
nType = oParameterFields.Item(6).ValueType
&& This type is 10 for Date

&& Put the value in the parameter
oParameterFields.GetItemByName(cName).SetCurrentValue(myDate,nType)

&& all of a sudden my parameter value is not a Date but a Date Time
&& the Value = {04/14/2003 12:00:00 AM}
And so the report flashes up on the screen and nothing happens because all the
Criteria is correct except for the Date.

What do I need to do?

Thanks in Advance
What is Wisdom?
Wisdom - The ability to respond to any situation according to God's Plan.
Therefore:
USE Wisdom IN Everything ORDER priority AS Knowledge
SELECT Knowledge
BROWSE FOR Understanding WHERE Wisdom=Guide

LeRoy Jackson
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform