>>>The code your sent works ok for me - in both cases I have only ShowMessage1 messagebox. NT SP6, VFP 6.0 SP3. How to run it? Maybe it is depended on the default VFP settings, like SET ANSI or SET EXACT?
>>
>>I only have it if the table name is contact. Is contact a reserve word?
>
>No it's not on the list of reserved words.
On my PC, I have VFP 6. On the other PC, we have VFP 6 SP3 as well on the server.