Microsoft Access97 Help

From: Arlete Cruz <arletecruz_at_usa.net>
Date: Fri, 20 Aug 1999 11:11:26 +0100
Message-ID: <7pjats$1iu$19_at_duke.telepac.pt>


I'm building a Microsoft Access 97 Database, and I need to make a search to find some words inside a Memo field. The Words to be located should be introduced by the user. I just try to make a query using SQL witch I describe:

PARAMETERS [Enter the Word you wan' t to find:] LongText; SELECT *
FROM table
WHERE table.field LIKE '*[Enter the Word you wan' t to find:]*';

It did not work out, and I don' t know if what I did is possible. Then I try to use Visual Basic, but I only obtain the first desired record, and the search did not continue the match of the next record. I would be very thankful If you can help me with some suggestion.

Arlete Cruz

Estou a construir uma base de dados usando o Access 97, e necessito efectuar uma procura de palavras num campo do tipo Memo. As palavras a serem localizadas devem ser introduzidas pelo utilizador. Já tentei fazer uma query usando o SQL a qual passo a descrever:

PARAMETERS [Enter the Word you wan't to find:] LongText; SELECT *
FROM table
WHERE table.field LIKE '*[Enter the Word you wan't to find:]*';

Isto não resultou, e também não sei se é possível fazer o que fiz. Depois tentei recorrer ao Visual Basic, mas apenas consigo localizar o primeiro registo no qual ocorre a palavra procurada, não consigo que a procura prossiga.
Agradecia que se pudesse auxiliar-me a resolver este problema me enviasse um mail. Received on Fri Aug 20 1999 - 12:11:26 CEST

Original text of this message