Arto,

Remove all channels by calling UnLoadAllChans_EDB
Load the channels you want to export by calling LoadChan_EDB
The call the dbsubset GX - iRunGX_SYS("dbsubset")

This should do it!

If you have more time, you could use dbsubset as your model and make the
changes you need to create a new GX that does what you need.

Best,
Ian
_______________
Geosoft Inc.
Ian MacLeod
[EMAIL PROTECTED]
(416) 369 0111 x323


> -----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/[email protected]
> 
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html
List Archive http://www.mail-archive.com/[email protected]

Reply via email to