March 29, 200421 yr I am trying to create a script that will allow users to jump forward ten records within a found set. Is there anyway of doing this? I have buttons for go to record next,last, first etc but would like the option to jump forward and back 10 records within a found set. Version: Developer v6 Platform: Windows 2000
March 29, 200421 yr How about this? Freeze Window Set Field (gLoop, 0) Loop Go to Record (Next, Exit After Last) Set Field (gLoop, gLoop +1) Exit Loop If (gLoop=10) End Loop
March 29, 200421 yr Or use a global gTarget (num) SetField[gTarget, Case(Status(CurrentRecordNumber)>=10,Status(CurrentRecordNumber)-10,1)] GoToRecord[byFieldValue, gTarget] Version: v6.x Platform: Mac OS 9
March 29, 200421 yr Hmm. I'm thinking Ugo meant to put +10 not -10. Set Field [gTarget, Case(Status(CurrentRecordNumber) + 10 < Status(CurrentFoundCount), Status(CurrentRecordNumber) + 10, Status(CurrentFoundCount))] Go to Record/Request/Page [by Field Value, gTarget]
March 29, 200421 yr Yeah. I always had problems with my Right and Left. This is same with Backward and Forward, which is probably why I never succeeded in earing a whole tape. Though as Matthew asked to jump Backward AND Forward, he now has a complete answer. Version: v6.x Platform: Mac OS 9
Create an account or sign in to comment