Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 9 SP2 date/datetime invalid value
Message
De
23/03/2012 14:45:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01539200
Message ID:
01539201
Vues:
74
{} should work.

>Hi Gang!
>
>Well, we are taking the BIG plunge here.... from VFP 8.0 SP1 to VFP 9.0 SP2.
>
>When I compiled the project, I got some new errors... having to do with this date/datetime evaluated to an invlalid value error....
>
>for example....
>
>
>Compiling c:\pharmacy\class libraries\forms\forms_rx.vcx
>
>INSERT INTO csrHistory (Current,Rx_no, Refill_no, DateFilled, NDC, Name, QtyFilled, Price, Discount, Cash,  ThirdParty, AWP, QtyAWP, Acq, QtyAcq, FMAC, QtyFMAC,PriceCode,InsName,Margin) VALUES (.T.,0, 0, {00/00/0000}, drug.ndc, ALLTRIM(drug.name),This.Parent.DrugPage.pgfDrug.TradePage.txtQtyFilled.value,  This.txtGrossBilled.value, This.txtDiscount.value, This.txtNetBilled.value , 0.00 , drug.awp,  This.txtQtyAWP.value, drug.acquisition_cost, This.txtQtyAcq.value, drug.fmac, This.txtQtyFMAC.value,  Thisform.p_PriceCode,lcInsuranceName,lnMargin )
>
>Error in line 270 of frmrx.pgfScreen.RapidPage.pgfData.PricingPage.Activate (record 4): Date/datetime evaluated to an invalid value.
>
>
>
>I see that it is not liking the {00/00/0000} value.....
>
>So what should I replace this with?......
>
>CTOD('00/00/0000') or perhaps.... {} ?? What would you recommend ????
>
>thanks!!!!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform