[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

4000.0. "NBS_DATE on KEY field ..." by TAV02::CHAIM (Semper ubi Sub ubi .....) Sun Mar 20 1994 14:36

ALL-IN-1 V2.4

A customer has created an entry form using a date as the KEY field. He is using
the /LANG=NBS_DATE for date conversion.

He seems to be able to write records correctly (entering dates such as
01-apr-1994 - teh NBS date is written to the file). But when we attempt
retrieving records enetering the dates in dd-mmm-yyyy format, we receive
"Record Not Found". We even do a FIND on the key field and receive a listing of
the records, but selecting one of these still returns a "record not found" upon
hitting return. 

Is this problematic? 

What should we be doing.

Thanks,

Cb.
T.RTitleUserPersonal
Name
DateLines
4000.1Selection field has /lang=NBS_DATE, too?ROMEOS::LESLIE_DAGreetings & SolutionsMon Mar 21 1994 03:308
    Is the field that is being used for the selection also have the
    /LANG=NBS_DATE on it?  If so, then you may need to convert the date to
    NBS as part of the recognition processing.  I thought I'd try the
    obvious solution first (and leave the hard parts for those still
    building ALL-IN-1 applications ;*).
    
    HTH,
Dan
4000.2Just KEY field ...TAV02::CHAIMSemper ubi Sub ubi .....Mon Mar 21 1994 06:1318
Dan,


>                 -< Selection field has /lang=NBS_DATE, too? >-
>
>    Is the field that is being used for the selection also have the
>    /LANG=NBS_DATE on it?  If so, then you may need to convert the date to
>    NBS as part of the recognition processing.  I thought I'd try the
>    obvious solution first (and leave the hard parts for those still
>    building ALL-IN-1 applications ;*).
>    

The entry form has two fields; DATE and DESC. DATE is the KEY field and has
/LANG=NBS_DATE.

Thanks,

Cb.
4000.3Would appreciate an FLG for a form ...TAV02::CHAIMSemper ubi Sub ubi .....Mon Mar 21 1994 09:5117
I've been reading the notes which talk about using /LANGUAGE on a key field,
and although it is very clear that it cannot be used, it is NOT 100% clear to
me how to work around this elegantly.

I would appreciate it if some could post the .FLG to an entry form which would
allow me:

1. Enter the date normally (01-APR-1994) - for ADD and CHANGE etc.
2. Store the date as NBS (19940401000000)
3. Display the date as normal (01-APR-1994)

I don't mind storing "dummy" fields if needed, but I wouldn't want to display
anything other than the normal date.

Thanks,

Cb.
4000.4If you can't do it with an ENTRY form, then don't use an ENTRY form!IOSG::MARSHALLA glitch in realityMon Mar 21 1994 10:138
Personally, I don't like presenting ENTRY forms directly to users at the UI.
I think ENTRY forms should be used for mapping the data file, but that an ARG
form should be used at the UI.  That way, you can put /LANGUAGE on your ARG
form fields, and get all the conversions you require.

Just my humble opinion...

Scott
4000.5O.K. ENTRY andf ARG form requested ...TAV02::CHAIMSemper ubi Sub ubi .....Mon Mar 21 1994 10:3117
Scott,

>
>Personally, I don't like presenting ENTRY forms directly to users at the UI.
>I think ENTRY forms should be used for mapping the data file, but that an ARG
>form should be used at the UI.  That way, you can put /LANGUAGE on your ARG
>form fields, and get all the conversions you require.
>
>Just my humble opinion...
>

No problem agreeing with that. If so, then could you send me an ENT form and
ARG form to do what I requested.

Thanks,

Cb.
4000.6Engineers don't work hard enough...IOSG::MARSHALLA glitch in realityMon Mar 21 1994 20:506
Sorry, as I'm currently working 12 hour days (no overtime payment) to meet the
Emerald schedule, I don't really have time to provide unofficial, unchargeable
consultancy services too.  Any other time I'd be glad to help; I hope you can
find someone else to help you code the forms.

Scott
4000.7Any Volunteers ???TAV02::CHAIMSemper ubi Sub ubi .....Tue Mar 22 1994 06:255
Any volunteers?

Thanks,

Cb.