× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

View text files from Desktop

More
17 years 1 week ago #948 by Ramya
View text files from Desktop was created by Ramya
Hi all,



I have an existing enquiry which is used to view the text files from Desktop.



Details of the Enquiry is as follows:



Selction fields - File name, Record name



This is a Nofile enquiry which do a EB.READLIST fo the FIle name given in the selection and lists the record names as ouput



There is a drilldown enquiry to view the text file. The drilldown is somthing like this...VIEW FILENAME>RECORDNAME



This works fine if the record or text file is in &HOLD& ...



I tried the same with a new file (Created using mkdir/CREATE.FILE)



The Enquiry Works fine till listing the record names...but fails in the drilldown...








Regards,

Ramya

If you don?t have a smile, I will give you one of mine | www.smile.org.in

Please Log in or Create an account to join the conversation.

More
17 years 1 week ago #949 by malai
Replied by malai on topic Try this
This is not the problem on EB.READLIST.
I suspect the problem is on OPF.
Did you get any fatal out or any error messages?



Also, in the jBASE prompt try JED and check whether you have formatted text data inside your file.


___________

Thanks

Please Log in or Create an account to join the conversation.

More
17 years 1 week ago #950 by Ramya
Replied by Ramya on topic View text files
Checked OPF - OPF works fine if write a small routine & execute for the same directory



The text file is properly aligned...



Actually there is no problem till i get the list of records inside the file. Desktop hangs & comes out if i try to run Drilldown enquiry and view the file


Regards,

Ramya

If you don?t have a smile, I will give you one of mine | www.smile.org.in

Please Log in or Create an account to join the conversation.

More
17 years 1 week ago #951 by malai
Replied by malai on topic Permission
Its really strange.



Check whether you have full permission for the file (unix level).


___________

Thanks

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #952 by Tiger
Replied by Tiger on topic View text files


Create a new field in the enquiry and concat the Filename and Record name as


B>
1) FIELD.NAME..... DIR.NAME

OPERATION... 'TEST.BP>'



2) FIELD.NAME..... RECORD.NAME

OPERATION... 0



3) FIELD.NAME..... REPORT.ID

OPERATION... CALC FILE.NAME : RECORD.NAME



and then try the drill down as ENQU VIEW REPORT.ID

Hope it should work...........I am afraid how come it works for you for HOLD.

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds