length of fields, posted by Paul Harrington on Wed Feb 23 13:02:59 2005
|
When creating/updating entries in elog, excluding the main text field are
there any limits on the size of the other fields?
many thanks
Paul |
, posted by on Tue Mar 1 19:41:29 2005
|
For some reason it looses the "m" so line 5 instead of having
"hh:mm" has "hh: m"
Please ideas ;)
Cheers,
GL. |
, posted by on Tue Mar 1 19:41:29 2005
|
For some reason it looses the "m" so line 5 instead of having
"hh:mm" has "hh: m"
Please ideas ;)
Cheers,
GL. |
Re: length of fields, posted by Stefan Ritt on Wed Mar 2 15:00:04 2005
|
> When creating/updating entries in elog, excluding the main text field are
> there any limits on the size of the other fields?
Yes, this is controlled by the variable NAME_LENGTH in elogd.c, which is
currently set to 1500 characters. You can try to increase this and recompile,
but at some point you will produce a stack overflow and elogd will crash. So
the current length is a compromise.
- Stefan |
Re: length of fields, posted by Paul Harrington on Thu Mar 3 10:21:21 2005
|
> > When creating/updating entries in elog, excluding the main text field are
> > there any limits on the size of the other fields?
>
> Yes, this is controlled by the variable NAME_LENGTH in elogd.c, which is
> currently set to 1500 characters. You can try to increase this and recompile,
> but at some point you will produce a stack overflow and elogd will crash. So
> the current length is a compromise.
>
> - Stefan
Thanks. Thats useful to know.
Paul |
2 Extendable options when created new entries, posted by Alex H on Thu Mar 3 16:46:26 2005
|
Hello,
I try to have two Extendable options : Client and Equipment
so here is the line in my elogd.cfg
Extendable options = Client, Equipment
When I create a new entrie, I have the 2 scroll menus(Client and
Equipment) and the 2 buttons(Client and Equipment) but i can't create 2
news entries, i must create one for client, after I submit, I edit one
more time and add a new equipement. Is there a solution for this?
Thanks a lot and sorry for mistakes or problem of comprehension i'am
french :) |
Re: length of fields, posted by Paul Harrington on Tue Mar 8 13:16:14 2005
|
The reason for the earlier question is that we are trying to use Elog to store
data in a form we'd need to store more 1500 characters in more than one field.
Is it possible to get around this problem by having more then one main text field
per record?
thanks
Paul
> > > When creating/updating entries in elog, excluding the main text field are
> > > there any limits on the size of the other fields?
> >
> > Yes, this is controlled by the variable NAME_LENGTH in elogd.c, which is
> > currently set to 1500 characters. You can try to increase this and recompile,
> > but at some point you will produce a stack overflow and elogd will crash. So
> > the current length is a compromise.
> >
> > - Stefan
>
> Thanks. Thats useful to know.
>
> Paul |
Re: length of fields, posted by Stefan Ritt on Tue Mar 8 20:28:49 2005
|
> Is it possible to get around this problem by having more then one main text field
> per record?
No, not at the moment. You can increase the 1500 characters by recompiling elogd, but
at some point you will hit the stack limit and elogd will crash. I plan a major
redesign with completely dynamic memory allocation, thus permitting any number of
characters on any attribute. But this will take a couple of months or so. |