Browse Sequence Control

User community discussion group for the ABC Free Templates and Tools used in Clarion Development

Browse Sequence Control

Postby ericd05 » Tue Jul 31, 2007 3:09 pm

I've just downloaded the ABC free templates and using for the first time. I have an existing browse procedure which I'm adding the Up and Down sequence control buttons. I get a compiling error \"function unkown\" and field unknown for

Access:MyFile.sequence(1,PRO:KeySequence) = LEVEL:Benign

I did see a note that TDFilemanger must be used in place of the Default ABC Filemanager class, but when I change the class to TDFilemanger, I get many, many more compiling errors.

Sorry, I must be missing something basic here.

Eric

PS I have registered these templates.
ericd05
New user
 
Posts: 3
Joined: Tue Jul 31, 2007 2:56 pm

Postby ericd05 » Thu Aug 02, 2007 11:24 am

This is the code where I receive the compiling error:
---------------------------------------------------------------------------------
ThisWindow.TakeAccepted PROCEDURE

ReturnValue BYTE,AUTO

Looped BYTE
CODE
LOOP ! This method receive all EVENT:Accepted's
IF Looped
RETURN Level:Notify
ELSE
Looped = 1
END
ReturnValue = PARENT.TakeAccepted()
CASE ACCEPTED()
OF ?BTN:SeqUp
ThisWindow.Update
IF Access:Project.Sequence(1,PRO:KeySequence) = LEVEL:Benign !$ Sequence Down
SELF.Reset(True) ! Browse:SequenceButtons (ABC Free)
END ! Browse:SequenceButtons (ABC Free)
OF ?BTN:SeqDn
ThisWindow.Update
IF Access:Project.Sequence(-1,PRO:KeySequence) = LEVEL:Benign !$ Sequence Up
SELF.Reset(True) ! Browse:SequenceButtons (ABC Free)
END ! Browse:SequenceButtons (ABC Free)
END
RETURN ReturnValue
END
ReturnValue = Level:Fatal
RETURN ReturnValue

------------------------------------------------------------------------------

It does not recognize SEQUENCE
ericd05
New user
 
Posts: 3
Joined: Tue Jul 31, 2007 2:56 pm

Postby ericd05 » Thu Aug 02, 2007 1:15 pm

problem solved.
ericd05
New user
 
Posts: 3
Joined: Tue Jul 31, 2007 2:56 pm


Return to ABC Free Templates and Tools for Clarion

Who is online

Users browsing this forum: No registered users and 2 guests

cron