Where are most of you programmers and users of Focus bases. I have programmed in Focus for eight years and love the language, SQL is so clumsy by comparison. I am based in the UK.
Where are you lot from?
jcollier3,
Also DISABLED might be a reserved word (need to check this).
DEFINE FILE <FILENAME> CLEAR
DIS_FLAG /I1 = IF ((UPCASE(NSACCOUNTLOCK) EQ 'TRUE') THEN 1 ELSE IF ((UPCASE(NSACCOUNTLOCK) EQ 'FALSE') THEN 0
ELSE 2;
END
TABLE FILE <FILENAME>
WHERE (DIS_FLAG EQ '&DIS_FLAG')
END...
We used to extract data from the databases and store the output in csv file.
e.g.
Year, Month, Day, YTD_Target, Actual_Amount, Branch
2010,10,05,5000,4500,124567
2010,05,05,4000,10,123456
Then you import the data into a spreadsheet such as excel and store each column as a separate column. Then...
You should be able to extract the information from the OS and session that your running. Put the resulting query into && variables, then you will be able to manipulate the resulting output.
Regards
Andrew
Why don't you hold the file as like the following .
...
ON TABLE HOLD AS MY_FILE FORMAT FOCUS INDEX ID_ONE ID_TWO
END
You would have to look up the syntax as I'm rusty on FOCUS (10+ years)
Regards
Andrew
Does anyone know if IBI would still supply this? As I used to program in this for about 8 years and now work for a school and would like to supply them with a suite of programs to help streamline there functions. As schools have a tight budget I just wanted to know if there were still copies...
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.