Trending tags via OPC connection between two gateways

I have 2 gateways configured and working. Gateway A (gtwyA) has version 7.9.21 loaded. Gateway B (gtwyB) has version 8.1.41 loaded. GtwyA has a bunch of tags created to a number of PLC devices. It also has within these tags some of the tags logging data to a SQL database (SQLdb) on another server. I have created an OPC connection on gtwyB to gtwyA. I have created a database connection on gtwyB with the same database connection name as gtwyA. The database connection gtwyB points to the same database has gtwyA…SQLdb. If I open the designer mode of both gateways on two separate monitors, I can go to tags on gtwyA and see the tag value while looking at the same tag in gtwyB with the same value. This is what is supposed to happen because of the OPC connection between gtwyB and gtwyA. I would like to trend some of the tags on gtwyB that I have already successfully trended on gtwyA. If I drag and drop a tag on gtwyB into a simplet rend chart I don’t see any trend information. Though, if I do the same thing on gtwyA, I see the trend information on the trend chart that is on gtwyA. I cannot view the tag configuration of any tags that are on gtwyB because of the OPC connection and/or the fact that the newer gateway is connecting to an older gateway. But, the historical trend configuration defined for the tags on gtwyA exists on gtwyB…meaning, the same history provider and historical class exists on both gateways. IS it possible to trend the tags on gtwyA on a trend chart in gtwyB?

If you want Gateway B to automatically understand where to find in the SQL DB the history placed there by Gateway A, you need a Remote Tag Provider connection, not an OPC connection. (And you would set the RTP to divert history queries in B to the local DB connection.)