Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date/Time Build EXE Problem
Message
 
To
07/03/2013 10:01:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01567712
Message ID:
01567716
Views:
31
>>Hi Gang!
>>
>>The past few days, since we moved out PC's to the DOMAIN of our company, my VFP 9.0 sp1 app will not Build the EXE.
>>
>>It tries, then comes up with these errors (other people in the office in the domain say they can build it ok)....
>>
>>
>>Compiling g:\pharmacy\class libraries\forms\forms.vcx
>>glDemoExpireDate = {01/01/2020}
>>Error in line 104 of disclaimerscreen.Init (record 214): Ambiguous date/datetime constant. Use the format:
>>  {^yyyy-mm-dd[,][hh[:mm[:ss]] [a|p]]}
>>
>>Compiling g:\pharmacy\class libraries\forms\forms_ar.vcx
>>CASE .txtDate.value < {01/01/1900}
>>Error in line 15 of frmchargespayments.pgfDetail.PostPage.cmdPost.Click (record 127): Ambiguous date/datetime constant. Use the format:
>>  {^yyyy-mm-dd[,][hh[:mm[:ss]] [a|p]]}
>>
>>Compiling g:\pharmacy\class libraries\ecm.vcx
>>lxElement = {00/00/00}
>>Error in line 2159 of ecm.m_convertelement (record 2): Date/datetime evaluated to an invalid value.
>>
>>Compiling g:\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.
>>STORE {0/0/0} TO Thisform.p_otherpayerdate
>>Error in line 166 of frmthirdpartyquestions.Init (record 2581): Date/datetime evaluated to an invalid value.
>>Thisform.p_otherpayerdate = {0/0/0}
>>Error in line 248 of frmthirdpartyquestions.Init (record 2581): Date/datetime evaluated to an invalid value.
>>
>>
>>Any idea what has happened as to why I can't build the EXE ?? I don't remember changing any Date/Time settings on my PC.
>>
>>Thanks!
>
>If you really need to use those ambiguous dates in your code you'll need to SET STRICTDATE to a less restrictive value before building.
>
>However, you can change your code to use things like:
>
>glDemoExpireDate = DATE(2020,1,1)
>
>instead

Thanks !!
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform