Hi every one

I designed game in which the player should guess words starts with a certain letter and these words are compared to a table of words in the database. the words that the user enter are stored in array.

I want to add a help button that show words stored in the database and the user did not write them tell now.

So how can I compare the words in the array with the data base and display one word in a MsgBox ?


Thanks

You must query to the database table to return the not entered words using a SQL sentence like

SELECT Word FROM WordsTable WHERE Word NOT IN ('word1', 'word2', ...)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.