Hi Aaron,
I can't make this work as I would expect either.
As long as I put the Commit_DU() before unlocking the database,
then I can get the channels to be in there. However, they are
not displayed upon opening the database.
Re-arranging the calls to try to get the commit after the LoadChans_EDB()
always seems to fail...
---
Jim Roy voice 541 757 7231
Sys. Admin. fax 541 757 7331
NW Geophysical Assoc. http://www.nga.com
Corvallis Or. US
---
> From: "Aaron Balasch" <[EMAIL PROTECTED]>
>
> I have a series of databases and I need to apply a process to each of =
> these databases. I've written a GX(similar to a batch file) to go =
> through all the databases and perform the appropriate =
> operations(interpolations, refidding, etc) on the appropropriate =
> channels in the database. This was done through a series of calls to =
> iRunGX_SYS(). I have used this GX and it works fine. My problem comes in =
> when I thought I would add some code onto the end of the *.GXC file to =
> load the newly created channels into the database. I've spent most of =
> the morning working on this but haven't been able to get it to work. =
> Here is the code that I thought would do the trick:
> =20
> EData =3D Current_EDB();
> LoadAllChans_EDB(EData);
> Data=3DCurrent_DB();
> Commit_DB(Data);
> UnLoad_EDB(sDbin); //Close the edited database.
> Does anyone have any ideas.
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html