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.

--- RBASE-L
=======================3D=======================3
D=
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
=======================3D=======================3
D=
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
=======================3D=======================3
D=
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
=======================3D=======================3
D=
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
=======================3D=======================3
D=


Reply via email to