bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

E_CURRENT


From: Mike Aubury
Subject: E_CURRENT
Date: Wed, 21 Jan 2004 08:15:24 +0000

I've got a form that I've posted, and I need to change the field opts of 
one/all  of the fields (I need to set it to be non-static)..

The form is used in three modes:

1) DISPLAY ONLY (this is the default)
2) INPUT ONLY
3) QUERY ONLY

In Query mode - I need to fields to be dynamic (ie not O_STATIC) so I can type 
in a query - eg for single character field I might enter : 
A|B|C|D

meaning A or B or C or D


I'm fine changing the fields that are not the first field, but for that first 
field I get E_CURRENT returned from field_opts because its the current field 
(even though at this point - the form is only being used for displaying 
values)

If i've got lots of fields - it would be possible to just move the current one 
(for now) and then change the details - but that doesn't help if Ive only got 
a single field.

So - is there a way to say there is no current field ?
Do I have to unpost/change/repost & repopulate or something ?


Any ideas or suggestions ?

TIA




reply via email to

[Prev in Thread] Current Thread [Next in Thread]