On Wed, Oct 5, 2011 at 10:23 AM, Alan Bourke <alanpbou...@fastmail.fm> wrote: > > > On Wednesday, October 05, 2011 10:07 AM, "Stephen Russell" > <srussell...@gmail.com> wrote: >> >> try >> catch(SQLException sex) >> messagebox.show(sex.Message) > > Um .. thanks, but that looks like C# whereas I need to do that in VFP :) > -- ----------------------
You can do a try catch in VFP. Can't you define what you are catching and allow a different catch block by exception type? Just let intellisense guide you for the SQL Exception type otherwise just default to Catch and read the message there. -- Stephen Russell 901.246-0159 cell _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cajidmylv9_q5wgozpsr61hofxfeqhbzopofrn8kkwyltngj...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.