Working VFP 9 I have the followind code which gets the desired result
Can someone point me to the right direction to combine the select statments and get rid of the append from?
thanks
wjwjr
Code:
mdate=CTOD("04/01/07")
medate=CTOD("04/30/07")
SELECT * ;
FROM sch;
WHERE (BETWEEN(S_DATE,mdate,medate)) AND type=[G] ;
ORDER BY SCH.S_date ;
into table current.dbf
SELECT * ;
FROM sch;
WHERE (BETWEEN(S_DATE,mdate,medate)) AND type=[W] ;
ORDER BY SCH.S_date ;
into table temp.dbf
IF USED("current")
SELECT current
ELSE
USE current
endif
APPEND FROM temp
brow
Can someone point me to the right direction to combine the select statments and get rid of the append from?
thanks
wjwjr