Hi Arto, By raws I assume you mean raw channels. If this is the case there is already a GX which does this called dbsubset.
If you want to tweak it to your specific needs look at its source in <GEOSOFT>\gxdev\src\dbsubset. If you mean rows, look at the code for the GX delfids and combine it with what is in dbsubset where all channels are the selected option. You can then have a GX which will run from a right click on selected rows if you add your GX to an omn/smn as in montaj_popups.smn. Cheers, Jacques Beaurain Geosoft Inc. Software and services for effective earth science decision-making. Free Oasis montaj interface with public-domain Data Access Protocol (DAP) for accessing high-volume spatial data over the Internet available for download at http://www.geosoft.com/pinfo/free/downloadfree.html Geosoft Inc. 8th Floor 85 Richmond St. W. Toronto, Ontario Canada M5H 2C9 Tel. (416) 369-0111 -----Original Message----- From: Arto Korpisalo [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 7:54 AM To: [EMAIL PROTECTED] Subject: [gxnet]: creating new database consisting only selected raws Hi all developers! I have now a limited time to develope a new gx which should create a new database new.gdb from existing one old.gdb and it should contain only the selected raws from old.gdb. My old.gdb contains only one line which is formed up from many different measurements. So i should select six raws from every measurement to the new.gdb. Can somebody give me short advice how to code the process? I'd appreciate very much rapid answers! Cheers, Arto K _______________________________________________________ More mailing list info http://www.geosoft.com/support/listserv/index.html List Archive http://www.mail-archive.com/gxnet@lists.geosoft.com _______________________________________________________ More mailing list info http://www.geosoft.com/support/listserv/index.html List Archive http://www.mail-archive.com/gxnet@lists.geosoft.com