| drosin 2004-04-01, 6:41 pm |
| I'm using a text field in the footer of a datawindow. A string value
is assigned to this text field based on values pulled from the
database. This has worked perfectly for the past 3 years. Yesterday,
this application that is used hundreds of times every day without
problems dies twice. The first time because someone entered quotation
marks in their comment, like "Tomato". The second time, someone
indicate yes (no quotes).
Both of these values, "tomato" (with the quotes) and yes (no quotes)
blew up the following line where ls_note_desc is the value.
dw_whatever.object.note_desc_t.Text = ls_note_desc
A part of me can understand why both of these could cause problems. I
suspect values of No, True and False would cause problems too. The
question is, how do you put quotation marks or the sting yes into a
text field?
This is the error message.
Error accessing external object property text at line 119 in function
printlisting of object
Line 119 is the example line above.
Thanks, Derek
drosin71REMOVEME@yahoo.com
|