Click here to Skip to main content
15,887,746 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Need to modify script Pin
SABhatti19-Nov-07 9:48
SABhatti19-Nov-07 9:48 
GeneralRe: Need to modify script Pin
JJB200719-Nov-07 11:07
JJB200719-Nov-07 11:07 
Questionpassing value from close event of window Pin
tonymathewt19-Nov-07 1:42
professionaltonymathewt19-Nov-07 1:42 
AnswerRe: passing value from close event of window Pin
Sandeep Kumar19-Nov-07 4:43
Sandeep Kumar19-Nov-07 4:43 
GeneralRe: passing value from close event of window Pin
tonymathewt19-Nov-07 19:52
professionaltonymathewt19-Nov-07 19:52 
AnswerRe: passing value from close event of window Pin
Michael Sync19-Nov-07 4:52
Michael Sync19-Nov-07 4:52 
GeneralRe: passing value from close event of window Pin
tonymathewt19-Nov-07 19:51
professionaltonymathewt19-Nov-07 19:51 
QuestionPlease help: Flash MX Mail Form with Combo Box issue Pin
Flash4You17-Nov-07 15:21
Flash4You17-Nov-07 15:21 
Hi All,

I created a contact list that has the following items:

FirstName, LastName, PhoneNumber, Email, Comments using Text Var.

Gender (M, F) is combo box. When i clicked Submit, the Text Var fields sent to the MS Access database via ASP OK however, the Gender which is the combo box item does not send anything. Can someone please help me to define a combo box that will allow the item to be sent? Can someone please help to make sure I defined the Gender component and .ASP (Gender part) correctly? Thanks for your help.

Gender Component: Labels [Male, Female}

onClipEvent(data) {
function GenderDisplay (){
Gender_result = Gender.getSelectedItem().label;
selectedItem = Gender.getSelectedIndex();
}
}

Below is my .ASP file as well. Thanks for your help.

<%

FirstName = Request.Form("wFirstName")
LastName = Request.Form("wLastName")
PhoneNumber = Request.Form("wPhoneNumber")
Email = Request.Form("wEmail")

Gender = Request.Form("Gender")

Comments = Request.Form("wComments")

set conn = server.createobject("adodb.connection")
DSNtemp="DRIVER={Microsoft Access Driver (*.mdb)}; "
DSNtemp=dsntemp & "DBQ=" & server.mappath("AddContacts.mdb")
conn.Open DSNtemp
set RS = Server.CreateObject("ADODB.Recordset")

'response.Write Firstname & " - " & Lastname & " " & PhoneNumber & " " & Email & " " & Gender & " " & Comments
'response.End


'FirstName = "true"
'LastName = "true"
'PhoneNumber = "true"
'Email = "true"
'Gender = "true"
'Comments = "true"

SQLstmt = "INSERT INTO Contacts (FirstName,LastName,PhoneNumber,Email,Gender,Comments)"
SQLstmt = SQLstmt & " VALUES ("
SQLstmt = SQLstmt & "'" & FirstName & "',"
SQLstmt = SQLstmt & "'" & LastName & "',"
SQLstmt = SQLstmt & "'" & PhoneNumber & "',"
SQLstmt = SQLstmt & "'" & Email & "',"
SQLstmt = SQLstmt & "'" & Gender & "',"
SQLstmt = SQLstmt & "'" & Comments & "'"
SQLstmt = SQLstmt & ")"
'response.Write SQLstmt
'response.End

RS.Open SQLstmt,conn

Conn.Close

set conn = nothing
set RS = Nothing
response.write("Record is registrated. Please close this windows")
%>
QuestionPoint me in the right direction - Browser Plugins Pin
Mundo Cani16-Nov-07 7:07
Mundo Cani16-Nov-07 7:07 
AnswerRe: Point me in the right direction - Browser Plugins Pin
Michael Sync17-Nov-07 5:54
Michael Sync17-Nov-07 5:54 
GeneralRe: Point me in the right direction - Browser Plugins Pin
Mundo Cani19-Nov-07 7:49
Mundo Cani19-Nov-07 7:49 
QuestionBack button will refresh page, it shouldn't be Pin
hifiger200416-Nov-07 3:36
hifiger200416-Nov-07 3:36 
AnswerRe: Back button will refresh page, it shouldn't be Pin
Shog917-Nov-07 9:24
sitebuilderShog917-Nov-07 9:24 
AnswerRe: Back button will refresh page, it shouldn't be Pin
hifiger200420-Nov-07 2:11
hifiger200420-Nov-07 2:11 
GeneralRe: Back button will refresh page, it shouldn't be Pin
sandhya1419-Dec-07 0:47
sandhya1419-Dec-07 0:47 
QuestionSearch Engines for Dynamically Created Data Pin
Brendan Vogt16-Nov-07 2:25
Brendan Vogt16-Nov-07 2:25 
AnswerRe: Search Engines for Dynamically Created Data Pin
Michael Sync17-Nov-07 5:32
Michael Sync17-Nov-07 5:32 
QuestionRe: Search Engines for Dynamically Created Data Pin
Brendan Vogt17-Nov-07 6:15
Brendan Vogt17-Nov-07 6:15 
AnswerRe: Search Engines for Dynamically Created Data [modified] Pin
Michael Sync17-Nov-07 18:32
Michael Sync17-Nov-07 18:32 
QuestionRe: Search Engines for Dynamically Created Data Pin
Brendan Vogt17-Nov-07 6:19
Brendan Vogt17-Nov-07 6:19 
AnswerRe: Search Engines for Dynamically Created Data Pin
Michael Sync17-Nov-07 18:36
Michael Sync17-Nov-07 18:36 
QuestionAny ideas on making a order transaction Pin
tgreeny16-Nov-07 2:18
tgreeny16-Nov-07 2:18 
AnswerRe: Any ideas on making a order transaction Pin
Michael Sync17-Nov-07 5:24
Michael Sync17-Nov-07 5:24 
AnswerRe: Any ideas on making a order transaction Pin
shakirhussain18-Nov-07 20:49
shakirhussain18-Nov-07 20:49 
Questionupdate the news in my webpage Pin
srinivas43115-Nov-07 15:43
srinivas43115-Nov-07 15:43 

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.