GetQueues() as Long on the Set object

Set object

Returns all queues in which at least one of the forms in the set is included. (Each bit is a queue number.)

Example:

A set consists of FormA and FormB. FormA is in queue 1 and FormB is in queue 3. GetQueues returns 5, which means queue 1 and queue 3.

Queue numbering

The Set object