CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 duplicating a record

Print topic Send  topic

Author Message
AQUANANU


Posts: 107
Posted: 05/16/2005, 2:01 AM

i want to give user the option of duplication a record depending on the search.

i have created a search page with a grid.

now i want the user to chose any one of the row/record displayed and click duplicate link.

on click, i want that the user should be sent to the maint page with the values already the copied into the form.

the action could be similar to edit of the record but the mode of the record after display should be insert not edit.
_________________
Navneet Kakkar
CEO
Positive Thinker's Inc.
View profile  Send private message
Nicole

Posts: 586
Posted: 05/16/2005, 4:50 AM

Hello,
You can create standard Record form and make Insert button always visible, even if form is in Edit Mode

_________________
Regards,
Nicole
View profile  Send private message
AQUANANU


Posts: 107
Posted: 05/17/2005, 1:44 PM

wow!!

this was too smart

;-)

_________________
Navneet Kakkar
CEO
Positive Thinker's Inc.
View profile  Send private message
fabri
Posted: 05/21/2005, 3:52 AM

HI,
how can I make the Insert Button always visible?
(sorry but I'm a newby)
AQUANANU


Posts: 107
Posted: 05/21/2005, 7:20 AM

add below code to before show

formname.BUTTON_INSERT.VISIBLE = TRUE
formname.button_update.visible = false


_________________
Navneet Kakkar
CEO
Positive Thinker's Inc.
View profile  Send private message
AQUANANU


Posts: 107
Posted: 05/21/2005, 7:59 AM

also ensure that you have changed the property of the record to allow insert
_________________
Navneet Kakkar
CEO
Positive Thinker's Inc.
View profile  Send private message
AQUANANU


Posts: 107
Posted: 06/23/2005, 11:48 AM

i am stuck up with file upload field.

the record being duplicated has some file attached. i dont want the same to be copied.

i reintiallised the fileupload field value but still the data value is being copied into the new record.
_________________
Navneet Kakkar
CEO
Positive Thinker's Inc.
View profile  Send private message
Nicole

Posts: 586
Posted: 06/24/2005, 2:48 AM

And what you expected? If you make Insert button visible in Edit mode all the record loaded on a form is duplicated when user clicks Insert. So what is wrong?
_________________
Regards,
Nicole
View profile  Send private message
AQUANANU


Posts: 107
Posted: 06/24/2005, 8:15 AM

i want to duplicate the record but do not want the attached files to cling on to the new record.

So how to reset the value in file upload field.
_________________
Navneet Kakkar
CEO
Positive Thinker's Inc.
View profile  Send private message

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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