Is there a direct way of using an ISIN with AdxRtList.RegisterItems? If not, I assume I'd have to use RSearch to first get the RIC from the ISIN. Could you maybe offer some guidance?
I'm using VBA in MS Access 2016.
There's a couple of errors in your code.
1. m_dex2mgrADC variable must be declared as Dex2Lib.IDex2Mgr2, not as Dex2Lib.IDex2Mgr
2. To create RData object you need to use Dex2Lib.Dex2Mgr class. So it should be
Set m_rdata = m_dex2mgr.CreateRData(m_cookie)
and not Set m_rdata = m_dex2mgrADC.CreateRData(m_cookie) as in your code.
Once I corrected these two errors I was able to retrieve the data using your code. Oh, and just as a sanity check, your run the example by calling ConnectToEikon procedure, right? Cause if you call Command0_Click then CloseDex procedure will run and destroy RData object before it has a chance to retrieve the data.
I would recommend using the reference data API for this, it is called DEX2.
If you have a list of ISINs, you can send it in a RData query (a part of the DEX2) requesting the RIC (either field RI.ID.RIC or TR.RIC depending on the interface).
You can find the usage sample here.
I don't see any event handling in the code snippet you posted. Are you trying to get the Data property of RData object immediately after calling m_rdata.Subscribe? OnUpdate event of RData class notifies you that the data you requested has been retrieved and is available. You should access the data from the callback for OnUpdate event, as it's done in the tutorial you referenced. If you already access the data from within OnUpdate event handler, then what are the values of DataStatus and Error parameters returned to the event handler procedure?