Hi
I having some problems with some variables.
I get some variables from a database record.
Code:
function GetData()
{
RecSet = db.ExecuteSQL("SELECT * FROM PROJECT WHERE (CODPRO = "+db_codreg+");")
RecSet.FirstRecord()
RecSet.FirstRecord()
db_nompro = RecSet.NOMPRO
db_nom2pro = RecSet.NOM2PRO
db_idepro = RecSet.IDEPRO
.....
}
With Debug.trace, i can see this vars are gettin correct values,
but these vars (db_nompro, db_nom2pro,db_idepro...) are not updated on a text control.
I have added these vars as page vars, and added them on the text control using the "Insert variable or expresion" option
Im running the script on the page OnShow event (i have tried also the PreShow, but same )
Any solution?
I think this is a naughty bug on Opus ( im using Opus 4.5 pro).
Any help?