# Priming the file name in the report preview's File / Save As PDF dialog (Reported, not reproduced)

**URL:** <https://forums.softvelocity.com/t/priming-the-file-name-in-the-report-previews-file-save-as-pdf-dialog-reported-not-reproduced/557>\
**Category:** Knowledge Base\
**Tags:** templates, reported-not-reprodu\
**Created:** [November 9, 2026, 1:05am UTC](https://forums.softvelocity.com/t/priming-the-file-name-in-the-report-previews-file-save-as-pdf-dialog-reported-not-reproduced/557 "2026-11-09T01:05:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzaunere](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rzaunere](https://forums.softvelocity.com/u/rzaunere)\
**Post date:** [November 9, 2026, 1:05am UTC](https://forums.softvelocity.com/t/priming-the-file-name-in-the-report-previews-file-save-as-pdf-dialog-reported-not-reproduced/557/1 "2026-11-09T01:05:45Z")

</div>

**Applies to:** posted in the Clarion 6 group (2007); ABC report with the PDF template, output type Runtime. One reply names C6.2.9049.

**Problem as reported**

With the ABC PDF template, the user previews a report and chooses File / Save As PDF. The developer wants the file-name box already filled in (for example "Sales Quote xxxxx.pdf") while the user still navigates to a folder or the desktop. With the output type kept as Runtime, the user has to key in the name each time.

**What the thread found**

- One reply: in the PDF report generator class instance, in the last embed of its Setup method, call `SELF.SetFileName(CLIP(PDFFileName))`. The poster said it saved at once under that name in the current directory and never showed the runtime dialog. The replier, on C6.2.9049, said it worked for him and suggested searching the generated source for another SetFileName call that overwrites it.
- Second reply: call FileDialog yourself with the name pre-set, in the window's Init after Open Files. That does not help when the user saves from the preview.
- Third idea: in the Previewer's TakeAccepted embed (not the Process Manager's or Window Manager's), test `IF Field() = SELF.PrtPrev:MenuSaveAs`, then set the name before the parent call. The replier had no source at hand and had not tried it. He thought the PDF export class skips its own dialog when a name is already set.
- The poster said he would try it the next day and did not report back.

**Caveats**

- An earlier call that sets the name is the case that skips the dialog, so a name set too early may defeat the goal.
- No outcome for the TakeAccepted idea.

**Today (2026)**

Not reproduced. This entry records a 2007 report; ask a reader on a current build to confirm or close it.

**Sources:** Robert P. (Jan 2007, the question), Shankar (Jan 2007), Michael W. (Jan 2007) in softvelocity.public.clarion6.
