Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strictdate Unhappiness!
Message
De
11/12/2001 15:15:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00592889
Message ID:
00592901
Vues:
22
>>Hello Everyone,
>>
>>I would appreciate any assistance on this one. I have created a report based on parametized view. The view prompts for a date range. When I run the report
>>the following is the error I receive.
>>
>> Error 2032: Ambiguous Date/DateTime constant. Use the format
>> ^yyyy-mm-dd[,][hh[:mm[:ss]][a|p]]
>>
>>Thanks...
>
>It is expecting you to enter something recognized as a Date. I gather your parameterized view had something like:
>
>Table.DateField = ?vp_DateEntered
>
>If you are keying this in you might try:
>
>Table.DateField = CTOD(?vp_DateEntered)


Bret,

In the view my parameters are setup as [Date] in the View Parameters screen. [VFP6.0]. Would I still need the CTOD on the parameters. With regards to date field in the table, I have [Set Date to YMD], [Set Century On], and [Set Strictdate To 1] in my main program.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform