PDA

View Full Version : How to test if a string entrie exist



g.noyer
11-10-2003, 06:03 AM
Hello
I Want test if a string entrie exist to avoid some error messages on my script.

If I do
try
Val=@STRING10;
catch
return FALSE;
endcatch;


and string STING10 does not exist I have an windows errors.

Is Threre a function to do it ?

Thanks for your help.

RobertDickau
11-10-2003, 09:47 AM
You can use the LoadStringFromStringTable function for this.