🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.databases
Article #45

Re: 4d "report" command

#45
From: Peter Amiri
Date: Tue, 03 Nov 1992 23:19
29 lines
1750 bytes
In article <gexhtUO00iV1E4hmQ0@andrew.cmu.edu>, David Tsai <dt1n+@andrew.cmu.edu> writes:
> 
> Hello again.  
> 
> Has anyone tried to use the "report" command on page 162 language refernce?
> 
> report ([CPU];""} is supposed to allow the user to generate their own
> report in runtime just like the quickreport at the user level.  When I
> tried to implement this command, all I got was the dialog box to open a
> file.  So I created a report using quickreport and saved it.  And then
> ran my custom report procedure again, and it doesn't even show the saved
> quickreport file that I had just made.  
> Unless someone can prove otherwise, I think that this command doesn't do
> what anything...let alone what it is supposed to!
> Does anyone know what I can do to get it working?  Or should I just give it up?
> 
Dave,
	To open the quick report editor you need to suply a file name that does not
exist. I usually do this:

Report([FileName];"DoesNotExists")

As I understand it, if you submit a empty string (i.e. "") an open file dialog
box is displayed to allow you to open a previously save report, it a file
name is actually entered then it will print a report using that quick report 
layout, and finally if a filename is entered that does not exists the editor
is displayed.

Peter
Technical Details
Message-ID: <2AF708FF.20809@news.service.uci.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!pamiri@uci.edu
References: <gexhtUO00iV1E4hmQ0@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!pamiri@uci.edu
From: pamiri@uci.edu (Peter Amiri)
Subject: Re: 4d "report" command
Nntp-Posting-Host: cam.oaa.uci.edu
Message-ID: <2AF708FF.20809@news.service.uci.edu>
Newsgroups: comp.sys.mac.databases
Organization: University of California, Irvine
Lines: 29
Date: 3 Nov 92 23:19:27 GMT
References: <gexhtUO00iV1E4hmQ0@andrew.cmu.edu>