[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
No Subject
- From: Michael Reel <mreel@CONCENTRIC.NET>
- Date: Thu, 17 Jul 1997 13:43:45 -0700
- References: <B1A978CB1CBBD0118CAC00A024CB9D1409FDF7@viper.cmcmfg.com>
Paige McFall wrote:
>
> I am in the process of trying to create a series of charts. The
> examples that I have from Scribe and an SQR Training class only contain
> values in the array that are "hard-coded". I will be selecting data
> from the database to chart.
>
> Does anyone have any charting examples that contain database values ?
I would think that you would need to populate the array in the body of the
select used to retrieve the data from the database.
Here is a VERY BASIC skeleton program.
counter = 0
begin-select
col1
col2
colN
put col1 col2 colN into tabledata(Counter)
add 1 to counter
from ....
end-select
print-chart .... !use the array tabledata in the printchart command