for   
Save 
Save 
   Join IIUG  

Informix News
04 December 08 - Steeleye - Multicarta achieves 99.997% uptime for its Informix-based Credit Card Authorization Centre... Read
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read

Previous news items
 

Home Member Area About IIUG


Resources
IIUG Insider
IIUG Hotspots
IBM-Informix Links
IIUG RSS Feeds
Software Repository
Informix Products
Online Resources
Informix Library
Informix Books
IIUG Banners
Discussion
Technical Special
  Interest Groups

Other Discussion
Community
Events
Webcasts/Chat w Lab
IIUG TV
IIUG Sponsors
Informix Business Directory
IIUG Press Partners
Local User Groups
Rate the Vendor
Job Board
Fun Stuff

[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Classics Forum

Re: Multiple inputs on 1 input line in an Ace Report

Posted By:
Date:





No. It looks to me like you need I4GL, or you need a more sophisticated
way of running the report than using the INPUT section in ACE. Probably,
you'd make the report non-interactive, but it would retrieve some
parameters from the command line -- see the example I sent. You'd have a
table into which you could stuff a list of class codes, with an appropriate
ID number also associated with it (primary key id_number, class_code).
You'd then pass the ID code to the report on the command line - and the
report would join with the table. The driving code would prompt for the
control data (date, class codes, etc) and stuff the appropriate values into
the table, and pass the others into the report as parameters. The hardest
part would be validating things like dates.

In I4GL, you'd probably have some code to allow the user to enter a list of
values, which would then be stuffed into a temporary table (so you would
not need the ID column - the temp table is private to this run of the I4GL
program).

The big problem is that unless you're using dynamic SQL (not possible in
ACE - feasible in I4GL if you want to do it), you can't create an IN clause
with a variable number of items in it. If there's a finite (smallish)
upper bound on the number of items, you could use:
IN(var1, var2, var3, var4, ..., varN)
and if the user only provides two values, use the second value in each of
var3..varN. But that is all pretty icky and not very ACE-friendly either.

You're beginning to push the limits of what ACE can do...

--
Jonathan Leffler (jleffler@us.ibm.com)
STSM, Informix Database Engineering, IBM Data Management Solutions
4100 Bohannon Drive, Menlo Park, CA 94025
Tel: +1 650-926-6921 Tie-Line: 630-6921
"I don't suffer from insanity; I enjoy every minute of it!"


|---------+---------------------------->
| | "Jay Zwagerman" |
| | <jay2@iafalls.com|
| | > |
| | Sent by: |
| | forum.subscriber@|
| | iiug.org |
| | |
| | |
| | 02/27/2003 12:17 |
| | PM |
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------------------------------------------------------------------------|
| |
| To: classics@iiug.org |
| cc: |
| Subject: Multiple inputs on 1 input line in an Ace Report [103] |
| |
>---------------------------------------------------------------------------------------------------------------------------------------------|




Since you were so helpful on my last post, I thought I would try this
question.

I am wondering if it is possible to enter more than 1 name on a single
input line of an Ace Report? For example, I want to enter ME, WE, and AR
for class code. In the form you can just put a pipe between them and it
will query for all of them. In the table, the class code can have multiple
entries such as

select customer.name, class_code from tablea
where customer.number in ('1','2')

Name class_code
Larry Day HG
Jeff Wagner HG WE AR ME

I know this isn't set up very well, but I can't change the table.

So my input prompt would be something like this.
Input Class code: ME|WE|AR

But my report is only pulling from the first input (ME). How do I get it
to pull from all 3 codes?




Messages In This Thread

  • Multiple inputs on 1 input line in an Ace Report
    Jay Zwagerman -- Tuesday, 15 April 2003, at 3:55 p.m.
    • RE: Multiple inputs on 1 input line in an Ace Report
      Richard E. Ghiz -- Tuesday, 15 April 2003, at 3:55 p.m.
      • Re: RE: Multiple inputs on 1 input line in an Ace Report
        Jay Zwagerman -- Tuesday, 15 April 2003, at 3:55 p.m.
    • Re: Multiple inputs on 1 input line in an Ace Report
      Jonathan Leffler -- Tuesday, 15 April 2003, at 3:55 p.m.
      • Re: Re: Multiple inputs on 1 input line in an Ace Report
        Jay Zwagerman -- Tuesday, 15 April 2003, at 3:55 p.m.

[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Classics Forum is maintained by Administrator with WebBBS 5.12.

©2001 - 2007 International Informix Users Group.   All rights reserved.     Terms of use    
*** Powered By IBM Informix Dynamic Server V10.00 ***