Multimedia
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignMultimedia

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 5th, 2004, 06:20 PM
aspnewbee aspnewbee is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 19 aspnewbee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 48 sec
Reputation Power: 0
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)
%>
 

Reply With Quote
  #2  
Old July 6th, 2004, 07:25 PM
EnenDaveyBoy's Avatar
EnenDaveyBoy EnenDaveyBoy is offline
Apprentice
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Sep 2003
Location: Manchester, England
Posts: 1,510 EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 20 h 42 m
Reputation Power: 51
Send a message via ICQ to EnenDaveyBoy Send a message via AIM to EnenDaveyBoy Send a message via MSN to EnenDaveyBoy Send a message via Yahoo to EnenDaveyBoy
does it work on a normal form without the flash interface?
__________________
Around a circle you can always draw a bigger circle.

EnenDaveyBoy

Reply With Quote
  #3  
Old July 17th, 2004, 11:20 AM
aspnewbee aspnewbee is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 19 aspnewbee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 48 sec
Reputation Power: 0
Hi EnenDaveyBoyI figured it out.... the otherday... it works fine now... thanks for asking though.

A.

Reply With Quote
  #4  
Old July 17th, 2004, 11:22 AM
EnenDaveyBoy's Avatar
EnenDaveyBoy EnenDaveyBoy is offline
Apprentice
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Sep 2003
Location: Manchester, England
Posts: 1,510 EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level)EnenDaveyBoy User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 20 h 42 m
Reputation Power: 51
Send a message via ICQ to EnenDaveyBoy Send a message via AIM to EnenDaveyBoy Send a message via MSN to EnenDaveyBoy Send a message via Yahoo to EnenDaveyBoy
np glad you sorted it

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignMultimedia > FLASH creating form help....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek