I have a reactive input in ShinyUI Tab1:
selectInput("SelectVar", choices = DropDownListForVar())
,where
DropDownListForVar()) = function (){
sqlQuery = return ( Connection, "Select var from dbo.Variables")
} ## using RODBC library
In my shiny app, I am also updating the dbo.Variables table from a Tab2. The problem is that I cannot see the updated value in dbo.Variables from Tab1, unless I restart the app.
Any ideas?