duplicating the record data

Questions and answers for designing and implementing forms in Servoy

duplicating the record data

Postby arumalla » Fri Oct 10, 2003 7:18 pm

Hi

Is there any way to duplicate the record with a little change?

The scenario is...

We have some products ordered, say Amino Acids...
We enter the data regarding the product in to the data base with 'lotno' as reference. After a day or two when we order the same product it comes with same data but the different 'lotno'.

Instead of again entering all the data in to the database... Is there any way I can duplicate the old record and change just the 'lotno'.

If this possible, somebody give me an idea how can I achieve this...

Thanks
~Chandra
Thanks & Regards

Chandra Arumalla

chandraa@synpep.com
www.synpep.com
User avatar
arumalla
 
Posts: 41
Joined: Thu Apr 24, 2003 12:02 am
Location: Dublin, CA

Postby Jan Aleman » Fri Oct 10, 2003 7:24 pm

Press Ctrl-D or choose Select-Duplicate.
In a method you can do:
controller.duplicateRecord()
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby arumalla » Fri Oct 10, 2003 7:33 pm

cool.... that works...

Thanks Aleman..

~Chandra
User avatar
arumalla
 
Posts: 41
Joined: Thu Apr 24, 2003 12:02 am
Location: Dublin, CA


Return to Forms

Who is online

Users browsing this forum: No registered users and 1 guest