May 12, 2015; 15:21
French, Shelane
updating limited number of records
Lasso 8.6
I am looking to update the first 50 records that match a certain criteria.
Is there a way to do that with -key. I don't see it in the documentation.
I was thinking something like:
Inline(-update, -database='mydb', -table='mytable', -key=(: 'status'='Wait
List'), 'status' = 'Registered', -sortfield='ID', -maxrecords=50)
That probably won't do what I want and I'll have to do some awful thing
like search first then loop through each one, but I was just wondering if
anyone had a better idea.
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
May 12, 2015; 17:39
Jolle Carlestam
Re: updating limited number of records