Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 7:33 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: help: var not updated on text
PostPosted: May 25th, 2005, 9:44 pm 
Offline

Joined: January 25th, 2005, 11:53 am
Posts: 9
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?


Top
 Profile  
 
 Post subject:
PostPosted: July 28th, 2005, 8:27 pm 
Offline

Joined: June 29th, 2005, 9:39 pm
Posts: 9
You might want to try creating new variables with new names and try it with them. I've run into problems previously where variables get corrupted and behave the way you've described. Deleting the corrupted variable and readding them doesn't seem to help either.

Jason


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group