BeforeAdd - can't add record in another table |
5/13/2008 10:24:36 | |
| PHPRunner General questions | ||
|
I
Isterklister author
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=8467&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' /><img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=8467&image=2&table=forumtopics' class='bbc_emoticon' alt=':)' />
|
||
|
A
|
alang 5/13/2008 |
|
Typically it is not good practice to store the same information in multiple places. From your description you appear to want to be able to store multiple comments in Rapp_Comment relating to one record in Rapp_Rigg. In this case you need to use a master-detail relationship between the two tables and so the "Comment" field in Rapp_Rigg will then be a foreign key into the the Rapp_Comment table. In its simplest form, this can be implemented in PHPR without writing any special event code at all - set up initially on the "Datasource tables" tab. |
|
|
J
|
Jane 5/14/2008 |
|
Pelle, |
|
|
R
|
rockrockers23 5/15/2008 |
|
try to post your code buddy... |
|
|
I
|
Isterklister author 5/16/2008 |
|
"return tru" - I have definitly forgotten that. |
|