home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!cs.utexas.edu!torn!cunews!nrcnet0!emr1!kasvand
- From: kasvand@ccrs.emr.ca (Tony Kasvand)
- Subject: ABF/4GL Help
- Message-ID: <1992Jul28.185544.17880@emr1.emr.ca>
- Sender: news@emr1.emr.ca
- Nntp-Posting-Host: nova.ccrs.emr.ca
- Organization: Canada Centre for Remote Sensing, Ottawa
- References: <1992Jul22.180503.27010@homebase.vistachrome.com> <l6v00iINN8qf@jethro.Corp.Sun.COM> <4352@disuns2.epfl.ch>
- Date: Tue, 28 Jul 1992 18:55:44 GMT
- Lines: 41
-
-
- Hi,
- I have a small problem with the ABF/4GL (Ingres 6.4) language.
-
- In the 'where' clause of a callframe statement, I would like to simulate
- the 'field' condition.
-
- Example -
-
- look_for = 'Joe'; /* varchar(10) */
- whclause = 'fixer'; /* varchar(15) */
- callframe by_fixed_second(by_fixed_second.programs =
- select distinct key_b = unique_bug#,
- type_p = product_type,
- prior = priority,
- cond = condition,
- name_p = product_name,
- usrnm = username,
- fix = fixer,
- d_of_bug = date_of_bug,
- name_sys = system_name,
- des =details1
- from bug_reports_table
- /* ****** -->*/ where :whclause = :look_for
- order by prior );
-
- I am assuming from this code, this is what it should look like:
- where 'fixer' = 'Joe'
-
- **->
- What I really want is: where fixer = 'Joe'
-
- ANY SUGGESTIONS TO AN AMATEUR ABF/4GL PROGRAMMER?
-
- Thanks in advance,
-
- --
- Tonis Kasvand | "Patience is a virtue, only to one's opponent...
- Ottawa, Canada | and getting in the first shot. BOOT TO THE HEAD !"
- kasvand@ccrs.emr.ca| - The Frantics
-
-