You have to make sure that AdmnButt.EEP includes the following:
CLS
SET VAR VButton = .%1
CLOSEWINDOW
RETURN
In your case, also make sure that the variable vButton is
pre-defined with a data type INTEGER.
Hope that helps!
Very Best Regards,
Razzak.
At 09:03 AM 7/18/2001 -0600, Farnsworth Midge wrote:
>Razzak,
>
>You asked to see the command and eep for the error. The push button calls:
>admnbutt.eep usi #
>
>Any number you put in will give the error. He is using this eep with the
>application express.
>
>
>-- This module controls the administration function screen
>
>SET ERROR MESSAGES off
>SET MESSAGES off
>
>SET VAR vbutton = .%1
>
>SWITCH (.vbutton)
>
>CASE 1
> SET VAR MICRORIM_NOSTATUS = 1
> EDIT USI user_update
> BREAK
>
>CASE 2
> SET VAR MICRORIM_NOSTATUS = 1
> EDIT USING cmd_user
> BREAK
>
>CASE 3
> RUN northsch.rmd
> BREAK
>
>CASE 4
> SET VAR MICRORIM_NOSTATUS = 1
> EDIT USING sys_backup
> BREAK
>
>CASE 6
> BROWSE * FROM cmdstd2
> BREAK
>
>CASE 7
> APPEND cmdstd2 TO cmdstd
> DELETE ROWS FROM cmdstd2
> BREAK
>
>ENDSW
>
>
>-----Original Message-----
>From: A. Razzak Memon [mailto:[EMAIL PROTECTED]]
>Sent: July 17, 2001 5:26 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Merging forms into one database - Razzak's Reply
>
>
>
>At 05:11 PM 7/17/2001 -0600, Farnsworth Midge D Contr wrote:
>
>>... Here's another one that came up that is intermittent:
>>in the application that we are developing we have utilized
>>many push buttons to take us to different forms and screens,
>>as the program returns to the originating point (after the
>>push button eep has executed) we are getting an application
>>error (fatal) "DR WATSON type" which shuts down the program
>>and returns us to the desktop. Any ideas?
>
>While I'm in town and have access to my e-mails <g>, I would
>like to see the command and contents of EEP using the push
>button. There were few forms/eep boo-boos in R:BASE 6.1a.
>
>The Glorious R:BASE 2000 for Windows (ver 6.5++) includes
>MAJOR ENHANCEMENTS, FEATURES and BUG-FIXES!
>
>Very Best Regards,
>
>Razzak.
>
===================================-============================
R:BASE Developers's Conference: http://www.rbase.com/conference
Official R:BASE List Server: mailto:[EMAIL PROTECTED]
RBTI Events/Training: http://www.rbase2000.com/events
R:DCC Members: http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================