Show / Hide Table of Contents

QuerySQL

Object and Type

Object  : FCGeneric

Type     : Property

Prototype

Public QuerySQL As String

Description

This property simply contains the SQL statement that FCFL used to query the generic. When FCFL queries a generic object, the SQL string used for the query is placed into this string property. The primary purpose of this property is for debugging as new code is written.

No similar operation is currently available for insert, delete, and update operations.

Example

The following example demonstrates setting the QuerySQL property for a query object.

JavaScript:

  // Include all relations in a query for site_part
  var boSite = FCSession.CreateGeneric('site');
  boSite.Query();

  alert(boSite.QuerySQL);

Visual Basic:

  Dim boSite As FCGeneric
  Set boSite = fc_session.CreateGeneric("site")
  boSite.Query

  msgbox boSite.QuerySQL
Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.