J
|
Jane 3/3/2008 |
Hi, global $conn; if ($values[FieldName"]) { $arr = explode(",",$values["FieldName"]); for ($i=0;$i<count($arr);$i++) { $strInsert = "insert into TableName (FieldName,FieldName2) values ('".$arr[0]."','".$values["FieldName2"]."')"; db_exec($strInsert,$conn); } } |
F
|
Fanta author 3/3/2008 |
Hi, you can parse entered value and insert separate record to the table manually in the Before record added/Before record updated events on the Events tab. Here is a sample:
|
F
|
Fanta author 3/4/2008 |
I have to change a little bit your cod only in one line: |
J
|
Jane 3/5/2008 |
Hi, with > return false; in your event. |
F
|
Fanta author 3/5/2008 |
Thank you Jane, this part of my program now works perfect. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=26649&image=1&table=forumreplies' class='bbc_emoticon' alt=':lol:' /> |
F
|
Fanta author 3/5/2008 |
I just remember one more problem. |
J
|
Jane 3/5/2008 |
Hi, |
F
|
Fanta author 3/18/2008 |
I tried to add style="WIDTH: 512px" but nothing is changing. In which line of code of the BuildSelectControl function should I add that code??? |