功能
功能
注釋
(
功能
string syear
date idate
idate = date(svalue)
syear = string(year(idate))
smonth = string(month(idate))
sday = string(day(idate))
svalue = syear +
return svalue
end function
public function string wf_datetime (string inputvalue)
inputvalue = trim(inputvalue)
integer position
string bef
/* bef 為日期
position = pos(inputvalue
if position =
position = pos(inputvalue
if position =
return
else
bef = left(inputvalue
aft = right(inputvalue
if (not isdate(bef)) or (not istime(aft)) then
return
end if
end if
//bef = wf_dateconvert(bef)
//return bef +
string syear
date idate
idate = date(bef)
syear = string(year(idate))
smonth = right(
sday = right(
return syear+smonth+sday
end function
public subroutine wf_setcolumn (datawindow dw_
pfc_n_cst_string lnv_string
String scol
String shz
Integer i
If Not IsValid(dw_
If Not IsValid(dw_
dw_
For i =
scol = dw_
stable_col = dw_
stable = lnv_string
syw = stable_col //列名(不變
shz = trim(dw_
stype = dw_
if dw_
and shz <>
shz = lnv_string
shz = lnv_string
shz = lnv_string
shz = lnv_string
shz = lnv_string
shz = lnv_string
row = dw_
dw_
dw_
dw_
dw_
end if
Next
功能
From:http://tw.wingwit.com/Article/program/SQL/201311/16302.html