# dataport request form

**URL:** <https://www.dynamicsuser.net/t/dataport-request-form/5754>\
**Category:** Developers Forum\
**Created:** [February 19, 2002, 2:03am UTC](https://www.dynamicsuser.net/t/dataport-request-form/5754 "2002-02-19T02:03:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhagan](https://avatars.discourse-cdn.com/v4/letter/b/ac91a4/32.png) [@bhagan](https://www.dynamicsuser.net/u/bhagan)\
**Post date:** [February 19, 2002, 2:03am UTC](https://www.dynamicsuser.net/t/dataport-request-form/5754/1 "2002-02-19T02:03:00Z")

</div>

How does one add a request form to a dataport without losing the ability to name the file? There is previous post about this, but it points to a page that is no longer available.

---

<div class="post-metadata">

**Author:** ![Jack\_Reynolds](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@Jack\_Reynolds](https://www.dynamicsuser.net/u/Jack_Reynolds)\
**Post date:** [February 19, 2002, 2:58am UTC](https://www.dynamicsuser.net/t/dataport-request-form/5754/2 "2002-02-19T02:58:42Z")

</div>

Create your own request form with a TextBox for the file name. The TextBox must have a Control ID of 1 and the AssitEdit property set to yes. You also need to create a text variable to hold the file name and set the source expression of the TextBox to this text variable. In the OnPreDataport trigger add the following line:

```auto
CurrDataport.FILENAME := FileNameVar; 

```

---

<div class="post-metadata">

**Author:** ![anfinnur](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anfinnur](https://www.dynamicsuser.net/u/anfinnur)\
**Post date:** [February 19, 2002, 9:49am UTC](https://www.dynamicsuser.net/t/dataport-request-form/5754/3 "2002-02-19T09:49:14Z")

</div>

Search for “Common dialog box without COMDLG32.OCX” on NOLUG

---

<div class="post-metadata">

**Author:** ![bhagan](https://avatars.discourse-cdn.com/v4/letter/b/ac91a4/32.png) [@bhagan](https://www.dynamicsuser.net/u/bhagan)\
**Post date:** [February 19, 2002, 2:34pm UTC](https://www.dynamicsuser.net/t/dataport-request-form/5754/4 "2002-02-19T14:34:15Z")

</div>

Thanks for your help. That worked great.
