Home » Developer & Programmer » Forms » Set Cursor Item Position
Set Cursor Item Position [message #78312] Wed, 13 February 2002 01:08 Go to next message
Messages: 7
Registered: January 2002
Junior Member
Hallo all,
Hoping someone can give me advice!
Problem is: how can I easily set the position of the cursor record (with a
special VISUAL_ATTRIBUTE set) in a table-query-block to a special one? For
Example: after Database Changes and a Re-Query...

My solution at the moment is:
-save the primary key of the actual cursor record
-looping over all record, beginning at the first one
-every primary key is compared to the saved one
-take the next record, while calling 'next_record'
-stop, if the key is matching

But isn't there a better solution?

Re: Set Cursor Item Position [message #78313 is a reply to message #78312] Wed, 13 February 2002 02:06 Go to previous message
pratap kumar tripathy
Messages: 660
Registered: January 2002
Senior Member
before re-querying , store the cursor_record.

and after re_query..
Previous Topic: Developer 2000
Next Topic: *** Tabular form (Counting rows) ****
Goto Forum:

Current Time: Mon Feb 24 15:43:52 CST 2020