navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

ActiveX Date Time Picker Control

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> ActiveX Date Time Picker Control
Page: [1]
 
Felix

 

Posts: 112
Joined: 3/23/2002
From: United Kingdom
Status: offline

 
ActiveX Date Time Picker Control - 6/10/2003 14:34:20   
Could anyone tell me how to post the date that is selected from the ActiveX Date Time Picker Control Component into a date field in a database.

Many thanks
D_2

 

Posts: 12
Joined: 3/7/2003
From: Indianapolis Indiana
Status: offline

 
RE: ActiveX Date Time Picker Control - 6/11/2003 16:03:30   
<script LANGUAGE=" VBScript" FOR=" Calendar1" EVENT=" Click" >
document.form1.FIELD_NAME.value = document.form1.Calendar1.value
</script>

_____________________________


(in reply to Felix)
DeathrayLabs

 

Posts: 1
Joined: 11/26/2003
Status: offline

 
RE: ActiveX Date Time Picker Control - 11/26/2003 4:24:01   
I am not a programmer - I am trying to do the same with no luck 800 attempts according to autonumber... Help? I can't seem to get the Calendar1 values into my access database.

<script language="VBScript">
Sub OnBtnClick()
form1.Year = form1.Calendar1.Year
End Sub
</script>

<html>
<head>
</head>
<body>

<p>
<object classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02" id="Calendar1" width="288" height="192">
<param name="_Version" value="524288">
<param name="_ExtentX" value="7620">
<param name="_ExtentY" value="5080">
<param name="_StockProps" value="1">
<param name="BackColor" value="-2147483633">
<param name="Year" value="<%=FP_FieldVal(fp_rs,"Year")%>" valuetype="object">
<param name="Month" value="<%=FP_FieldVal(fp_rs,"Month")%>" valuetype="object">
<param name="Day" value="<%=FP_FieldVal(fp_rs,"Day")%>" valuetype="object">
<param name="DayLength" value="1">
<param name="MonthLength" value="2">
<param name="DayFontColor" value="0">
<param name="FirstDay" value="1">
<param name="GridCellEffect" value="1">
<param name="GridFontColor" value="10485760">
<param name="GridLinesColor" value="-2147483632">
<param name="ShowDateSelectors" value="-1">
<param name="ShowDays" value="-1">
<param name="ShowHorizontalGrid" value="-1">
<param name="ShowTitle" value="-1">
<param name="ShowVerticalGrid" value="-1">
<param name="TitleFontColor" value="10485760">
<param name="ValueIsNull" value="0">
</object>
</p>

<form method="POST" action="t.asp" name="form1" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveDatabase" SuggestedExt="asp" S-DataConnection="t"
S-RecordSource="Results" U-Database-URL="../fpdb/t.mdb" startspan U-ASP-Include-Url="../_fpclass/fpdbform.inc" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--#include file="../_fpclass/fpdbform.inc"--><!--webbot bot="SaveDatabase" endspan i-checksum="34604" --><p>
<input type="submit" value="Submit" name="B1" OnClick="OnBtnClick"


</form><input type="text" name="Year" size="20" value="Year">
</form>
<p><a href="u.asp">u.asp</a></p>

</body>

(in reply to D_2)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> ActiveX Date Time Picker Control
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts