Navigation:  Reference > Commands >

Set CodeBase File Active

Print this Topic Previous pageReturn to chapter overviewNext page

 

This command will point the fields in a program at a specific CodeBase file.  This would be used ONLY IF there are two or more CodeBase files that have been opened in a program using the same FD and, you want to access the fields in the files using the field names.

 

SETCBACTIVE f/c/e Required - This is the file handle you wish to set active.

 

 

COMMENTS

When a CodeBase file is opened the buffer for that file is maintained by CodeBase, not in TAS Pro.  So, if you open two CodeBase files that use the same FD (or set of fields) the first file opened in the program gains control of those fields.  If you find a record in the file that is not active you will not be able to see the results in the fields.  The best way to think about this is that the fields are connected to a specific buffer.  The active buffer is the first file opened.  If you want to connect the fields to a different buffer you must use this command to force a reconnect. NOTE:  This command will not connect fields to a file that doesn't have the same FD.

 

 


Page url: http://www.cassoftware.com/tas/manual/setcodebasefileactive.htm