![]() PROTECTED, the buffer must also be defined as PROTECTED or inherited from a super class Īnd if the data-source is PRIVATE, the buffer can be defined as either PRIVATE or ![]() Static data member, the buffer must also be a static data member if the query is Of a class, you must specify the name of a compatible buffer. For a shared query, eachīuffer-name must be a shared buffer. Specifies the buffers to be used by the query, where buffer-name isĪ table or alternate buffer name. Procedure, method of a class (including constructors, destructors, and propertyĪccessors), or as a PRIVATE data member of a class. QUERY query Defines and identifies a query whose records you can access only within the current There can be only one class member inĭefine data members in a class, see the CLASS statement reference entry. Queries definedĪs members of a class share the same namespace. Variables/properties/events, ProDataSets, queries, and data-sources. Into six namespaces, including buffers/temp-tables, methods, You cannot directly reference an instance query data memberįrom a STATIC class member definition defined within the same class or classįor more information on accessing queries of different access modesĪnd scopes, see the reference entry for Class-based data member access. ABL creates one copy of the specified instance query for each such class Instance query data member that is scoped to a single instance of the class where it Without the STATIC option, ABL creates an Static query data member from any other static or instance class member defined in the Reference to the class type, and ABL creates only one such copy for any number of ABL creates one copy of the specified class static query on first ![]() Query cannot be more restrictive than the access mode of the referencing dataĪ query defined with the STATIC option is a static data member of theĬlass type for which it is defined and is scoped to the ABL session where it is When you reference a query from another data member definition (such as aĭata-source) defined in the same class or class hierarchy, the access mode of the That is at the same level or higher in the class hierarchy. An instance can access a protected data member of a second instance PROTECTED query data members can be accessed by the defining class and any of itsĭerived classes. Private data member of another instance if both instances are from the same class. Query data members can be accessed by the defining class. The definition of a given query data member in a class hierarchy. Note also that you cannot shadow (override) Options are applicable only when defining a data member for a class in a classĭefinition (. ForĪ data member query, each buffer-name must be the name of aĬompatible data member buffer (see the FOR option). Method (including constructors, destructors, and property accessors) or a procedure. You cannot specify these options when defining a query as a data element of a QUERY queryĭefines and identifies a query as a data member of a class, and optionally specifiesĪn access mode (PRIVATE or PROTECTED) and scope (instance or STATIC) for that data The shared buffers must be specified in the same order across shared ![]() For shared queries, each buffer-name must be the name of a SHARED QUERY query Defines and identifies a query that was initially defined by another procedure as NEW The shared buffers must be specified in the same orderīoth across shared queries and in the OPEN QUERY. For shared queries, each buffer-name mustīe the name of a shared buffer. NEW SHARED QUERY query Defines and identifies a query to be shared with one or more procedures calledĭirectly or indirectly by the current procedure.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |