Alex,
The GOTO command always works with a LABEL command. The word "done" is not
an R:BASE reserved word or command, but the "name" of a label.  i To use
Buddy's example, you would have a command:

LABEL done

Near the end of your file.

Bill


On Thu, Dec 11, 2008 at 10:25 AM, Alex Sisk <[EMAIL PROTECTED]> wrote:

> Buddy,
>
> My variables are already defined: The Start Date is set to the current
> date, and the End Date is set to the current date + 1. Are you basically
> saying that the word "done" stops any further commands from being issued
> within an action? If all I have to do is GOTO done, then I can facilitate
> the rest of the coding. 'Done' must be an embedded R:BASE pointer?
>
> Alex
>
>
> Walker, Buddy wrote:
>
>> Alex
>>  You need to check your variable.
>>   IF yourVariable IS NULL or yourVariable = '[Esc]' THEN
>>     GOTO done
>>   ENDIF
>>
>> Buddy
>>
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alex
>> Sisk
>> Sent: Thursday, December 11, 2008 9:41 AM
>> To: RBASE-L Mailing List
>> Subject: [RBASE-L] - Terminating Subsequent Commands in an Application
>> Action
>>
>> Hello all,
>>
>> When having more than one command for a particular action within an
>> application, is it possible to make one of the commands terminate any
>> further commands from running in that particular action?
>>
>> (For instance: Say the first command in my action is to use a date-range
>>
>> form, and the second command creates a report using the selected dates.
>> Say my user clicks cancel on the date-range form. What is to stop the report
>> from being created? (The report creation command still runs, it just
>> displays nulls because the user canceled date selection.) Keep in mind the
>> goal is to keep the date range form universally usable, and to minimize hard
>> coding EEPs that will make the form exclusive to a particular scenario.
>>
>> Alex Sisk
>> DiMark Inc
>> (407) 786-4321
>>
>>
>>
>>
>>
>>
>
>

Reply via email to