PeterE
|
Posted: 06/08/2005, 6:19 AM |
|
Hi,
I want to show a table with:
key-field: type:
agenda_id (label)
article_id showing title (join) (label)
article_id showing longtitle (join) (url)
categorie_id (label)
Now i want the url point to PageA.php or PageB.php depending on the value of categorie_id. So if categorie_id has the value X you go to PageA.php and if categorie_id has the value Y you go to PageB.php.
How do I do this???
|
|
|
Nicole
Posts: 586
|
Posted: 06/09/2005, 2:59 AM |
|
Peter,
In general you can use several tables as form’s data source. Open form’s Data Source dialog and build a query you need in Visual Query Builder.
As for a Link you can modify Link’s Page property in its Before Show event. CCS help should provide more information about it.
_________________
Regards,
Nicole |
|
|
PeterE
|
Posted: 06/13/2005, 5:08 AM |
|
Nicole,
this is the CodeCharge forum not the CCS forum!
I know I could do it probably in a Before Show or maybe in a Custom Show event, but how?
something like:
if categorie_id == X
url gotopage A.php
elsif
url gotopage B.php
(this is not php-code ofcourse
Got a more detailed solution?
|
|
|
|