Click here to Skip to main content
15,893,722 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Document.Write not working. Pin
Pete O'Hanlon14-Oct-10 22:46
mvePete O'Hanlon14-Oct-10 22:46 
GeneralRe: Document.Write not working. [modified] Pin
thebiostyle15-Oct-10 6:50
thebiostyle15-Oct-10 6:50 
GeneralRe: Document.Write not working. Pin
thebiostyle25-Oct-10 6:14
thebiostyle25-Oct-10 6:14 
QuestionError in developing my first AJAX example. . . . Pin
khurram_shahzad14-Oct-10 6:03
khurram_shahzad14-Oct-10 6:03 
AnswerRe: Error in developing my first AJAX example. . . . Pin
Eddy Vluggen14-Oct-10 6:46
professionalEddy Vluggen14-Oct-10 6:46 
GeneralRe: Error in developing my first AJAX example. . . . [modified] Pin
Shantanu Gupta 133723-Oct-10 11:08
Shantanu Gupta 133723-Oct-10 11:08 
AnswerRe: Error in developing my first AJAX example. . . . Pin
moocr.com1-Nov-10 15:49
moocr.com1-Nov-10 15:49 
QuestionRetrieving data from an access database and show it to the user. Pin
gamer112711-Oct-10 3:04
gamer112711-Oct-10 3:04 
Hi, I'm having a problem retrieving a data from an access database and put it into a textbox. I tried to code it but it didn't worked. here's my code:

function search()
{
try{
var connection = new ActiveXObject("ADODB.Connection");

var rs = new ActiveXObject("ADODB.Recordset");

connection.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\\IT114P\\Week2-Hibaler\\regform.mdb");

rs.Open("select emailAddress from RegFormTable where emailAddress = '"+document.regpage.emaildelete.value+"';", connection);

rs.MoveFirst;
while(!rs.eof)
{
document.regpage.email.value = rs.fields(0);
rs.MoveNext;

}
rs.close;
conec
}
catch(e)
{
alert(e);
}
}

When I use this code I always get an ObjectError message. I don't know where or what's the problem with the code. Can anyone help me?
AnswerRe: Retrieving data from an access database and show it to the user. Pin
Eddy Vluggen14-Oct-10 6:45
professionalEddy Vluggen14-Oct-10 6:45 
AnswerRe: Retrieving data from an access database and show it to the user. Pin
Sanket898924-Oct-10 8:24
Sanket898924-Oct-10 8:24 
AnswerRe: Retrieving data from an access database and show it to the user. Pin
V.25-Oct-10 4:15
professionalV.25-Oct-10 4:15 
QuestionMove items up and down in listBox Pin
Member 32222648-Oct-10 4:55
Member 32222648-Oct-10 4:55 
AnswerRe: Move items up and down in listBox Pin
Not Active8-Oct-10 5:27
mentorNot Active8-Oct-10 5:27 
Questionmathematics tables Pin
yumss5-Oct-10 9:05
yumss5-Oct-10 9:05 
AnswerRe: mathematics tables PinPopular
NeverHeardOfMe5-Oct-10 9:25
NeverHeardOfMe5-Oct-10 9:25 
AnswerRe: mathematics tables Pin
PavanPabolu10-Oct-10 19:22
PavanPabolu10-Oct-10 19:22 
AnswerRe: mathematics tables Pin
PavanPabolu10-Oct-10 19:24
PavanPabolu10-Oct-10 19:24 
AnswerRe: mathematics tables Pin
PavanPabolu10-Oct-10 19:25
PavanPabolu10-Oct-10 19:25 
Questionstring testing fails Pin
SummerBulb4-Oct-10 21:51
SummerBulb4-Oct-10 21:51 
AnswerRe: string testing fails Pin
NeverHeardOfMe4-Oct-10 22:41
NeverHeardOfMe4-Oct-10 22:41 
AnswerRe: string testing fails Pin
moocr.com1-Nov-10 15:55
moocr.com1-Nov-10 15:55 
Questionreloading pages from other windows Pin
Aptiva Dave4-Oct-10 10:09
Aptiva Dave4-Oct-10 10:09 
AnswerRe: reloading pages from other windows Pin
Karthik. A4-Oct-10 10:16
Karthik. A4-Oct-10 10:16 
GeneralRe: reloading pages from other windows Pin
Aptiva Dave4-Oct-10 10:19
Aptiva Dave4-Oct-10 10:19 
GeneralRe: reloading pages from other windows Pin
Karthik. A4-Oct-10 10:41
Karthik. A4-Oct-10 10:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.