[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Exporting dbf file to MS Excel in different sheets

Asked by kenrock2 in FoxPro Database

Tags: excel, from, different, file

I would like to know how should I export my .dbf data to excel into different sheets after I done my sql query.

Below are my codes:

SELECT ENG2.PLU,ENG2.ITEM,ENG2.QTY,ENG2.CHHOSTGL,ENG2.DEPARTMENT,ENG2.SUBDEPT,ENG2.CHPROFITC,ITEMM.PRICE1,ITEMM.ITCOST,VAL(ITEMM.PRICE1)*(ENG2.QTY) AS REV,VAL(ITEMM.ITCOST)*(ENG2.QTY) AS TOTALCOST;
    FROM D:\REPORTS\DATA\Eng\ENG2, D:\Reports\T2000\Data\itemm;
    WHERE ENG2.PLU = ITEMM.PLU;      
INTO TABLE D:\REPORTS\DATA\Eng\ENG3

CLOSE DATABASES

USE D:\REPORTS\Data\Eng\ENG3

COPY TO D:\REPORTS\Data\MenuEngOct TYPE XL5
[+][-]07/12/07 01:12 AM, ID: 19469630Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/12/07 02:17 AM, ID: 19469878Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/12/07 03:59 AM, ID: 19470339Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/12/07 05:24 AM, ID: 19470852Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/12/07 05:52 AM, ID: 19471060Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/12/07 11:30 PM, ID: 19478592Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/13/07 03:09 AM, ID: 19479334Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/16/07 09:22 PM, ID: 19502217Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/17/07 10:27 AM, ID: 19506954Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92