# Autofill Filter Request

**URL:** <https://www.dynamicsuser.net/t/autofill-filter-request/2946>\
**Category:** User Forum\
**Created:** [January 25, 2003, 11:07pm UTC](https://www.dynamicsuser.net/t/autofill-filter-request/2946 "2003-01-25T23:07:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CKruse](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@CKruse](https://www.dynamicsuser.net/u/CKruse)\
**Post date:** [January 25, 2003, 11:07pm UTC](https://www.dynamicsuser.net/t/autofill-filter-request/2946/1 "2003-01-25T23:07:05Z")

</div>

I have a feeling this is so easy but can’t figure out how to do it. I have just made a new Sales Quote (in Financials 2.5) and would have added it to the Menu Option at the bottom of the Sales Quote Form. What do I have to do so that when I make a quote, the Quote Number that I just made is automatically filled into my filter of my new Sales Quote Report. Thank you!!

---

<div class="post-metadata">

**Author:** ![xorph](https://avatars.discourse-cdn.com/v4/letter/x/a9adbd/32.png) [@xorph](https://www.dynamicsuser.net/u/xorph)\
**Post date:** [January 26, 2003, 9:24am UTC](https://www.dynamicsuser.net/t/autofill-filter-request/2946/2 "2003-01-26T09:24:27Z")

</div>

When starting the report from C/AL, you can pass a record variable as parameter. Filters attached to this record are copied to a matching data item of the report. E.g.: RecVar.SETRANGE(“No.”, Rec.“No.”); // assuming “No.” is primary key of your Sales Quote REPORT.RUNMODAL(4711, TRUE, FALSE, RecVar);

---

<div class="post-metadata">

**Author:** ![CKruse](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@CKruse](https://www.dynamicsuser.net/u/CKruse)\
**Post date:** [January 26, 2003, 2:27pm UTC](https://www.dynamicsuser.net/t/autofill-filter-request/2946/3 "2003-01-26T14:27:23Z")

</div>

Thank you Heinz for your response. This will be my first time using C/AL. What does 4711 mean and do? Thanks again.

---

<div class="post-metadata">

**Author:** ![xorph](https://avatars.discourse-cdn.com/v4/letter/x/a9adbd/32.png) [@xorph](https://www.dynamicsuser.net/u/xorph)\
**Post date:** [January 27, 2003, 8:34am UTC](https://www.dynamicsuser.net/t/autofill-filter-request/2946/4 "2003-01-27T08:34:43Z")

</div>

Oops… [8D] “4711” is the brand name of a - the! - German Eau de Cologne [:p] Here in Austria (and probably in Germany too), “4711” is widely used and recognized as a kind of generic number example. It may be used as an example like in “Let’s say file size is 4711 characters”, but also in reply to a question for a number to signalize that the exact number is none of the asker’s business. “What’s your ID number?” “4711, now get lost.” (quite common a dialog between an arestee and a cop [}:)] I didn’t realize that you were from the U.S., nor that someone from outside Europe would probably not recognize the pun [;)]
