Hi,
When I am using resource variable to populate the value within the query, it is not working.
My statment is
=DBQuery( "INSERT INTO RETAIN_TB (ST_ID, CLAIM_FILE)
VALUES ("+Text(I_ST_ID)+", "+
"'" + "%RETAIN_DIR%" + TEXT (I_HDR_ID) + ".txt')",
-MDQ %MDQ% -DBNAME %DB_RETAIN% -CSTMT 1" )
%RETAIN_DIR% is not resolving and the value that goes to CLAIM_FILE column is %RETAIN_DIR%1234.txt
Rest of the variable (%MDQ% & %DB_RETAIN%)get there proper values.
Regards,
Vibhav1008
When I am using resource variable to populate the value within the query, it is not working.
My statment is
=DBQuery( "INSERT INTO RETAIN_TB (ST_ID, CLAIM_FILE)
VALUES ("+Text(I_ST_ID)+", "+
"'" + "%RETAIN_DIR%" + TEXT (I_HDR_ID) + ".txt')",
-MDQ %MDQ% -DBNAME %DB_RETAIN% -CSTMT 1" )
%RETAIN_DIR% is not resolving and the value that goes to CLAIM_FILE column is %RETAIN_DIR%1234.txt
Rest of the variable (%MDQ% & %DB_RETAIN%)get there proper values.
Regards,
Vibhav1008