Re: RE : [fpc-pascal] ftGuid displaytext output

2011-08-14 Thread Reinier Olislagers
On 13-8-2011 13:04, Ludo Brands wrote: TGuidField stores guid in the string format (GuidToString). EF.Field.AsString should give you the correct string value. Ludo Thanks, Ludo. I think I was using AsString at first. I'll have a further look; maybe I'm putting in rubbish; I'll probably have

RE : [fpc-pascal] ftGuid displaytext output

2011-08-13 Thread Ludo Brands
While trying to export dataset data to XML, I use this for ftGUID fields: FNode := Foutputdoc.CreateTextNode(Utf8decode(GUIDToString(TGuid(EF.Fie ld.Value; This works on Windows 32 and shows a hex representation of the GUID, like {---C000-0046}