SummaryText Property

English Query

English Query

SummaryText Property

Specifies a list, in the English sentence form, of relationships in which the entity participates.

Applies To

QBEntity

Syntax

string = QBEntity.SummaryText

Parts

string

A returned string that describes a Question Builder object.

QBEntity

An object variable that represents an entity in the model.

Remarks

The following is an example of how the SummaryText property is called:

<%
   Set objEntities = objQBuilder.Entities       

   CRNL = Chr(13) & Chr(10) 
   str2 = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
   Response.Write( "fpp " & CRNL)
   
   For each objEntity in objEntities
      str1 = objEntity.SummaryText
      str1 = Replace(str1, Chr(13), "<br>")
      str1 = Replace(str1, Chr(9), str2)   
      Response.Write( str1 & CRNL)
      Response.Write( "<p>" & CRNL)
   Next
%>   

This is an example of what gets printed:

hotelname is an attribute of hotel.

hotelname participates in the following relationships:

hotels have hotelnames

hotels have price categories, airport distances, casinos, hotel names, checkouts, URLs, addresses, checkins, faxes, foreign phone numbers, latitudes, local phones, longitudes, pools, postal codes, reservation phones, and types.

hotels participate in the following relationships:

  • hotels are within airport distances from airports
  • hotels have distances from sights

  • hotels have cities

  • hotels feature amenities

  • hotels have amenities

  • hotels are located in cities

  • hotels are located in countries

  • hotels are located in states

  • hotels are located in sights

  • hotels are located in addresses

  • amenities are located in hotels

  • casinos are located in hotels

  • hotels offer amenities

  • hotels have prices

  • hotels accept credit cards

  • hotels cost prices

  • hotels allow amenities

  • sights are near hotels

  • hotels are near sights

  • hotels honor credit cards

  • hotels take credit cards

  • hotels are within distances from sights