Any open tables global record buffer can be viewed
It cannot show anything regarding Data Dictionaries
Only open tables are listed
If a table is shown as ‘active’ it has data in its global record buffer
Alias tables are listed using the master table’s root name, but can be identified using the table number
Demonstration – Inspecting Table Data and Global Record Buffers
From the Table Explorer, right click on the Customer Table and select ‘New <Customer> Alias Table’
Enter “Customer2” in the ‘Table Name’ field and press OK
Hovering over the original Customer table shows that it is ‘Table 25 – Customers,’ and the alias table is ‘Table 6 – Customer2’
Select ‘Database’ from the top menu, and select ‘Filelist Explorer’
The Filelist Explorer shows that Customer2 is an alias for the Customer table because they share the same root name.
Double click ‘Customer.vw’ from the Workspace Explorer on the right
Open the Class Palette window by clicking its icon in the top tool bar, and drag-and-drop a button into the view
Click on the button to view its code
Add some code to the OnClick method to perform two Find gt in the Customer table to find the second row in the table
An open statement has to be added for Customer2 because it has not been opened in this view, which was designed to only view the original Customer table
Add a single Find gt in the Customer2 table to find the first row in that table
Add a breakpoint to the End Procedure line
Run the program, and open the Customer view by selecting ‘Customer Entry View’ from VIEW in the top menu
Perform a manual find for any row other than the first two and click the button, which will pause the program at the breakpoint placed at the End Procedure line
Add Watches to inspect the global record buffers for the Customer and Customer2 tables and the local Data Dictionary buffer for the Data Dictionary in this view
Each of these buffers can hold a separate record from the same Customer table
The Tables window now shows two Customer tables listed; both the Customer table and the alias table are listed by the tables root name ‘Customer.’ They can be differentiated by their table numbers.