yes, absolutely.
if you want to get one specific record into a collection, use lookup on your datasource to get only 1 record
ClearCollect(ColYourRecord, Lookup('YourDataSource', condition such as ID= Textbox1.Text))This will return only 1 record.
if you want to get records that match a certain criteria and then insert them into a collection, use Filter on your datasource to get only those records
ClearCollect(ColYourRecord, Filter('YourDataSource', condition such as ID= Textbox1.Text))this will return all the records that have ID= Textbox1.Text
--------------------------------------------------------------------
Please Accept as Solution if this post answered your question so other members can find it. If you found this post helpful consider giving my post a Thumbs Up!