| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
FLASH creating form help....
Hi... I'm making a simple flash to asp page... where I want to submit data to a DB from Flash.
I created both but when I click the submit button... the data that I'm entering into the text field doesn't get stored in the DB. But the autonumber is being incremented everytime. Can any one help me with this please? Here is the action script and the asp code. ACTION SCRIPT Code:
on(press){
getURL("http://localhost/test/collegeForm.asp","post");
}
ASP CODE Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
strColleges = Request.Form("colleges")
'Response.Write(strMajor) & "<br>"
'Response.Write(strColleges) & "<br>"
MyPath=Server.MapPath("uginfo.mdb")
Set Conn = Server.CreateObject("ADODB.Connection")
conn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
"DBQ=" & MyPath
SQL = "INSERT INTO collegeInfo (colleges) VALUES('"&strColleges&"')"
'Response.Write(SQL)
conn.Execute(SQL)
%>
|
|
#2
|
||||
|
||||
|
does it work on a normal form without the flash interface?
__________________
Around a circle you can always draw a bigger circle. EnenDaveyBoy |
|
#3
|
|||
|
|||
|
Hi EnenDaveyBoyI figured it out.... the otherday... it works fine now... thanks for asking though.
A. |
|
#4
|
||||
|
||||
|
np glad you sorted it
|
![]() |
| Viewing: ASP Free Forums > Web Design > Multimedia > FLASH creating form help.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|