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 03 MAR 2001 06:17:55AM Jeffrey Kim wrote:

I am using subroutine scribe to display list of customers detail on screen.

the information to display is customer_id, customer name,telephone

no. and balance. So far it work fine.

I would like to get more detail from this screen. For example when press enter, it will call another windows and show more details of the customer for current line.

But my problems is cannot capture data of the current line.

(eg. in popopus the key of current line will assign to @ans).

Can someone show me which variable it assign to.

My code is as below:

Get Detail

* Using subroutine scribe to display detail

PROTECT =1

EXIT.KEY ='

EXCEPT.KEY=CHAR(27)

COL =2

ROW =11

DISPLEN =76

COLOR ='

COLOR =@(-34)

COLOR =CHAR(27):"C70"

FLAGS ='

FLAGS =1

FLAGS =1

FLAGS =1

CHANGE ='

LINES =12

KEY ='

IMPAT ='

OUTPAT ='

JUST =L'

DELIM =@FM

MASK ='

LINELEN ='

STATE ='

LOOP

SCRIBE(INVAL,PROTECT,EXIT.KEY,EXCEPT.KEY,COL,ROW,DISPLEN,COLOR,
         FLAGS,CHANGE,LINES,KEY,INPAT,OUTPAT,JUST,DELIM
           MASK,LINELEN,STATE)
 IF (KEY=CHAR(13)) THEN
    CALL ANOTHER WINDOWS TO DISPLAY CUSTOMER DETAILS (ZOOM IN)
 END

UNTIL KEY=CHAR(27)

REPEAT

When I press enter, I would like to capture current line detail, which is consist of customer_id,name,tel and balance. I can use Customer_id to read customer information.

Any help are much appreciated.

Thanks.


At 03 MAR 2001 07:56PM Curt Putnam wrote:

Given the limited data you are displaying, I think using Pop.Up would be a better choice than scribe; so might a collector window.


At 03 MAR 2001 09:14PM Jeffrey Kim wrote:

thank you Curt Putnam.

i do think of using pop.up to display before. because of all my

screens are using scribe to display now. i am thinking of utilise

it to display more information.

as long as i can read the data in current line (by pressing ).

it is good enough for me, i can make use of the customer_id to

call another collector windows, which is having more information for the customer.

can someone give me some suggestion.

any help are much appreciated.

thank you.

View this thread on the forum...

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