saseow
Posts: 744
|
| Posted: 10/01/2008, 8:18 AM |
|
I have to do numerous calculations on values in different tables. What I would like to know is the best way to include these calculations:
1) Should I simply create a 'calculations' page and write all the code in there? This would be in the Before Show event I presume?
2) Create a separate PHP page, write all the calculation code in there and somehow include this into the project.
Any tips would be appreciated.
Regards,
Trevor
|
 |
 |
datadoit
|
| Posted: 10/01/2008, 8:24 AM |
|
How about putting the calculations into a view in your database? Then
in CCS your datasource is simply the view.
|
|
|
 |
saseow
Posts: 744
|
| Posted: 10/01/2008, 8:34 AM |
|
Never thought of that and also never used a view in MySQL. I will look into that.
Thanks Datadoit.
|
 |
 |
|