libraent
Posts: 11
|
| Posted: 04/12/2005, 5:07 PM |
|
I've done searches and read I don't know how many posts. I think what I want is similar to the multi-step registration example. So, I'm following the instructions and have put in my link parameters in the href source field of:
Data Source Type = DataSource Column, Parameter Source = DonationID and Parameter Name = DonationID
Now, when I go to my empty record form, the DonationID should pull the DonorName from 'Contributors' table (just so the entry person can be sure their inputting the donation for the right company) using the DonationID parameter. Where/do I need to put this in my blank form to pull that data into the field?
One last thing, maybe the moderator can help with this, reading down the the instructions I come across this line:
7. Add the appropriate programming code in the Record form's After Insert event as shown in the example
What example exactly?
Thanks for everyones help.
_________________
Thanks,
Shane Taylor
Libra Enterprises |
 |
 |
peterr
Posts: 5971
|
| Posted: 04/12/2005, 5:20 PM |
|
Hi,
"The example" is the same example that you are looking at, meannig that when you click on the 'Code' tab in CCS you should see the custom code assigned to the "After Insert" event.
If you don't see any code there then please make sure that you create that example in PHP according to these instructions: http://docs.codecharge.com/studio/html/ProgrammingTechn...xamplePack.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
libraent
Posts: 11
|
| Posted: 04/13/2005, 3:07 PM |
|
I have opened that project file and selected the code, but I don't see a "After Insert" section. Am I missing something peter?
Also, where on the redirected page do I put the info for the URL to pass and pull up the info. Is there some documentation or something I've not found?
Sorry about this, I'm trying to learn. Thanks so much for your help.
_________________
Thanks,
Shane Taylor
Libra Enterprises |
 |
 |
libraent
Posts: 11
|
| Posted: 04/13/2005, 3:09 PM |
|
I have opened that project file and selected the code, but I don't see a "After Insert" section. Am I missing something peter?
Also, where on the redirected page do I put the info for the URL to pass and pull up the info. Is there some documentation or something I've not found?
Sorry about this, I'm trying to learn. Thanks so much for your help.
_________________
Thanks,
Shane Taylor
Libra Enterprises |
 |
 |
Nicole
Posts: 586
|
| Posted: 04/14/2005, 2:34 AM |
|
Hello,
to add After Insert event select a form in Design mode or in Project Explorer window and switch to Properties -> Events tab. You’ll see a list of all form’s events. Select the After Insert, right click on it and choose Add Code option.
You cab refer to description and sample code of Multi Step registration example. I think you’ll find necessary sample code and settings in it.
_________________
Regards,
Nicole |
 |
 |
|