I AM USING VFP 6.0
I have a data file with a Character field called TESTSCORE it contains whole number 100,99,98,97,96.....0
I would like to sort it in descending order by TESTSCORE then code in a different field
A - for the top 10%
B - for NEXT 10%
C - for NEXT 10%
D - for NEXT 10%
E - for...
PERFORM A QUERY ON MORE THAN ONE DATA FILE WITH THE SAME
DATA FIELDS IN ALL DATA FILES TO GET THE TOTAL RESULTS IN THE QUERY OF ALL DATA FILE COMBINED.
EXAMPLE OF MY CODE.
SELECT SHOENAME,SHOESIZE,COUNT(SHOENAME) FROM A1NSSRT.DBF,A2NSSRT.DBF,A3NSSRT.DBF GROUP BY SHOENAME
I have a VF6 data file that IS ALREADY SORTED BY GROUPS AND I NEED TO ADD A SEQ NUMBER TO A NUMERIC DATA FIELD STARTING WITH 1 TO END OF THE GROUP FOR EACH GROUPS. THEN SORT WITHIN
EACH GROUP.
EXAMPLE
FRUITS SEQNUMBER
APPLES 1
APPLES 2
APPLES 3
APPLES 4...
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.