I have a window, inside I have 2 local procedure . in each I declaring data source variable using same name
m_Query is data source
inside both procedure calling hexecutesqlquery()
the weird things happen when from inside proc1 , i call proc2 .
after calling proc2 , m_query in proc1 no longer contain query result from proc1 but it overwrite by proc1 .
I resolve this by make different name . I don't under why this happen . when i try other variable (string / int ) , I don't see this problem . why ?
m_Query is data source
inside both procedure calling hexecutesqlquery()
the weird things happen when from inside proc1 , i call proc2 .
after calling proc2 , m_query in proc1 no longer contain query result from proc1 but it overwrite by proc1 .
I resolve this by make different name . I don't under why this happen . when i try other variable (string / int ) , I don't see this problem . why ?