Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pulling Database data into WebForms

Status
Not open for further replies.

rajamouli

Programmer
Dec 6, 2004
1
US
I am trying to get option values in a Drop Down box of a WebForm, from a database table. The rows in this table are inserted using other Livelink form. I am using javascript onload event to call the database (Similar to the lookupexample.html in Knowledge Center).
The issue is, I get the values from the database most of the times and other times I get a javascript error "SQLData.COLUMN_NAME1 is not an object". Any body got a similar error???

If I try the same functionality from Home(with DSL), I get the error more often. Thinking the Javascript function is being called before getting any data from database, I also tried to delay calling the onload function using javascript setTimeout. Still it doesn't work.

Please help !!!!! Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top