David Higgs
Programmer
My application interrogates a WEB Based Database and returns e.g. <fname> David </fname>
The following code has been working ok until recently I can across a <fname> . </fname>.
The "period" in the First Name produced the following error.
What would I need to do to my code to prevent this error occurring for any invalid values?
Regards,
David.
Recreational user of VFP.
The following code has been working ok until recently I can across a <fname> . </fname>.
Code:
XMLToCursor(QRZ_Lookup,"cur_QRZ_Lookup")
Contacts_name = StrExtract(qrz_lookup,"<fname>","</fname>") + " " + StrExtract(qrz_lookup,"<name>","</name>")
The "period" in the First Name produced the following error.
What would I need to do to my code to prevent this error occurring for any invalid values?
Regards,
David.
Recreational user of VFP.