Setting the Rams System to access

Once you have set the connection, you need to tell the ITRDS which Rams System on that connection you want to talk to. There is one "system" per Rams company. For this demo we will assume that I have created a System also called "MYSYSTEM" on the connection I am using. Hence to tell the ITRDS that it’s this system I want to use, I issue the following command;

loITRDS.SetSystem("MYSYSTEM")

We should look for errors. Hence the proper way of doing this would be as follows;

loITRDS.SetSystem("MYSYSTEM")
If loITRDS.oSystem.lError
lcErrorMessage = loITRDS.oSystem.cErrorMsg
* Whatever handling you want here
Return .F.
Endif


Last Updated: 19/05/2004