× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



At 08:35 AM 3/12/2002 -0500, you wrote:

====>
Snip
====>

>For the problem where the Designer-created program to system field is not
>correctly recognized could the person who reported the problem please get
>back to me.  I've lost the note describing the scenario I just remember it
>and know that I was able to reproduce it.  Like I said, one of "those"
>days...

This is what I posted earlier in the list;

I have run into an additional problem. When creating an
alphanumeric field that will be used as a program-to-system
field in a window title (alpha 25 char long) the designer
does not put the letter 'A' in column 35. When you use this
field on the window title parameter, designer gives you an
error, because the 'A' is missing. (I think you have to
verify the code, or save>exit reload for the error to
show.) Designer either needs to put the 'A' in column 35
for an alpha field (this would be my preference), or the
title reference needs to be smart enough that it recognizes
that a blank is equal to an 'A'.

I had also reported another problem with designer where the REFFLD parm is
getting filled incorrectly when getting a field from a file.

The discussion went as follows;

The point is that designer fills in the REFFLD stuff in the first
place. All I do is go to a physical file to insert a field for a display.
(Right click>insert Field>Database Reference, then follow the prompts)
Designer is doing all the work, but somewhere it is doing it wrong. I'm at
home now, but I will look again at the source it creates when importing a
field from a field reference file tomorrow.

I said; You said;
I can recreate the problem of misreading the reference
information every time. To do this simply create a record
and add a field from a database file. If the source code
has the following for a keyword;
REFFLD(LIBNAME/FILENAME FIELDNAME)
You have a great setup. Save and exit the source, then
bring it back up in the designer. On my installation it
will show the field as a one character I/O field. It
defaults to this because it can't find the referenced file.
It interprets the parameters of the REFFLD incorrectly,
and inserts things in the wrong places. What it does is
put *LIBL in the library prompt, FIELDNAME in the file name
prompt, LIBNAME in the record name prompt, and FILENAME in
the field name prompt. It does it every time, and causes
me to have to manually fix it. It recognizes it correctly
before the save and quit, just not when it loads the source
again. If you still need source, I would be glad to share
the DDS for the reference file and the window I am
designing.
======================>
When I look up REFFLD in the online DDS manual it shows me something like
this:
REFFLD([record-format-name/]referenced-field-name
[{*SRC | [library-name/]database-file-name}])
I would expect the behaviour to be exactly as you describe.
<======================

----------------------------------------------------------

Jim Essinger
Senior Programmer/Analyst
Student Loan Fund of Idaho
PO Box 730
Fruitland, ID 83619
208-452-4058
esinger@fmtc.com

------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.