Hi Brenda,
>>>Got an error message on a WAIT WIND Msg - said the msg string was too long. how long is too long. can i just WAIT WIND SUBSTR(msg, 1, 250)
>>>
>
>>I believe the limit is 255. BTW, for clarity I'd use left(msg, 255)
>
>
>Is 255 the max length for a messagebox also?
>
It appears to be 1024, it truncates at that point. No error returned.
Bill Armbrecht
VFP MCP