Export the Report into Excel

Hi All,

How to do the Export the Report into Excel using array??..

Regards,

Padma

Hi Padma,

What do you mean by array ?

Is this Classic client or RTC ?

G.

Can you be more clear what problem you are facing…

Hi,

Mohana i am not facing any problem.This is first time i am trying the Export into Excel using array.I dont have any deep knowledge about arrays.

Regards,

Padma

Then why do you want to do with Array?

HI

Example of Array;

K=0;

K=K+1;

Array[K] :=Value;

I will use a Array because my value change, If i have 10 value Say 1,2,3…10

so my result of value is for 10 times.

Array[1] := value1;

Array[2] :=value2…etc.

This is one of my task.That’s why i want to do that.

You want us to do your task?

try yourself and let us know what problem you are facing…

Hi Padma This may helpful

http://dynamicsuser.net/forums/p/31675/166416.aspx#166416

Thanks

Jerome Marshal. J

Check Report 6. That has excel export capability.

g.

Hello Mohana,

i am trying also.Then intermediate i il ask the forum also.If you know tell me otherwise no problem.

Hi Marshal ,

Thanks for your help.

Hi Padma This may helpful

http://dynamicsuser.net/forums/p/31675/166416.aspx#166416

Thanks

Jerome Marshal. J

This is an example of using the excel buffer…

Documentation()
Paddy Test Excel Report

Customer - OnPreDataItem()
Window.OPEN(
Text001 +
‘@1@@@@@@@@@@@@@@@@@@@@@’);
Window.UPDATE(1,0);
TotalRecNo := Customer.COUNTAPPROX;
RecNo :=0;

TempExcelBuffer.DELETEALL;
CLEAR(TempExcelBuffer);
EnterCell(1, 1, Text000, TRUE, TRUE, FALSE);

Row := 3;

Customer - OnAfterGetRecord()
Row := Row + 1;
EnterCell(Row, 1, “No.”, FALSE, FALSE, FALSE);
EnterCell(Row, 2, Name, FALSE, FALSE, FALSE);

RecNo := RecNo + 1;
Window.UPDATE(1,ROUND(RecNo / TotalRecNo * 10000,1));

Customer - OnPostDataItem()
Window.CLOSE;

TempExcelBuffer.CreateBook;
TempExcelBuffer.CreateSheet(Text000,Text000,COMPANYNAME,USERID);
TempExcelBuffer.GiveUserControl;

EnterCell(RowNo : Integer;ColumnNo : Integer;CellValue : Text[250];Bold : Boolean;Italic : Boolean;UnderLine : Boolean)
TempExcelBuffer.INIT;
TempExcelBuffer.VALIDATE(“Row No.”,RowNo);
TempExcelBuffer.VALIDATE(“Column No.”,ColumnNo);
TempExcelBuffer.“Cell Value as Text” := CellValue;
TempExcelBuffer.Formula := ‘’;
TempExcelBuffer.Bold := Bold;
TempExcelBuffer.Italic := Italic;
TempExcelBuffer.Underline := UnderLine;
TempExcelBuffer.INSERT;

Hi

if your problem solved then please verify the solution

Thanks

Jerome marshal. J