We currently have a query program that writes out a report to a floppy disk. We have had people ask for this list either via email or CD. Is there a way to do this? I read the post about blat, so I'm going to try that. Any thoughts on another way to do this? Here's our query code:
SELECT Organztn.org_id, Organztn.org_county, Organztn.org_name,;
Organztn.org_type, Organztn.contact1, Organztn.phone1_bus,;
Organztn.fd_phone, Organztn.ml_add1, Organztn.ml_add2, Organztn.ml_city,;
Organztn.ml_state, Organztn.ml_zip, Codes.table, Codes.tab_cval1,;
Codes.tab_key;
FROM Organztn, Codes;
WHERE Codes.tab_key = Organztn.org_county;
AND (Codes.table == "CNTY";
AND Organztn.org_type IN ("C ","CV","CO","V ",'FC"');
AND Organztn.org_subid == "00";
AND Organztn.org_status == "A";
AND Organztn.no_pub = " ");
ORDER BY Organztn.org_id;
INTO CURSOR DISC
REPORT FORM DISCLST.FRX TO FILE A:\ORGLST.TXT NOCONSOLE NOEJECT
I've tried changing the above to
REPORT FORM DISCLST.FRX TO FILE D:\ORGLST.TXT NOCONSOLE NOEJECT
But it doesn't work. It does nothing. I'm not a programmer, but is it possible to make calls to external programs from FoxPro 2.5? Like .bat, .exe, .com, .vbs??
TIA
Iolair MacWalter
Network Engineer
SELECT Organztn.org_id, Organztn.org_county, Organztn.org_name,;
Organztn.org_type, Organztn.contact1, Organztn.phone1_bus,;
Organztn.fd_phone, Organztn.ml_add1, Organztn.ml_add2, Organztn.ml_city,;
Organztn.ml_state, Organztn.ml_zip, Codes.table, Codes.tab_cval1,;
Codes.tab_key;
FROM Organztn, Codes;
WHERE Codes.tab_key = Organztn.org_county;
AND (Codes.table == "CNTY";
AND Organztn.org_type IN ("C ","CV","CO","V ",'FC"');
AND Organztn.org_subid == "00";
AND Organztn.org_status == "A";
AND Organztn.no_pub = " ");
ORDER BY Organztn.org_id;
INTO CURSOR DISC
REPORT FORM DISCLST.FRX TO FILE A:\ORGLST.TXT NOCONSOLE NOEJECT
I've tried changing the above to
REPORT FORM DISCLST.FRX TO FILE D:\ORGLST.TXT NOCONSOLE NOEJECT
But it doesn't work. It does nothing. I'm not a programmer, but is it possible to make calls to external programs from FoxPro 2.5? Like .bat, .exe, .com, .vbs??
TIA
Iolair MacWalter
Network Engineer