cbotta
|
Posted: 02/05/2004, 1:24 PM |
|
I want this:
After inserting record to table, display page with inserted record.
Thanks a lot
|
|
|
peterr
Posts: 5971
|
Posted: 02/05/2004, 2:27 PM |
|
Take a look at "Multi-Step User Registration" example in CCS Example Pack.
You will need to do the same thing that the 1st page "MultiStepRegistration1" in the example does (look at the After Insert event), but redirect the page back to itself instead of another page.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Navneet Kakkar
|
Posted: 02/08/2004, 11:45 AM |
|
Peter Please advise how to go to the newly inserted record, if the only
fields is the autonumber key fields.
This has been discussed at various articles, but i can;t make it work.
if the table structure is as below
id - autonumber
name - text
address - memo
city - text
--
Thanks
luv
Navneet
aquananu@yahoo.com
9811153443
"peterr" <peterr@forum.codecharge> wrote in message
news:24022c3531e807@news.codecharge.com...
> Take a look at "Multi-Step User Registration" example in CCS Example Pack.
> You will need to do the same thing that the 1st page
"MultiStepRegistration1" in the example does (look at the After Insert
event), but redirect the page back to itself instead of another page.
> _________________
> Peter R.
> YesSoftware Support Representative
> http://support.codecharge.com
> Warning: I use Google and CCS Docs/Examples in most of my answers
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
|
|
|
Nicole
Posts: 586
|
Posted: 02/10/2004, 7:02 AM |
|
Navneet,
The MultiStep registration example contains the sample code you have to use.
What exactly you cannot make to work? E.g. you cannot redirect user to grid form? You cannot retrieve the primary key? You cannot pass primary key?
Also want exact code you’re using and what is your database?
_________________
Regards,
Nicole |
|
|
peterr
Posts: 5971
|
Posted: 02/10/2004, 11:54 AM |
|
Navneet,
I believe that the example is pretty clear and I'm not sure what I can add here. If you are a CCS user please contact our support and explain the problem.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Navneet Kakkar
|
Posted: 02/11/2004, 10:01 AM |
|
Dear Nicole,
i can't retrive the primary key
incase two records are inserted simultaneously from different users. then
how to know who inserted what??
also note in the structure i am using, the records are not unique.
if the table structure is as below
id - autonumber
name - text
address - memo
city - text
--
Thanks
luv
Navneet
aquananu@yahoo.com
9811153443
"Nicole" <Nicole@forum.codecharge> wrote in message
news:24028f27e38fd8@news.codecharge.com...
> Navneet,
> The MultiStep registration example contains the sample code you have to
use.
> What exactly you cannot make to work? E.g. you cannot redirect user to
grid form? You cannot retrieve the primary key? You cannot pass primary key?
> Also want exact code you're using and what is your database?
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.581 / Virus Database: 368 - Release Date: 2/9/2004
|
|
|
peterr
Posts: 5971
|
Posted: 02/11/2004, 12:30 PM |
|
You can look at "Updating Many-to-Many via CheckBox List" example in CCS Example Pack. The code there has comments explaining how to retrieve the last inserted key if records are not unique.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|