Karesim
Posts: 2
|
| Posted: 01/07/2006, 10:01 AM |
|
How can I give field3 a value from field1+field2 after I register values in filed1+field2 when I insert a post?
|
 |
 |
peterr
Posts: 5971
|
| Posted: 01/07/2006, 1:59 PM |
|
You would need to put that code (field3 = field1+field2) in the Before Insert event. Of course in the syntax of the programming language that you are using.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Karesim
Posts: 2
|
| Posted: 01/08/2006, 1:14 AM |
|
Thank you Peter, but where do I find the event Before Insert? I looked for it, but I didn't find this event.
Kåre
|
 |
 |
peterr
Posts: 5971
|
| Posted: 01/08/2006, 10:15 PM |
|
It's the event of the form that you are using (record or editable grid).
If you just started using CCS then I recommend that you start with the tutorials. For example here is the section on adding events: http://docs.codecharge.com/studio3/html/QuickStart/Crea...Emails.html?toc
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |