Sets connection to online mode.
The Online method opens the connection to the DBMS by implicitly setting the Connected to True and changing the state to online.
To bring connection and associated datasets to the offline state, call the Offline method.
Calling Online method is the same as setting Offlined to False.
Offlining Connection, Offline, Offlined, Connected
lblState.Caption := '<connected>';