Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program works ok in VFP but not from explorer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Program works ok in VFP but not from explorer
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01626541
Message ID:
01626541
Vues:
93
My program has the following code

datexo=LEFT(datx,2)+"/"+monato+"/20"+SUBSTR(datx,8,2)+" "+SUBSTR(datx,11,6)+":00"

which results in a data like 28/10/2015 10:30:00 still in character format

its then appended into a date time field

This works fine as long as I run it from inside VFP on all machines

But if I run it as a scheduled service or from Explorer on 1 machine the date time field is blank although the character format is the same 28/10/2015 10:30:00

What is the problem?



Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform