SummaryText Method

Summarizes the information of a QBEntity.

Syntax

string = QBEntity.SummaryText

Part Description
string A returned string that describes the question builder object.
QBEntity An object variable that represents a entity in the domain.

Applies To

QBEntity

Remarks

Here is an example of how SummaryText would be 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

%>    

The following is an example of what gets printed:

hotelname is a minor entity whose major entity is hotel.

hotelname participates in the following relationships:

hotels have hotelnames

hotel have checkin, checkout, map, pool, price, Category, hotelname, distance, airport distance, country, state.

hotel participates in the following relationships:

hotels have checkins
hotels have checkouts
hotels have maps
hotels have pools
hotels have prices
some hotels are $$$$_more_than_$224.99_(us_dollars)
hotels have hotelnames
hotels have distances from sights
airports have airport distances to hotels
hotels have airport distances to airports
hotels are located in cities
hotels are located in airports
hotels are located in countries
hotels are located in states
hotels have types
are near hotels near sights
are near sights near hotels
hotels take credit cards
hotels honor credit cards
hotels accept credit cards
hotels have amenities


(c) 1996-1998 Microsoft Corporation. All Rights Reserved.