Hi,
I am having a database in access and i want to highlight particular text from nearby column to the next column. For example,
--GCCCAGGCCCAAGAATGTCGCCGT GGAGGACTGTCTGTACATCAACGTGTTCGTGCCACGGCCCAGGCCCAAGAATGTCGCCGTCATGCTGTGGATCTTCGGGGGTGGCTTCTGACAAGCTATTGTGTTCGAATACACTGATT
--CGAATGAACGCTGTCCCTTCCACTGCTG GCAACATGCTCCCAGCCTTCGACAATGGCCCTCAATTCGAGGACTGGTTTCAACGAATGAACGCTGTCCCTTCCACTGCTGGAACTTCCGACTCCTTGTTGCCTAGAATGTCGCCGTCATGC
The first column text it should take as query and then it should only search the adjacent cell and highlight that.
While searching in the internet i came across a code also, But i dont know whether i can use that code or not.
ALTER PROCEDURE [dbo].[Search]
(
@searchTerm nvarchar(100),
@style nvarchar(100) = 'font-weight:bold; background-color:yellow',
@maxLen INT = 100
)
AS
BEGIN
SELECT
Id,
Name,
dbo.HighLightSearch(Description, @searchTerm, @style, @maxLen) AS Extract
FROM Documents
WHERE FREETEXT (Description, @searchTerm);
END
Please help me. Any help in this is highly appreciated. Other than access option also welcome.
I am having a database in access and i want to highlight particular text from nearby column to the next column. For example,
--GCCCAGGCCCAAGAATGTCGCCGT GGAGGACTGTCTGTACATCAACGTGTTCGTGCCACGGCCCAGGCCCAAGAATGTCGCCGTCATGCTGTGGATCTTCGGGGGTGGCTTCTGACAAGCTATTGTGTTCGAATACACTGATT
--CGAATGAACGCTGTCCCTTCCACTGCTG GCAACATGCTCCCAGCCTTCGACAATGGCCCTCAATTCGAGGACTGGTTTCAACGAATGAACGCTGTCCCTTCCACTGCTGGAACTTCCGACTCCTTGTTGCCTAGAATGTCGCCGTCATGC
The first column text it should take as query and then it should only search the adjacent cell and highlight that.
While searching in the internet i came across a code also, But i dont know whether i can use that code or not.
ALTER PROCEDURE [dbo].[Search]
(
@searchTerm nvarchar(100),
@style nvarchar(100) = 'font-weight:bold; background-color:yellow',
@maxLen INT = 100
)
AS
BEGIN
SELECT
Id,
Name,
dbo.HighLightSearch(Description, @searchTerm, @style, @maxLen) AS Extract
FROM Documents
WHERE FREETEXT (Description, @searchTerm);
END
Please help me. Any help in this is highly appreciated. Other than access option also welcome.