Hi Paul, My problem is where to put code to catch the error.
I'm sure someone will have an answer. Thanks Dennis -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Saturday, August 01, 2009 12:59 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Sub Table Error Out c:\temp\error.txt Get the error Out screen Edit error.txt MyWay Paul. I am sure others do it somehow else ------Original Message------ From: Dennis McGrath Sender: [email protected] To: RBASE-L Mailing List ReplyTo: [email protected] Subject: [RBASE-L] - Re: Sub Table Error Sent: Aug 1, 2009 12:29 PM Thanks Razzak, I guess my big question is where can I trap the error? I get a dialog telling me about the error, but have not been able to find how to trap it so I can respond to it. Also, how would I know which table and column threw the error so I can respond accordingly? Very Best R:egards, Dennis McGrath -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak Memon Sent: Friday, July 31, 2009 5:43 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Sub Table Error At 05:14 PM 7/31/2009, Dennis McGrath wrote: >How do I automatically take the user back to the offending >field on the correct tab? There are several techniques to achieve the desired results. 01. Assign a unique Component ID to a field (DB/Var Edit) and then use the following PROPERTY command to switch the focus to appropriate DB/Var Edit control. Syntax: PROPERTY <UniqueComponentID> SET_FOCUS 'TRUE' RETURN 02. Assign a Component ID to the Enhanced Tab Control and then use the following PROPERTY command to first switch to the corect page and then set the focus to appropriate DB/Var Edit Control. Syntax: PROPERTY <EnhancedTabControlCompID> ActivePageIndex 'n' RETURN Where n is the internal number for the tab page. 0 = first tab page 1 = second tab page 2 = third tab page 3 = fourth tab page 4 = fifth tab page Example: PROPERTY EnhancedTabControlCompID ActivePageIndex '2' PROPERTY DBVarCompID SET_FOCUS 'TRUE' RETURN This will first switch to page 3 of the Enhanced Tab control and then set the focus to DB/Var Edit control with a unique Componnet ID assigned as DBVarCompID That's all there is to it! Very Best R:egards, Razzak. Sent from my Verizon Wireless BlackBerry

