Re: how stop the search in a data base?




"Paula" <paulasfs@xxxxxxxxx> wrote in message
news:1145964723.069471.183200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,

I would like stop a search in a program, using a data base.
I need read a data base, and when it find a repetition, stop the search
( in the main program).

if anybody can help me...

ex.:
pass(a,b).
pass(c,d).
pass(a,b).
.
.
.


The 'cut' will stop the search (a cut is written with an !)
If you can give more info on your search, it will be clearer if this is
applicable.

/Andrew


.