1 of 1 people found this helpful
How do I suppress the default dialog box.
Set Error Capture [ on ]
then do your own error trapping/handling, using (mainly, not not limited to) steps and functions for flow control like If/Else/ElseIf, Get ( LastError ), Show Custom Dialog and Get ( LastMessageChoice ).
Of course, you could also check first if a related record exists, before attempting a GtRR.
If [ IsEmpty ( RelatedTO::primaryKey ) ]
Show Custom Dialog [ "No related record. Create one?" ]
# [ 1: Yes, 2: NO ]
If [ Get ( LastMessageChoice ) = 2 ]
# [ code to create a new related record goes here … ]
Go to Related Record [ From: RelatedTO ; … ]
I want it to say that plus Click on Continue then select New Record.
AWESOME - Thank you so much. Took me a little while to figure out the If's, Else etc but it works beautifully.