Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
form Get method from access database with auto refresh
Old 09-25-2003, 01:06 PM form Get method from access database with auto refresh
Junior Talker

Posts: 2
Trades: 0
Hi,
I know how to auto refresh with the meta tag, but will it do it on a page that is not reloading, but just sitting there. Will the page refresh by itself every 10 seconds

Secondly, I want to get info from an access database using the get method...

HELP...

I've tried asp, but it seems like the dns is not opening..
__________________
Thanks
Rica
fredericaf is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-25-2003, 04:22 PM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
Auto refresh should work if you keep calling the same page over and over again. Don't set the value for the refresh too low, though, or else you will get very high data transfer and users on slower modems will never get to see the page.
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Old 09-29-2003, 11:56 AM GET OR POST (FORM) Access database
Junior Talker

Posts: 2
Trades: 0
I'm trying to post info to a database and get.. but my connection is not working.. Can you tell me if something is wrong with my asp? This is the post

<script LANGUAGE="VBScript" RUNAT="Server">

FUNCTION CheckString (s, endchar)
pos = InStr(s, "'")
While pos > 0
s = Mid(s, 1, pos) & "'" & Mid(s, pos + 1)
pos = InStr(pos + 2, s, "'")
Wend
CheckString="'" & s & "'" & endchar
END FUNCTION

</script>
<%
Action = Left(UCase(Request("Action")),6)
step1 = Request.form("step1")
step2 = Request.form("step2")
step3 = Request.form("step3")
step4 = Request.form("step4")
step5 = Request.form("step5")
If Action = "SUBMIT" Then
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "sept2003"
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open "sept2003",Conn,3,3
RS.AddNEW
RS("step1")=step1
RS("step2")=step2
RS("step3")=step3
RS("step4")=step4
RS("step5")=step5
RS.Update
RS.Close
Conn.Close
Response.Redirect "thanks.html"
' ElseIf Action ="Reset" Then
' Response.Redirect "ticrinputform.html"
End If
%>
__________________
Thanks
Rica
fredericaf is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to form Get method from access database with auto refresh
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.38793 seconds with 12 queries