Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reg: How to Populate the two dimensional array from query data

Status
Not open for further replies.

adfd

Programmer
Jun 9, 2004
2
US
Hi All,

I am trying to create and populate the array in the fetch method of a filter from the data which is coming from the query, those fields are col_labels and col_values. Basicaly I have to populate the text boxes(column name) on report with different value.( I am using Actuate 5)

besically my data is coming from the query like..

col_labels col_values

Name Customer Name
Address Address
phone Telephone
. .
. .
. .

I would be really greateful if I get the solution(code) from anybody..

And also if some body can tell me how to reference the array from the text boxes too.

This is Very URGENT Please !!!

Thanks in Advance
Manish
 
Declare your arrays as Global either in NewReportApp or in a bas file. Then it's simply array(i, 0) = Data, array(i, 1) = Data, i = i + 1. Make sure i is also a global var.
This is basic array stuff so there's tons of ref's online.

---------
Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top