Uniface Client Server App Development

uniface software, uniface technology, uniface project, uniface forum

Archive for February, 2010

Re: s.o.s. for internet www browser problem

FWIW re connect via Netscape problems, the URLs usually have to get
sifted through an external name service (DNS) except for the ones that
happen to be kept locally.  If the connection to the DNS is down or you
have specified it wrongly (e.g. in a Winsock setup), then you will have
these difficulties.  Make sure hinet (or whatever your provider is) has
not changed an IP address on you and that your various config files are
what you think they are.  Admittedly, this stuff is a PITA.

Good luck, Larry

.
posted by admin in Uncategorized and have Comment (1)

Re: MULTIPLE SELECTION WITH LISTBOXES

To bring up an old topic again:

- Hide quoted text — Show quoted text -

>This ‘multiselect’ property was changed between 6.1.c and 6.1.d to make it
>more straightforward to use (really!). Multiselect list boxes only make
>sense on fields which have subfields defined. When you define that a field
>has subfields, AND it is a listbox, the listbox is automagically
>’multiselect’. In 6.1.c6, you could set the property, but if you didn’t
>defined subfields it didn’t work anyway. Hence the property disappeared and
>became implicit when defining subfields.
>A subfield allows you to break all the rules the relational gods say you
>should follow, and put several values into a single field. To define
>subfields, go to the Interface template for a field and press the More (…)
>button. There are _lots_ of very powerful and cryptic ways to use subfields,
>but I’ll just describe a simple example. Say you have a field with fixed
>length of 20. You can define two subfields each with fixed length of ten, or
>five with fixed length of  four each, or four with … (you get the picture)
>This allows you to store multiple separate values in a single field, which
>is the best way to store a multiselect listbox in the database (no matter
>what Date says). The VALue for each REPresentation the user clicks will be
>added to the field underlying the listbox widget. Note that the subfield
>separator is ignored with listboxes on fixed length subfields, but you have
>to enter one anyway.
>Jeffrey Mann

This works fine under Windows, but has anyone been able to get it working
under Motif?

- Craig Silver
Digital Equipment Corporation

posted by admin in Uncategorized and have No Comments

6.1d with $UUU and $IDF over PolyServer

Hi.

Im trying to install 6.1d on a Windows client and aim the $UUU, $IDF and
$SYS paths at Informix OnLine via PolyServer.  Ive got 6.1d running with
DB3 and I can set $DEF and $INF to the PolyServer and see remote tables.
Ive run the SQL scripts to build the Informix table for Uniface.  

With 5.2, at this point I would start IDF with a /ins uobject and off we
go. It appears that /ins uobject doesnt work with 6.1d.

How do I set up 6.1d to have the $UUU, $SYS and $IDF paths in Informix,
the same way Ive got my 5.2f running?

Thanks!

BTW,
If you install the Windows version using DB3 for the paths, the TCP DLL
doesnt get put on the demandload line in the INI file. I wasnt able to
find any documentation on the DLL file names, but the Winsock DLL is called
"wsk1110.dll".

Joe Matuscak
Rohrer Corporation
717 Seville Road
Wadsworth, Ohio 44281
(216)335-1541
Matus…@Rohrer.com

posted by admin in Uncategorized and have No Comments

UFGET, UFGETC

I have a long text string that I want to process in 3GL.  It is longer than
8000 character so I can not use UFGETREGS to process this string.  So, I want
to use UFGET and UFGETC to get the contents of this string.  The field I am
processing from is NOT a database field.  It is defined as a special string
data type with a format of SC* and LEN(0-32767).  This is under Uniface 5.2.f.

The documentation states that a call to UFGET will return either a positive
number which indicates that all of the field was retrieved and the length is
the number returned.  A negative return indicates that a portion of the field
was returned and the absolute value of the number is the length retrieve (should
be equal to the length you asked for).  If the return is negative then
successive calls with UFGETC will return the next portion of the string.  You
do this until UFGETC returns with a postive value.  There is evan an example
of this in the 3GL manual.

However, when I do this in my 3GL, I always end up with a return from both
UFGET and UFGETC of -511 (I ask for 511 characters).  It does not matter
what is in the field, less than or more than 511 characters.  I have also
tried the example in the manual with similar results.  In addition, when I
look at what is returned by UFGETC after the initial UFGET, it is certainly
not what is in my field.

I have looked at the 6.1.d documentation to see if there are any clues as to
what I may be doing wrong.  I noticed that there is more documentation there
about how the field length is determined, but not much else beyond what was
in the 5.2.f documentation.  Interestingly, the example that was in the 5.2.f
manual is now gone from the 6.1.d manual.  The 3GL samples that ship with
6.1.d also do not have an example of UFGET/UFGETC implementation.

Has anybody tried using UFGET, UFGETC with similar results?  Am I doing
something obviously wrong?  Does UFGET and UFGETC even work?

If you have trouble repsonding to this message try f…@mayo.edu, or respond
to the list.

Thanks!

Tom Fisk
Mayo Clinic

posted by admin in Uncategorized and have Comment (1)

Re: Turning up IO in Uniface

There are actually three ways to set the IO message level:
        –  Use the /PRI parm on the command line
        –  Use the IO command in the debugger
        –  When setting up a startup shell, selct OBJECTS from the command bar,
           then select IO MESSAGES menu item.  This will bring up a form that
           will allow you to set the IO message level for that shell.

Hope this helps.  Sorry I did not reply sooner, but I have been on the road.

                                        Jeff Whitfield
                                        My opinions are my own and may not
                                        reflect those of my employer

______________________________ Reply Separator _________________________________
Subject: Turning up IO in Uniface
Author:  uniface-l%ctc.ctc….@internet.compuware.com at CWUS-Internet
Date:    7/19/95 11:53 PM

Received: by ccmail from stargate.compuware.com
>From server%ctc.ctc….@internet.compuware.com

X-Envelope-From: server%ctc.ctc….@internet.compuware.com
Received: from ctc.ctc.edu by internet.compuware.com with SMTP id AA10329
  (InterLock SMTP Gateway 3.0 for <jeff_whitfi…@compuware.com>);
  Wed, 19 Jul 1995 23:48:55 -0400
Received: by ctc.ctc.edu
    (1.37.109.16/16.2) id AA172891981; Wed, 19 Jul 1995 20:46:21 -0700
Date: Wed, 19 Jul 1995 20:46:21 -0700
Message-Id: <9507200035.AA12251@frost.bain.oz.au>
Errors-To: bshaver%dev3.ctc….@internet.compuware.com
Reply-To: uniface-l%ctc.ctc….@internet.compuware.com
Originator: unifac…@ctc.ctc.edu
Sender: uniface-l%ctc.ctc….@internet.compuware.com
Precedence: bulk
From: stephenp%frost.bain.oz…@internet.compuware.com (Stephen Prowse)
To: jeff_whitfi…@ccmail.compuware.com
Subject: Turning up IO in Uniface
X-Listserver-Version: 6.0 — UNIX ListServer by Anastasios Kotsikonas
X-Comment: UNIFACE-L Uniface List

Is anyone else as annoyed as me that Uniface in version six no longer allows the
turning up of io messages in version 6.
The only way I have found of doing it is to test a form with debug and turn up
IO wi\hich then persist in the Uniface session.
This has allowed me to find a bug in the save as facility for messages and
probably other things because I had I/O on 127.
Anyone have another way of doing this and should we be pressuring Comouware to
put the facility back.

Steve Prowse

posted by admin in Uncategorized and have Comments (2)

language set up and more

Hi all,

I try to specify the needs of developing a multi language application
with Uniface 6.1.d. I know everything about the language set up
possibilities. At the moment I know:

1) widget labels are filled by the $text(<text_id>)
2) the titles bar text is set by $formtitle = $text(<title_id>)
3) constant text is not allowed
4) the button text of the panels is set in the language set up
5) messages and help are accessed by $text,
    e.g. message/error $text(<error_id>) and
          help $text(<help_id>)
6) for every glyph you need a language variation
7) for every tool tip you need a language variation
8) the titles in menu bars and menus are constant text, so
    you need to have menu bars and menus for every
    language
9) Editor messages (3000 to 3999) can be set in the
    language set up
10) the askmess defaults (yes, no) can be set in the
      language set up
11) toggle symbols (ins/ovs) can be set in the
     language set up

my questions are:

1) Do I have all aspectc for a multi language concept?
2) Are their any hints in the Uniface manual about
    building a multi language applications?
3) Are their more than the editor messages I need to
    translate for a runtime environment?
4) If so, where are they listed in the manual pages?

I am very happy with any hints from you
und tschuess
Oliver

posted by admin in Uncategorized and have Comment (1)

Re: Default values for list box?

- Hide quoted text — Show quoted text -

>- Craig Silver wrote on Wednesday 27-7

>I’m trying to set default values in a listbox, but can’t seem to get them
>displayed.  The defaults actually are stored and work, but there is no
>indication to the user.  Has anyone else tried to do this?

>What I’m doing is this:  A form shows all fields in an entity.  Some fields
>are listboxes.  When the user ACCEPTs on this form, all the fields
>are saved via:

>PUTLISTITEMS/OCC $$QUERY_SAVE, "QUERY"

>Later, when the person re-enters the form, the listbox values are set via:

>$VALREP(STATUS) = $$VALID_STATUS_CODES

>then the saved values from last time are restored:

>GETLISTITEMS/OCC $$QUERY_SAVE, "QUERY"

>After the GETLISTITEMS, I see that $VALREP(STATUS) contains the list, and
>STATUS.QAR contains the selected items from last time.  However, they
>are not highlighted on the screen.  If the user does not touch the
>field, then the next ACCEPT will again have the same values.

>I know that I can clear the current values (STATUS = ""), but I’d prefer to
>have the previous values as defaults for this time through, but visable.

>Any suggestions?

Craig,

this happened to me with an older version of 6.1. At that time, I think
march or so, I called Uniface Helpdesk, where they told me that this problem
will be sold in the Uniface 6.1.E version. I haven’t heard of any
improvements on the 6.1.d version, so I think we’ll just have to wait.

Greetings
Robert Huis in ‘t Veld
Madurastraat 2E
1094 GL  Amsterdam
Netherlands
robe…@xs4all.nl

posted by admin in Uncategorized and have Comments (5)

Polyserver on Mac

Hi all,

I am trying to get Polyserver to work between a Macintrash
and a UNIX host (SGI) talking to Oracle7.
 I’m sorry these are such bizarre off-beat platforms, at least
CCC thinks so :-}.

If someone out there has an asn file that works on Macintosh,
I would be very grateful.  The CCC has been full of promises
but they they have missed their third ‘promise’ to get back
to me by … :<{

The Mac is using good old mactcp and running Uniface 5.2g

The SGI is doing UNIX what else can I say.

Any sample ASNs and start files, or advice could make my day!

TIA
Stephen

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
| Stephen W. Cook                       email s…@biosym.com |
| Management Information Systems        vmail 619-546-5317   |
| Biosym Technologies                   fax   619-458-0136   |
| San Diego, CA     future home of the America’s Cup – again |
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|         Success is a capable disguise for hardwork         |
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

posted by admin in Uncategorized and have Comments (3)

re-post: Default values for list box?

I’m trying to set default values in a listbox, but can’t seem to get them
displayed.  The defaults actually are stored and work, but there is no
indication to the user.  Has anyone else tried to do this?

What I’m doing is this:  A form shows all fields in an entity.  Some fields
are listboxes.  When the user ACCEPTs on this form, all the fields
are saved via:

PUTLISTITEMS/OCC $$QUERY_SAVE, "QUERY"

Later, when the person re-enters the form, the listbox values are set via:

$VALREP(STATUS) = $$VALID_STATUS_CODES

then the saved values from last time are restored:

GETLISTITEMS/OCC $$QUERY_SAVE, "QUERY"

After the GETLISTITEMS, I see that $VALREP(STATUS) contains the list, and
STATUS.QAR contains the selected items from last time.  However, they
are not highlighted on the screen.  If the user does not touch the
field, then the next ACCEPT will again have the same values.

I know that I can clear the current values (STATUS = ""), but I’d prefer to
have the previous values as defaults for this time through, but visable.

Any suggestions?

Thanks!

- – Craig Silver
Digital Equipment Corporation

posted by admin in Uncategorized and have No Comments

Eastern regional Uniface user group meeting

Eastern Uniface Users:

As founders of the Eastern Regional Uniface User Group, Relational Options,
Inc. would like to suggest that we schedule another User meeting!  Our last

meeting was held quite some time ago and we believe that there are
probably many new users out there that can benefit from meeting other
Uniface
users.

The meetings are generally one day and informal in nature.  We ask that
members of the group volunteer to present on topics that the entire group
can
benefit from.  If you have any suggestions for topics or would like to
present at this meeting please contact me at your earliest convenience.  
This will help tremendously in the planning.  We will also try to get
Uniface to attend and make a presentation of some sort.

We would like to suggest that the meeting be held in our offices sometime
in September.  I know that the summer months are bad, but it has been over
eight  months since our last meeting in Boston.  Mondays have been the day
that most of us found the easiest to deal with.  Please respond with your
suggestions for a date, no later than August 11th. We will set the date and

send out notification.  (We suggest NOT using the Listserver to RSVP.)

In the event you are not certain if you are on the mailing list for this
regional user group, please send e-mail with the pertinent details so we
can add you to the list.

We look forward to hearing from all of you and seeing you at the meeting.

Sincerely,

Jerry and Margi Fatcheric
Relational Options, Inc.
Florham Park, New Jersey
201-301-0200
FX 201-301-0377
e-mail: mfatche…@roi.com

P.S.  For those not familiar with New Jersey, we are located 20 minutes
      west of Newark airport.  We are just off of Interstates 287 and 78
      in northern New Jersey.

posted by admin in Uncategorized and have No Comments