Normal Topic @ListReportsByDatabase() (Read 3506 times)
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
@ListReportsByDatabase()
Mar 5th, 2009 at 2:04pm
Print Post Print Post  
Hello!

XResultSetPrintReport gives me access to all my Sesame reports from anywhere in Sesame, regardless of the
database or application they may be in.

I want a reports in an external database listing.

vReport = @ListReportsByDatabase(“\data\MDLCHEMIE.DB”)***
vReport = @PopupMenu(vReports, “Select CHEMIE Report”)

It did not work! I thank my own fault lies in : vReport = @ListReportsByDatabase(“\data\MDLCHEMIE.DB”)***


Thanks for the Help.
  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re:  @ListReportsByDatabase()
Reply #1 - Mar 5th, 2009 at 3:31pm
Print Post Print Post  
Quote:
It did not work! I thank my own fault lies in : vReport = @ListReportsByDatabase(“\data\MDLCHEMIE.DB”)***


Try

vReport = @ListReportsByDatabase(“data\MDLCHEMIE.DB”)

//removed one "\"
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re:  @ListReportsByDatabase()
Reply #2 - Mar 5th, 2009 at 9:58pm
Print Post Print Post  
Also, it looks like this:
vReport = @PopupMenu(vReports, “Select CHEMIE Report”)

Should be this:
vReport = @PopupMenu(vReport, “Select CHEMIE Report”)

  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re:  @ListReportsByDatabase()
Reply #3 - Mar 6th, 2009 at 9:15am
Print Post Print Post  

Hello Erika,

i correct my typos:
..
vReports = @ListReportsByDatabase(“\data\MDLCHEMIE.DB”)
vReport = @PopupMenu(vReports, “Select CHEMIE Report”)
..

if i use the function @ListReportsByDatabase(\'DATA\MDLCLOCK.DB") to extract  the list of reports from an external application there nothing back. This is the function only for use within a application ?

Thanks again for the Help.




  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re:  @ListReportsByDatabase()
Reply #4 - Mar 6th, 2009 at 2:02pm
Print Post Print Post  
Quote:
This is the function only for use within a application ?

*facepalm* I didn't even notice you were looking at an external application. Yes, the List functions query the current Application. You can't use them to query an external application. Sorry for not noticing that's what you were trying to do.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged