Filter on Record variable

HI Can we put filter on record variables at the time of declaring them? so that we get the filtered records in our record variable and we don’t have to filter them using the setfilter or setrange functions. for Example: I have a record variable of table purchase header and i want to see all the records where type=‘Order’. to get all records where type=‘Order’ i have to make a record variable then i have to filter for type=‘Order’. But instead of using filter in code can i create a record variable which will have only those records where type=‘Order’. Thanx Rajan

The simple answer is no. When you are declaring variables there is no option to predefine values, filters, etc.