I need to create a table and copy a dict from another existing table to the newly created table using rbasic+. The code I have tried to use unsuccessfully is as follows;
Create_Table('',tablename,'','','','')RLIST('RECORD_COPY DICT_PartsData "*" TO:DICT_:TABLENAME,5,'','','')PartsData is the existing table. tablename is the variable used for the new table. It seems the dict is not created when the data portion of the table is created. Do I need to create the dict seperately?
When this program is working I will need to import several thousand records. In AREV I used a routine called gasgauge to display the progress of the import. Is there a similar routine in OI?
Thanks;
Jim Jones
Try this,
Copy_Row "DICT.PARTSDATA","*", "DICT.":TABLENAME, "*", "2"
As for the gasgauge, you'll probably have to write your own.
Jim,
If you wish a gasguage (this should all happen really fast) you could
use msg with the guage option then 'select' the dict items and read/write.
DSig
[email protected] onmouseover=window.status=imagine … a company that supports their product from pride not extortion;return(true)"
David Tod Sigafoos ~ SigSolutions
[email protected] Cell:503-341-2983
I seem to remember several requests for a gasgague or progress meter. This is one I use. Try it ans see if ya like it.
http://www.zzzttt.com/cgi-bin/oi_progress.pl
Just might be what you are looking for. It is a window and proceedure. The source code is included so you can see how it works. Be sure to read the "readme" document. It explains a bit more about it and the method of install.