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:
 
EData = Current_EDB();
LoadAllChans_EDB(EData);
Data=Current_DB();
Commit_DB(Data);
UnLoad_EDB(sDbin);    //Close the edited database.

Does anyone have any ideas.

 
Aaron Balasch
Sky Hunter Technologies Inc.
Suite 101, 1725 10th Avenue S.W.
Calgary, Alberta T3C 0K1
Phone: (403)228-2175
Fax: (403)244-7955
email: [EMAIL PROTECTED]

Reply via email to