🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.databases
4 messages
4 total messages Started by David Tsai Tue, 03 Nov 1992 20:17
4d "report" command
#47
Author: David Tsai
Date: Tue, 03 Nov 1992 20:17
18 lines
1262 bytes
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?

Again, all help will and always is greatly appreciated!  

Sincerly,
DAVE
Re: 4d "report" command
#45
Author: 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
Re: 4d "report" command
#49
Author: Mike Hennahane
Date: Tue, 03 Nov 1992 23:39
24 lines
1669 bytes
David Tsai <dt1n+@andrew.cmu.edu> writes:

>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?

the REPORT command is supposed to run a quick report on the current
selection using the document name that you specify; if you give it ""
it is supposed to use a standard macintosh open dialog to allow you to
open one.

to get the behaviour that you want (just to have the q.r. editor open
up): use the REPORT command with a document name that doesn't exist
e.g. REPORT([CPU];"xxxx")

--mike
Re: 4d "report" command
#382
Author: Brian Martin
Date: Sat, 07 Nov 1992 10:03
27 lines
1393 bytes
In article <gexhtUO00iV1E4hmQ0@andrew.cmu.edu> David Tsai <dt1n+@andrew.cmu.edu> writes:

Dave,

>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...
>Unless someone can prove otherwise, I think that this command doesn't do
>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?

To open the Quick Report editor, pass an invalid filename to
the report command, e.g.,
   REPORT ([MyFile];"This is not a valid name")

One of 4D's many "features" ;-)

Best regards,

    Brian K. Martin, M.D.
    Martin Information Systems, Ltd.
    1103 9th Avenue, Suite 203
    Honolulu, Hawai`i 96816-2403 USA
    Voice (808) 733-2003
    Fax (808) 733-2011

INTERNET: bmartin@uhunix.uhcc.hawaii.edu
CompuServe: 76535,250
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads