DataSource
Posted: Thu May 12, 2011 2:00 am
Hi.
if i generate some report fields from a mysql, i will create a statement like
SELECT FIELD FROM TABLE WHERE FIELDX = {param1}
param1 = URL GET Parameter.
But how can i use values, that i can't determining via SQL ?
In my case i like to do a report like this:
DATE | ADDRESS
DATE | ADDRESS
DATE | ADDRESS
...
Where ADDRESS is a location, based on the Longitude / Latitude Values From the DB.
the location service is done by a php Function.
So the ADDRESS Value is, and cannot be a DB Value.
In theory i can do this with a PHP generated XML File as whole datastore.
But the XML filename has to be static.
and that is on a session based, multiuser system unfortunate.
Any idea ?
BR
Christian
if i generate some report fields from a mysql, i will create a statement like
SELECT FIELD FROM TABLE WHERE FIELDX = {param1}
param1 = URL GET Parameter.
But how can i use values, that i can't determining via SQL ?
In my case i like to do a report like this:
DATE | ADDRESS
DATE | ADDRESS
DATE | ADDRESS
...
Where ADDRESS is a location, based on the Longitude / Latitude Values From the DB.
the location service is done by a php Function.
So the ADDRESS Value is, and cannot be a DB Value.
In theory i can do this with a PHP generated XML File as whole datastore.
But the XML filename has to be static.
and that is on a session based, multiuser system unfortunate.
Any idea ?
BR
Christian