Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function DateStamp
Parameters cFileName
Private cFileName
StrToFile(chr(13)+chr(10)+dtoc(date)+" "+Time()+chr(13)+chr(10),cFileName,.t.)
Return(.t.)
Filename = "..."+DTOS(DATE())+strtran(time(),":","")
COPY TO (Filename) ... TYPE CSV ...
Filename = "..." + TTOC(DATETIME(), 1)
COPY TO (Filename) ... TYPE CSV ...
Filename = "\\Server\h-drive\Lyris\Reedman Toll\Reedman Toll Store 1 - Chevy\Branch1-Weekly-Customers-Roclose"+TTOC(DATETIME(), 1)+".txt"
COPY TO (Filename) Delimited with CHARACTER ,
#Define ccPath "\\Server\h-drive\Lyris\Reedman Toll\Reedman Toll Store 1 - Chevy\"
#Define ccFilename "Branch1-Weekly-Customers-Roclose"+TTOC(DATETIME(), 1)+".txt"
Function ExportTable()
select * ;
from eCustomer_tbl ;
where branch = '01' ;
into table eBranch1_Customer_tbl.dbf ;
order by email
* You have the table open already, as you created it!
* use c:\dp\eBranch1_Customer_tbl.dbf exclusive
if .not. eof() then
alter table eBranch1_Customer_tbl;
alter column ;
birthdate c(15),;
zip c(15),;
state c(15),;
branch c(6)
go top
insert blank before
replace email with "EMAIL", ;
branch with "BRANCH", ;
name with "NAME", ;
address with "ADDRESS", ;
city with "CITY", ;
state with "STATE/PROVINCE", ;
zip with "ZIP/POSTAL CODE", ;
hphone with "hphone", ;
phone2 with "PHONE2", ;
birthdate with "BIRTHDATE", ;
custnbr with "CUSTNO"
COPY TO (ccPath+ccFilename) Delimited with CHARACTER ,
endif
alter table eBranch1_Customer_tbl;
alter column birthdate c(15);
alter column zip c(15);
alter column state c(15);
alter column branch c(6)