Steve, you can really cut down the delay by adding 'AND LIMIT = 1' to the sub select where clause.

SEL COUNT(*) INTO vrows INDIC iv2 FROM master WHERE +
CustNub2 = .This_CustNub2 AND +
Custnub2 IN (SELECT CustNub2 FROM customer WHERE +
hub <= 999999 AND parentcustid = '105'* AND LIMIT = 1*)

Albert

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to