[Openroad-users] SetFieldValue fails in AppServer
James Higson
James.Higson at GUI-tek.com.au
Fri Sep 21 09:01:13 EST 2007
Hi all,
We are running OR SP3.
The following procedure runs fine in ClientServer mode, but causes AppServer
to return the exception "Ingres or 4GL runtime error. Please check the
w4gl.log file for details". I have narrowed it down to the command
SetFieldValue. If I comment out that line, it works fine.
I assume this is a bug in AppServer. Before I waste Ingres' time by
reporting it, can anyone see a problem.
PROCEDURE report_4gl () =
DECLARE
scratch = StringObject;
entryfld = EntryField DEFAULT NULL;
ENDDECLARE
{
scratch.Value = '';
entryfld = EntryField.Create();
entryfld.DataType = F8 NOT NULL';
entryfld.FormatString = '"$,$$$,$$$,$$n.nn"';
entryfld.SetFieldValue(Value = 123.45);
scratch.ConcatVarchar(Text=entryfld.TextValue);
RETURN ER_OK;
}
Thanks,
James
Melbourne, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20070921/bd721b0f/attachment.html
More information about the Openroad-users
mailing list