Uniface Client Server App Development

uniface software, uniface technology, uniface project, uniface forum

Archive for November, 2010

[U-L] Problem with keyboard translation…

Environment: Dec Alpha (running forms) Uniface Version 6.1db

We just upgraded to OpenVMS v7.1 and now our Uniface Apps. don’t work.
The form displays correctly but it does not understand the keyboard like
they did, Gold key, and numeric keypad display Alphabetic characters. We
recreated our *.dol (via /dol) also recreated forms (/app & /frm).

Any suggestions?

TIA

Barry Kulp
Hatfield Quality Meats, Inc.
E-mail: ba…@hqm.com

.
posted by admin in Uncategorized and have No Comments

[U-L] Re: Cancel Print and Service Component Problem

     I have discovered what causes the printing problem! It appears that if
     a report contains a Unifield then the report can not be canceled!

     Any ideas on why our service components are misbehaving still welcome.

     Kind regards,

     Michael Levene

______________________________ Reply Separator _________________________________
Subject: [U-L] Cancel Print and Service Component Problem
Author:  MJLEVENE@SMTP (Mike j Levene) {mjlev…@taslimited.co.uk} at
internet-mail-gateway
Date:    20/03/98 17:25

Dear List,

Having con
ve
rted several applications from Uniface 6 to Uniface 7.1.04 we ar
e experiencing the following problems :-

1) CANCE
L
PR
INTING OPTION, USING P_MSWINX

Works fine
 w
hen a component invokes the structure editor ^PRINT function to
print data held in the component; however in the scenario that the <PR
INT> trigger activates a report component, and this component pe
rforms some processing followed by the command "print" (in the execute
trigger) the "printing status form" (which display the page number being
 printing) intermittently does not allow the selection of the cancel b
utton.

2) SERVI
CE
 COMPONENTS RUNNING ON HP-UX 10.20

Having installed the application server on the above platform, and created
a variety of service components, most work well when deployed on the
server.

Some services however report the Uniface error message 0156 – Error
creating the component instance. Contact your UNIFACE representative….

In discussion with Compuware but no joy to date….

If anyone has come across these problems I would be interested to hear
how they were resolved.

In anticipation of your help, thank you.

Michael Levene
GSAM

EMAIL : mjlev…@galileo.co.uk

posted by admin in Uncategorized and have No Comments

[U-L] Re: search for entry or string in proc

Hi,

if you’re asking for "ON-LINE"

Try "F8" when you’re in the trigger editor. You will have a pop-up search
string…

hope it helps

Mario Drouin
Gespro
drou…@gespro-mtl.com
—–Message d’origine—–
De : avner <av…@amigar.co.il>
À : ‘unifac…@uug.org’ <unifac…@uug.org>
Date : 23 mars, 1998 09:21
Objet : [U-L] search for entry or string in proc

- Hide quoted text — Show quoted text -

>hello everybody my name is avner simon i am working for the last 6 month
>with uniface 7.2 hebrew edition you can ask me questions on grag and drop
>and activating instances and more .
>but two problems still i have not solve

>1. searching for a string in proc
>2 searching for an entry in local proc

>i will be in favor for anybody who  knows

posted by admin in Uncategorized and have No Comments

[U-L] RE: Graph OCX

Kerry,

There is a patch v436 for 7.1.04 which solves the following bugs :

Description     BUG :  18094     SPRS : 42281, 42285, 43887, 39669
—————————————————————
The native properties of an OCX widget cannot be stored.

Hope it helps.

Deep Vaswani
Abbott Laboratories – HPD
Ph : (847)-9383967
E-mail : Deep.Vasw…@Abbott.com

- Hide quoted text — Show quoted text -

> ———-
> From:
> Kerry_Ro…@compuware.com[SMTP:Kerry_Ro...@compuware.com]
> Reply To:  unifac…@uug.org
> Sent:      Friday, March 20, 1998 1:54 PM
> To:        UNIFAC…@uug.org
> Subject:   [U-L] Graph OCX

>      Hi all,

>      I am using a graph OCX from Pinnacle Publishing with Uniface 7.2
> and
>      having some problems.  Is there anyone out there that has used
> this
>      particular OCX?  I can’t get to the native properties – the
>      development environment completely bombs, and can’t set certain
>      properties at run-time – I get errors like "Bad bind variable"
> and
>      "Type mismatch"!  HELP!!!

>      OR…Is there another graph OCX that someone might recommend that
> may
>      be more cooperative?

>      Thanks for any help!

>      Kerry

posted by admin in Uncategorized and have No Comments

[U-L] Printing a screen from the IDF in Uniface 7.1.0.4

Hi there,
I am not able to print a screen from the Uniface IDF. When I open a
form & invoke "Print" from the "File" menu, a blank page is printed.
However, if I get into one of the triggers and print, the contents of
the trigger are printed.

We just converted from Uniface 5.2 g2 to 7.1.0.4.

Printer model : PRINTER
Device type     : HPLASER_PCL5_1
Print Queue   : Printman
Device Mode   : Mode 4

Environment :- Uniface 7.1.0.4 on Windows 95.

Any help would be appreciated.

Thanks
Srini.
E-mail : schakrap…@imf.org

posted by admin in Uncategorized and have Comment (1)

[U-L] Re: Speed search in listbox

I believe that the list-box widget only supports lookups via the first
character, but if you convert it into a combo-box widget, I think it does
lookups on consecutive characters…the only problem being that when the
user leaves the field, you’ll have to validate the value (unless you want
allow new entries).

Kerry_Ro…@compuware.com on 03/20/98 11:49:42 AM

Please respond to unifac…@uug.org

To:   UNIFAC…@uug.org
cc:    (bcc: Rob Spahitz/BusSys/ISD/Maxwell)
Subject:  [U-L] Speed search in listbox

     Does anyone know if it is possible to speed search in a list box on
     more than just the first letter?
     Thanks for any input!
     Kerry Roman

posted by admin in Uncategorized and have Comment (1)

[U-L] RE: search for entry or string in proc

This is only helpful if you want to find text in forms but do not know
which forms have it in.  It’s better than nothing.

Win 95:
[Run] [Explorer]
(locate folder for your .FRM’s)
[Tools] [Find] [Files or Folders]
[Advanced]
Containing Text: [...search text...] [Find Now]

- Hide quoted text — Show quoted text -

> —–Original Message—–
> From:      avner [SMTP:av...@amigar.co.il]
> Sent:      Monday, March 23, 1998 7:51 AM
> To:        ’unifac…@uug.org’
> Subject:   [U-L] search for entry or string in proc

> hello everybody my name is avner simon i am working for the last 6
> month
> with uniface 7.2 hebrew edition you can ask me questions on grag and
> drop
> and activating instances and more .
> but two problems still i have not solve

> 1. searching for a string in proc
> 2 searching for an entry in local proc

> i will be in favor for anybody who  knows

posted by admin in Uncategorized and have No Comments

[U-L] Digest 32 is corrupted

There appears to have been a problem last night which has
corrupted the Uniface-L Digest #32. We are attempting to
see if we can recover this and will let you know more
tommorrow.


———————————————————————-
Gary F. Alderson              :      Phone: (204) 474-9910
Mgr, Application Technologies :        Fax: (204) 474-7502
105a – 66 Chancellors Circle  :     E-Mail: Gary_Alder…@UManitoba.CA
University of Manitoba        :—————————————
Winnipeg, Manitoba            :    Home Page URL:
Canada     R3T-2N2            :    http://Home.cc.UManitoba.CA/~alders
———————————————————————-

posted by admin in Uncategorized and have No Comments

[U-L] Re: Printing a screen from the IDF in Uniface 7.1.0.4

Hi Srinivas!

We had this problem too and right today I asked the helpdesk.
Their suggestion worked.
Here is a part of the answer:
——————————————————————
You can choose between P_MSWIN3 and P_MSWINX as Device table.
For the print queue you can use PRINTMAN to use the Windows Print Manager
, LPTx to print directly to a DOS queue or @notepad do print to the
notepad.
With the print options you can specify /nodialog to supress the
defaultwindows print dialog.                                                                

——————————————————————-
Date: Mon, 23 Mar 1998 13:30:28 -0500
From: Srinivas Chakrapani <SCHAKRAP…@IMF.ORG>
To: unifac…@ctc.ctc.edu

Hi there,
I am not able to print a screen from the Uniface IDF. When I open a
form & invoke "Print" from the "File" menu, a blank page is printed.
However, if I get into one of the triggers and print, the contents of
the trigger are printed.

We just converted from Uniface 5.2 g2 to 7.1.0.4.

Printer model : PRINTER
Device type     : HPLASER_PCL5_1
Print Queue   : Printman
Device Mode   : Mode 4

Environment :- Uniface 7.1.0.4 on Windows 95.                          

posted by admin in Uncategorized and have Comment (1)

Oracle EXPLAIN PLAN and Uniface

Hi All,

The environment :
Uniface 6.1.d.u / 7.1.0.4 running under Win95
Oracle 7.3 running on DEC Alpha Windows NT

The goal :
To be able to perform an Oracle EXPLAIN PLAN function on all retrieves
performed in Uniface.

In oracle worksheet you execute this SQL :
SELECT * FROM THISTABLE WHERE PROD_CODE = ‘FRED’;
and get back several database rows.  If PROD_CODE is not the full primary
key, Oracle will either try to use a different key or do a row-by-row scan
of the table.  A full table scan is bad, and takes considerably more time
than Oracle using a key.

So if you do :
EXPLAIN PLAN FOR SELECT * FROM THISTABLE WHERE PROD_CODE = ‘FRED’;
the oracle table PLAN_TABLE (assuming you have created it) will be
populated with oracle’s ‘strategy’ for reading the required records.  The
PLAN_TABLE table will hold a list of the tables used by the select command,
and also will list the keys which will be used (if any).

The aim is to be able to locate performance problems and missing keys
before anyone complains that the Uniface app is running slow in certain
places.  Is there a simple answer to this (i.e. some Uniface Oracle driver
functions i’m not yet aware of) or do i have to use brute force to get the
generated SQL from the Uniface message frame and put it through a program
which will do the EXPLAIN PLAN function?

All ideas gratefully recieved…

Duncan Hodson
Welcom Software

posted by admin in Uncategorized and have No Comments