Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date/Time Build EXE Problem
Message
From
07/03/2013 09:54:49
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01567712
Message ID:
01567713
Views:
55
There is most likely a group policy in place, so the domain settings are getting applied to your PC. It should be easy to fix by changing your code where indicated.

>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!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform