[[https://www.revelation.com/|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]]
==== Need help quick..Or_prtf & "Failure to read resource record" (OpenInsight Specific) ====
=== At 02 MAY 2001 08:54:09AM Steve Carlson wrote: ===
{{tag>"OpenInsight Specific"}}
I got the following to work in my Dev. copy of OI.
]declare subroutine Or_prtf
]Rlistcommand=LIST FB_INSPECTIONS AUDITOR_NO FB_CLP ANALYSIS_INSP ]APPROVED_DATE WITH APPROVED_DATE ] "08/31/00" ID-SUPP HDR-SUPP ]COL-HDR-SUPP'
]TESTIT=@LPTRHIGH
]@LPTRHIGH=99999
]Dos_File=C:\TESTFB.TXT"
]Or_prtf("",Rlistcommand,Dos_File)
]@LPTRHIGH=66
]RETURN 0
I copied the form that has a button that executes the above to my "online" system and get the message:
"Failure to read resource record"
I did a search on the error but could find nothing on Or_prtf.
Need help fast....I told a user it would be ready today...
it is on my computer... but not on the LAN.
TIA]
Steve C.
----
=== At 02 MAY 2001 01:47PM Bob Carten wrote: ===
Look for a sysenv record present in dev system, missing from runtime
----
=== At 02 MAY 2001 02:26PM Steve Carlson wrote: ===
I have about 13 records in my development system that
are not present on my "runtime" LAN system.
Is there any problem with simply copying these over
with checkin-checkout??
Thanks
Steve C.
----
=== At 02 MAY 2001 03:29PM Steve Carlson wrote: ===
These 13 records are in the SYSENV file.
Steve C.
----
=== At 03 MAY 2001 08:21AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
If you can "see" your runtime from your development system you could check out directly INTO the runtime.
[url=http://www.sprezzatura.com]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 03 MAY 2001 09:00AM Steve Carlson wrote: ===
The records I need to copy are located in the SYSENV table.
What "entities" would these records be located in the
"check-out entity"---] "select entity" dialog box......
I can't seem to locate them.
Thanks.....
Steve C.
----
=== At 03 MAY 2001 10:17AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
If (as seems likely) you are missing ORMAIN_RESOURCES go into OpenInsight and choose Entity, New, General. As an Entity put SYSENV:ORMAIN_RESOURCES and as a title put say ORMain Resources. OK this then close.
Now check out this entity.
[url=http://www.sprezzatura.com]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 03 MAY 2001 11:03AM Steve Carlson wrote: ===
It was the ORMAIN_RESOURCES record that was missing and causing
me to get the Or_prtf "Failure to read resource record" message.
Even though I got the message the DOS file was still created.
It's interesting that ORMAIN_RESOURCES was in one SYSENV table
but not the other.
I gave up trying to "checkout" the rest of the missing SYSENV
records and simply created a "transfer_records" file to copy the
records into from one system and out of into the other system.
Thanks....
Steve C.
----
=== At 03 MAY 2001 11:16AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
This is understandable - resource records simply soft-code messages used by a program/window. They are not necessary for program execution.
[url=http://www.sprezzatura.com]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=B0368897DDCB759D85256A400046E04C|View this thread on the forum...]]