i need to trigger a reminder from database and pass the result to a msgbox using a button
Can you be more specific? What is the trigger? Is it based on date/time? Is it based on some particular action in the database? Is the database on a local machine? What kind of database is it? Does it even matter? Do you know how to access the database?
Are you trying to say "when the user clicks a button, I want to check the database for some condition and display a reminder in a message box if the condition is true"?