CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 In Grid-Form: Copy Button

Print topic Send  topic

Author Message
Walter Kempees
Posted: 11/18/2003, 10:34 AM

I have a (generated) Serach-Grid-Form combination on a table.
User is able to Search Rows, then select a Row for update/delete or press
the New button to add a record (standard functionality).
I would like the user to be able to Insert a New record based on a
previously selected row from the grid, by pressing a COPY button on the form
of the selected record.
My approach would be to add (define) a COPY button to the Form in
Update/Delete mode and then do an Insert based on the current record
generating an autoincrement id, then I would like the form to enable the
user to accept the Insert or New Update, modifying parts of the data
presented.

Another approach would be to have the data of the last referenced row in the
grid (must have been edited though) and when NEW is pressed on the grid then
go to the INSERT form, presenting the passed data, either direct or after
pressing a COPY button others would likle tje CTRL+Z approach on field
basis.

Would be nice to add to the template as well as a CANCEL button.

Is this COPY documented anywhere, is it possible?
How to add this new functionality to the template?

Regards,
Walter

DonB
Posted: 11/18/2003, 5:53 PM

I did a little investigation and wrote this summary:

http://www.gotodon.com/ccbth/features/knowledgebase.asp?find=duplicate

This example defeats the "update" and turns it into a copy operation, but
it's a start. I'm not sure what would be the best way to have both copy and
update on a single form, maybe some creative use of the Click event?

--
DonB

http://www.gotodon.com/ccbth


"Walter Kempees" <kempe819@planet.nl> wrote in message
news:bpdoni$mq0$1@news.codecharge.com...
> I have a (generated) Serach-Grid-Form combination on a table.
> User is able to Search Rows, then select a Row for update/delete or press
> the New button to add a record (standard functionality).
> I would like the user to be able to Insert a New record based on a
> previously selected row from the grid, by pressing a COPY button on the
form
> of the selected record.
> My approach would be to add (define) a COPY button to the Form in
> Update/Delete mode and then do an Insert based on the current record
> generating an autoincrement id, then I would like the form to enable the
> user to accept the Insert or New Update, modifying parts of the data
> presented.
>
> Another approach would be to have the data of the last referenced row in
the
> grid (must have been edited though) and when NEW is pressed on the grid
then
> go to the INSERT form, presenting the passed data, either direct or after
> pressing a COPY button others would likle tje CTRL+Z approach on field
> basis.
>
> Would be nice to add to the template as well as a CANCEL button.
>
> Is this COPY documented anywhere, is it possible?
> How to add this new functionality to the template?
>
> Regards,
> Walter
>
>

Walter Kempees
Posted: 11/19/2003, 2:13 AM

Tx Don knew I could count on you.
Will investigate and report back.

"DonB" <~ccbth~@gotodon.com> schreef in bericht
news:bpeif3$lru$1@news.codecharge.com...
> I did a little investigation and wrote this summary:
>
> http://www.gotodon.com/ccbth/features/knowledgebase.asp?find=duplicate
>
> This example defeats the "update" and turns it into a copy operation, but
> it's a start. I'm not sure what would be the best way to have both copy
and
> update on a single form, maybe some creative use of the Click event?
>
> --
> DonB
>
> http://www.gotodon.com/ccbth
>
>
> "Walter Kempees" <kempe819@planet.nl> wrote in message
>news:bpdoni$mq0$1@news.codecharge.com...
> > I have a (generated) Serach-Grid-Form combination on a table.
> > User is able to Search Rows, then select a Row for update/delete or
press
> > the New button to add a record (standard functionality).
> > I would like the user to be able to Insert a New record based on a
> > previously selected row from the grid, by pressing a COPY button on the
> form
> > of the selected record.
> > My approach would be to add (define) a COPY button to the Form in
> > Update/Delete mode and then do an Insert based on the current record
> > generating an autoincrement id, then I would like the form to enable the
> > user to accept the Insert or New Update, modifying parts of the data
> > presented.
> >
> > Another approach would be to have the data of the last referenced row in
> the
> > grid (must have been edited though) and when NEW is pressed on the grid
> then
> > go to the INSERT form, presenting the passed data, either direct or
after
> > pressing a COPY button others would likle tje CTRL+Z approach on field
> > basis.
> >
> > Would be nice to add to the template as well as a CANCEL button.
> >
> > Is this COPY documented anywhere, is it possible?
> > How to add this new functionality to the template?
> >
> > Regards,
> > Walter
> >
> >
>
>

Walter Kempees
Posted: 11/24/2003, 3:12 PM

Posted to Support, solved.
Writing the text, check back later, DonB's solution will be tested next,
having some problem substituting ASP to PHP


"Walter Kempees" <kempe819@planet.nl> schreef in bericht
news:bpdoni$mq0$1@news.codecharge.com...
> I have a (generated) Serach-Grid-Form combination on a table.
> User is able to Search Rows, then select a Row for update/delete or press
> the New button to add a record (standard functionality).
> I would like the user to be able to Insert a New record based on a
> previously selected row from the grid, by pressing a COPY button on the
form
> of the selected record.
> My approach would be to add (define) a COPY button to the Form in
> Update/Delete mode and then do an Insert based on the current record
> generating an autoincrement id, then I would like the form to enable the
> user to accept the Insert or New Update, modifying parts of the data
> presented.
>
> Another approach would be to have the data of the last referenced row in
the
> grid (must have been edited though) and when NEW is pressed on the grid
then
> go to the INSERT form, presenting the passed data, either direct or after
> pressing a COPY button others would likle tje CTRL+Z approach on field
> basis.
>
> Would be nice to add to the template as well as a CANCEL button.
>
> Is this COPY documented anywhere, is it possible?
> How to add this new functionality to the template?
>
> Regards,
> Walter
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.