Below is a sample of some script from an XML file (file name is something like "filename1.xml" etc.)
These script files are used with a predictive dialer.
They are not used for all functions...only certian types of campaigns (for those familiar with call centers).
I've gotten a basic...
I've been using:
end_date = Datetime()
To log the date only (it was returning 3/5/2007 only).
After a recent upgrade...the same command is now returning date AND time (as in "3/5/2007 12:34:15 PM")
Is there a variation of Datetime() that will return only the date....as in "3/5/2007" ...
I'm feeling kinda silly here....this can't be difficult.
I've been searching this forum and haven't been able to find a solution.
I need to store an existing value which is in the DATE format to a character (text) field.
I thought STR was it (e.g. TextValue = STR(DateValue)
But that causes...
Folks,
I've got a really big FoxPro table.
I'm only somewhat familiar with FoxPro commands...just enough to get by those times when I need to do some minor editing.
I can open the table up and browse the data using VFP 7.0
When opening the table...a command line window pops up.
I'm needing...
I've got a VFP app that gets its data from a .dbf file.
Well...some of the records in that file (about 20%) have 1 field that is wrong.
I've got an updated .dbf that is just like the original, except with the correct data in the fields of those records.
For a few odd reasons...I cannot...
I'm needing to get a quick total (count) of the number of times a certain value appears in a field.
Am using a regular old VFP .dbf table with standard commands.
The deal is that I'm need to just count the values whose FIRST 2 Letters match a particular critera.
For example..the following is...
Currently using:
TTOC(DATETIME(),2) .... (special thanks to craigsboyd)
to properly display time in 12hr format with AM/PM.
It will corectly return:
12:31:04 PM
I'm needing....
12:31 PM
Using:
SET SECONDS OFF
TTOC(DATETIME(),2)
Will still return...
12:31:04 PM
Is this the correct usage of...
When running an external program via command line (using a process provided in this great forum!)....some type of error window pops up behind the apps' window.
It contains, evidently, a type of dos-like error message. It says something like:
'[shows the path of the current main FoxPro app]'...
I'm thinking that is cannot be very complicated...but I can't find a solution anywhwere.
I'm running a VFP 7.0 .prg's
I need to run an external a non-vfp program using a VFP value as a parameter.
Currently, I have tried the RUN command:
Run c:\programs\Prog1.exe
This causes the program to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.