Hi,
I am trying to query data base by providing input parameter through a variable.
1] I am seeing below error for attached:
a = 666.1;
deleted object reference[]
How do i resolve this?
It works when I use 666.1 directly here FROM fer_view2 t1 where(t1.DVT_id = 666.1)
a = 666.1;
show(a);
obj = New SQL Query(
Connection( "ODBC:DSN=DVT Data Server" ),
QueryName( "fer_view2" ),
CustomSQL(
"SELECT *
FROM fer_view2 t1 where(t1.DVT_id = a) ;"
)
) << Run;
Also same thing happens when i create a text edit box to input value from user