Release 10.1A: OpenEdge Development:
Progress 4GL Handbook

> ## NUM-BUFFERS attribute

> This attribute returns the number of buffers for the query:

>     DEFINE VARIABLE hQuery AS HANDLE      NO-UNDO.
>     CREATE QUERY hQuery.
>     hQuery:SET-BUFFERS(BUFFER Order:HANDLE, BUFFER Customer:HANDLE).
>     hQuery:ADD-BUFFER(BUFFER SalesRep:HANDLE).
>     MESSAGE "This dynamic query has "
>           hQuery:NUM-BUFFERS "buffers." VIEW-AS ALERT-BOX.

> Figure 19–1 shows the result.

> Figure 19–1: Number of buffers message

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095