******* OK here is how I do it and it works every time ******
Let say you want to QUIT TO b IN f.APX
Currently you create an ASCII command file, lets call it: bf.rmd
bf.rmd contains:
--------------------------------------------
*( This command file exist only to execute my codelock application file)
QUIT TO b IN f.APX
-----------------------------------------------
In your calling application you enter a line such as:
-------------------------------
RUN bf.rmd
------------------------------
This WORKS!!!
****************************************
If you do not want your users to view the contend of bf.rmd, you can
codelock it with the following command at the R>
DEL bf.RMX;CODELOCK 1 bf.RMD bf.bak bf.rmx
NOW in your calling application you enter a line such as:
--------------------------------------
RUN bf.rmx
-------------------------------------
This WORKS in V6.5++ !!!
I am glad this works because I have some deployed system were all the code is
codelock for security reasons. Before V6.5++ is was ASCII command files only.
I have never been able to execute successfully the following command line:
QUIT TO b IN f.APX
It simply does not work. Maybe it will work in V7.0???? or maybe the
documentation will be correct in RSyntax.htm
Good Luck,
Manuel
Bernie Corrigan wrote:
> >In your example the blockname and file name were
> >very short (BT IN BTW.APX).
> >Perhaps there is a limit there?
>
> I just tested that theory and it had no effect.
>
> QUIT TO b IN f
>
> didn't work whereas
>
> RUN b IN f
>
> did.
> --------------------------------------
> In a separate issue an attempted QUIT TO a codelocked command file resulted
> in a string of bad command error messages. I then used RUN and the file
> executed perfectly. Tried QUIT TO immediately after that and the same file
> executed okay. Restarted RBase and the problem disappeared. This was in
> RBW 6.5++.
> ======================================
> At 11:50 AM 9/1/2001 -0400, you wrote:
> >> I tried it from R> and all was fine. The block being called is the first
> >> in the APX file... maybe that makes a difference.
> >>
> >> I can't think of anything else that would make it work.
> >
> >In your example the blockname and file name were very short (BT IN BTW.APX).
> >Perhaps there is a limit there?
> >--
> >Larry
> >
> >
> >
> >_________________________________________________________
> >Do You Yahoo!?
> >Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
begin:vcard
n:de Aguiar;Manuel
tel;fax:(323)661-7698
tel;work:(323)660-3511
x-mozilla-html:FALSE
url:http://www.mdenterprises.net
org:M|D Enterprises
adr:;;2412 No. Commonwealth Avenue;Los Angeles;California;90027-1206;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Developer
note;quoted-printable:The information contained in this e-mail may be privileged, confidential,=0D=0Aand protected from disclosure. If you are not the intended recipient, you=0D=0Aare hereby notified that any dissemination, distribution or duplication of=0D=0Athis communication is strictly prohibited. If you have received this=0D=0Acommunication in error, please notify the sender immediately and delete all=0D=0Acopies.=0D=0A=0D=0Ahttp://www.mdenterprises.net=0D=0Ahttp:/www.databasedeveloper.com=0D=0Ahttp://www.MdrBASE.com=0D=0A
x-mozilla-cpt:;-1
end:vcard