<br><b>Code</b>: rsb:print<br><b>Error</b>: Formatter [ rootadoname ] failed in the evaluation of [datasource]. This article will walk through connecting to [service] and creating a simple VCL application with the Form Designer. </p> <h2>Creating a VCL Application for [service] [datatype]</h2> <p>The following instructions show how to use the Form Designer to create a simple VCL Forms application that shows the basic FireDAC objects needed to connect to [service] from any application.</p> <p>The following example populates a <var>TDBGrid</var> control. <ol> <li>Create a new VCL Forms Application.</li> <li>Drop a <var>TFDPhys[rootadoname]DriverLink</var> and <var>TFDConnection</var> object onto the form.</li> <li><p>Double-click the <var>TFDConnection</var> object. The FireDAC Connection Editor is displayed. Select "[company_name].[rootadoname]" in the DriverId menu and configure the connection properties. <br> [extraconnectionnotes|def('')]</p> <img src="../../../kb/articles/firedac-rad-vcl-app-1.png" title="Setting the Connection Parameters. (Salesforce is shown.)"/></li> <li>Drop a <var>TFDQuery</var> object onto the form and set the properties below: <p/> <ul class="bullets_blue"> <li><b>Connection</b> - Set this property to the <var>TFDConnection</var> object, if this object is not already specified.</li> <li><b>SQL</b> - Click the button in the SQL property and enter a query.</li> <li><b>Active</b> - Set this property to true. </li> </ul> </li> <li>Drop a <var>TDataSource</var> object onto the form and set the following property: <p /> <ul class="bullets_blue"> <li><b>DataSet</b> - In the menu for this property, select the name of the <var>TFDQuery</var> object.</li> </ul> </li> <li>Drop a <var>TDBGrid</var> control onto the form and set the following property: <p/> <ul class="bullets_blue"> <li><b>DataSource</b> - Select the name of the <var>TDataSource</var>.</li> </ul> </li> <li><p>Drop a <var>TFDGUIxWaitCursor</var> onto the form. This is required to avoid a run-time error.</p> <img src="../../../kb/articles/firedac-rad-vcl-app-2.png" title="A Sample VCL Form with all Requisite Objects. (Salesforce is shown.)"/></li> </ol> </p> <p> You now have an executable application that displays the results of the SQL Query set in the <var>TFDQuery</var> object. </p> <img src="../../../kb/articles/firedac-rad-vcl-app-3.png" title="The Data Displayed in a Form. (Salesforce is shown.)"/>. The error was: The value of the attribute could not be accessed: The attribute does not exist.<br><b>URL</b>: /jp/kb/tech/veevacrm-firedac-rad-vcl-app.rst