Jump to content


Photo
- - - - -

SET_CURR


3 replies to this topic

#1 Rob Fantini

Rob Fantini

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 267 posts
  • Gender:Male
  • Location:Haverhill, United States

Posted 27 October 1999 - 06:06 PM

Hello, pro ver 4.532, sco unix.

Does SET_CURR work correctly using C-ISAM files?

I'm having problems with it which I'll describe in detail if it is known to work....

Rob

#2 Rob Donovan

Rob Donovan

    rob@proivrc.com

  • Admin
  • 1,640 posts
  • Gender:Male
  • Location:Spain

Posted 28 October 1999 - 07:26 AM

Hi,

There is a bug with SET_CURR when using expand mode and @PSEQ in paging screens.

If you set SET_CURR, press expand mode, go into change mode and then arrow down the paging screen until you get a new page, @PSEQ is set to 1 again.

Rob

#3 Rob Fantini

Rob Fantini

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 267 posts
  • Gender:Male
  • Location:Haverhill, United States

Posted 28 October 1999 - 03:16 PM

Rob,
Have you used SET_CURR on an Alt-index to a cisam file?

The problem I'm having is shown below. I call another pgm to modify an invoice picked from the Select Screen. The modify pgm links back to the Select Screen. Using SET_CURR the cursor starts at the orig invoice , but it appears again below on the screen.

Select Scrn, 1-st time:
1 G94224 23.10 125
2 G94225 17.55 126
3 G94226 23.70 147 << invoice picked
4 G94227 39.60 402
5 G94228 17.70 489
6 G94229 14.24 845

Select Screen on return:
3 G94226 23.70 147 < 4 G94225 17.55 126 ..
5 G94226 23.70 147 < 6 G94227 39.60 402
7 G94228 17.70 489
8 G94229 14.24 845

I use the following in the ls's DEF LOGIC:
IF @$COM2 = 'SCRN'
AR_TREF = @$COM4
SET_CURR(AR_TREF)
ENDIF
The above is done after a SEL-ONLY(ACSH_DMCODE)

The alt-ix is defined as:
MS ACSHX1
M ACSH_DMCODE
M SALES_WEEK
M AR_TREF
ME


Thanks in advance
Rob F

#4 Rob Donovan

Rob Donovan

    rob@proivrc.com

  • Admin
  • 1,640 posts
  • Gender:Male
  • Location:Spain

Posted 29 October 1999 - 02:18 AM

After looking at your function, I have found a bug with PRO-IV.

Using SET_CURR with a Sort/Select set to Y causes random errors and core dumps!!!!

Rob



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users