I just noticed you use send record instead of save record, that should work too 
as long as you have an open channel using Set Channel.

-----Original Message-----
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Dennis, Neil 
via 4D_Tech
Sent: Tuesday, July 03, 2018 10:55 AM
To: supp...@gus.ucsb.edu; 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Dennis, Neil <neil.den...@umb.com>
Subject: RE: problems with SEND RECORD

This is an EXTERNAL email. Do not open attachments or click on links unless you 
have confirmed the identity of the sender. 

----------------------------------------------------------------------
Not sure what your question is... this loops through all [Approvals] records 
that have [Approvals]Approved = false

QUERY([Approvals];[Approvals]approved=False)
For ($vlRecord;1;Records in selection([Approvals])) // loop through the 
selection of Approvals
       // Do something with the record
     SEND RECORD([Approvals]) // Send the record
     NEXT RECORD([Approvals])   // Go to the next record
End for

Technically the First Record ([Approvals]) isn't needed as the query loads the 
first record.


Neil






Privacy Disclaimer: This message contains confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this email. Please delete this email 
from your system and notify the sender immediately by replying to this email.  
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.

The Alternative Investments division of UMB Fund Services provides a full range 
of services to hedge funds, funds of funds and private equity funds.  Any tax 
advice in this communication is not intended to be used, and cannot be used, by 
a client or any other person or entity for the purpose of (a) avoiding 
penalties that may be imposed on any taxpayer or (b) promoting, marketing, or 
recommending to another party any matter addressed herein.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to