View Single Post
Old 02-27-2017, 09:34 AM
Norrit Norrit is offline
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,313

What does your debugger say?

Does it get into your if-construction (FldDest.DataType=ftBoolean is correct)?

If so, what is the value of vl (and it's a bit strange to put a variant directly into a string, VarToStr is perhaps needed)
Furthermore, in your case if value <> TRUE/VRAI/FALSE/FAUX

And as a sidenote, the UpperCase function is deprecated (use AnsiUpperCase/UTF8UpperCase)
Reply With Quote