Error Message RB 6.03
Hi together
for a long time I had nothing specials with RB - RB runns wonderfull.
I work wit RB enterprise 6.03 togehther with Apollo VCL NSX Files and
Delphi 5 prof.
I expandes some fields in the Tables eg Notiz to 1023 Char (Its allowed
for Apollo).
Now I get a Error message in German which means in english: "The list
exeeds the maximum" during loading the Field Labels from Apollo.
I Load the Field Labels in this way:
(and build now in the message for evaluating where the error occours)
-----------------
try
for i := 0 to AB00.TblAD00.ApolloFieldCount-1 do
begin
feld := AB00.TblAD00.Fields[i].DisplayLabel;
ppAD00.Fields[i].FieldAlias := AB00.TblAD00.Fields[i].DisplayLabel;
end;
except
showmessage('Felder AB00.TblAD00 '+feld);
end;
--------------
My Question:
Ist that possible that RB does not support Char Fields with the Length
of 1023 like Apollo?
Or where could the error come from ?
Thanks
Erich Rieder
Zürich - Switzerland
for a long time I had nothing specials with RB - RB runns wonderfull.
I work wit RB enterprise 6.03 togehther with Apollo VCL NSX Files and
Delphi 5 prof.
I expandes some fields in the Tables eg Notiz to 1023 Char (Its allowed
for Apollo).
Now I get a Error message in German which means in english: "The list
exeeds the maximum" during loading the Field Labels from Apollo.
I Load the Field Labels in this way:
(and build now in the message for evaluating where the error occours)
-----------------
try
for i := 0 to AB00.TblAD00.ApolloFieldCount-1 do
begin
feld := AB00.TblAD00.Fields[i].DisplayLabel;
ppAD00.Fields[i].FieldAlias := AB00.TblAD00.Fields[i].DisplayLabel;
end;
except
showmessage('Felder AB00.TblAD00 '+feld);
end;
--------------
My Question:
Ist that possible that RB does not support Char Fields with the Length
of 1023 like Apollo?
Or where could the error come from ?
Thanks
Erich Rieder
Zürich - Switzerland
This discussion has been closed.
Comments
I am unfortunately not very familiar with Apollo however looking at the
following page on their web site...
http://www.vistasoftware.com/sde_spec.asp#dataspec
it seems the maximum characters allowed in a character field is in fact 1023
unless you use the ApolloGetRecord call to get the entire record.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com