Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 23 OCT 1998 02:53:52PM R. Brooks wrote:

Maybe I missed it in the books and help file but

I am looking for a way to do the same thing as the

arev PCPERFORM command (i.e. ERASE c:\temp\*.*)

and PERFROM (i.e. SELECT table BY NAME).

How is this done correctly in OI??


At 23 OCT 1998 10:39PM Edward Chan of the Philippines wrote:

I just know how to do PERFORM in OI. (i.e. SELECT table BY NAME).

Use the RLIST subroutine:

RLIST( "SELECT table BY NAME",5,,,'')


At 23 OCT 1998 11:37PM Edward Chan of the Philippines wrote:

For the PCPERFORM :

You can use the UTILITY function:

Sorry, I have not tried the ERASE (an MSDOS command).

What I have tried are the exe file.

Example, if you want to execute EXPLORER.EXE then

the syntax is :

status=UTILITY("RUNWIN", "C:\WINDOWS\EXPLORER.EXE /n,/e,c:\")

You can place this command in the CLICK event of a BUTTON in the form.

Hope to hear from you.


At 24 OCT 1998 10:10AM Andrew P McAuley wrote:

Perform SELECT use call Rlist

amcauley@sprezzatura.com

Sprezzatura Ltd

World Leaders in all things RevSoft


At 25 OCT 1998 01:36PM R. Brooks wrote:

Thank you.

Now is there a difference between using RList in a script

by Call Rlist, x=Rlist, Rlist, as far as returning values.

I am not clear as to how to find out if any items were selected or if an error was encountered with the select, or processing on the items returned.

Also, how can one have a "spinner" or something display while

the engine is selecting the items from the table?

Lots of question I realize but have a hard time with the documentation

and examples provided.

Thank you in advance if you are able to respond!


At 25 OCT 1998 09:02PM Andrew P McAuley wrote:

Check @Rec.Count

Displaying progress is most easily done by including a symbolic which updates some form of progress indicator. Alternatively just call utility Cursor to make an hourglass!

amcauley@sprezzatura.com

Sprezzatura Ltd

World Leaders in all things RevSoft


At 25 OCT 1998 09:40PM Mike Ruane, WinWin Solutions Inc. wrote:

Brooks-

Most of the commands that you would call from the Perform statement in Arev have been Subroutinized- ie turned into subroutine calls.

Look at the documentation for the individual routines.

Selects can be done the the Rlist subroutine.

You might want to attend the RTI introduction course, or Advanced Basic+ programming course, which we teach. Call 800 262 4747 for details.

Hope it helps-

Mike


At 29 OCT 1998 10:17AM Cameron Revelation wrote:

R. Brooks,

In addition to Utility("RUNWIN"), there are various other utilities for working with files and directories:

CHOOSEDIR

CHOOSEFILE

MAKEDIR

REMOVEDIR

RENAMEDIR

RENAMEFILE

There is also an OSDELETE command for deleting files.

Cameron Purdy

Revelation Software

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/8c92e3ff02a73f88852566a60067cf33.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1