Something like this ?
...
StartDate = DateSerial(Year(Now()),Month(Now())-1,2)
EndDate = DateSerial(Year(Now()),Month(Now()),2)
...
If StartDate <= objFile.DateLastModified and EndDate > objFile.DateLastModified Then
...
Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
Something like this ?
UPDATE tblTEST A
SET Val2=-(SELECT B.Val1 FROM tblTEST B WHERE B.Row=A.Row AND B.Val1=A.Val2)
WHERE Val2=0
Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
Why using arrays ?
#!/bin/ksh
IFS=",$IFS"
checkshells() {
for a in $S1; do
if [[ ",$S2," != *",$a,"* ]]; then
printf "$a(-),"
fi
done
for a in $S2; do
if [[ ",$S1," != *",$a,"* ]]; then
printf "$a(+),"
fi
done
}
checkshells | awk '{sub(/,$/,"");print}'
Hope This Helps, PH...
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.