Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
MUSTARD
V12-L
Write a file
Cinemac
Move To Top
Combinations and Permutations
Effector Set I for Alphamania
IPIX
RearWindow Professional
Director 6 Demystified
 

 

 

FAQ Refine a search - Valentina

Added on 4/4/2001

 

Compatibilities:

Required Xtras:
Valentina

This item has not yet been rated

Author: Thomas (website)

How can I refine a recordset (cursor) with lingo?

You can refine a cursor by evaluating the records with lingo and using the command DropCursor to take out invalid records. This will leave you with a recordset that only contains the records you want. A short example is shown below.

vRS.firstRecord()
repeat with x = 1 to vRS.getRecordCount()
if vRS.getField(vField) = vCondition then
vRS.DropRecord()
else
vRS.NextRecord()
end if
end repeat

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail