Click here to Skip to main content
16,006,013 members
Home / Discussions / Database
   

Database

 
GeneralRe: ADO Version Pin
Anders Molin22-Jun-01 3:12
professionalAnders Molin22-Jun-01 3:12 
QuestionHow to write a template? Pin
13-Jun-01 3:39
suss13-Jun-01 3:39 
AnswerRe: How to write a template? Pin
CodeGuy14-Jun-01 1:49
CodeGuy14-Jun-01 1:49 
GeneralOracle Books Pin
Michael P Butler11-Jun-01 1:25
Michael P Butler11-Jun-01 1:25 
GeneralOracle question Pin
Michael P Butler8-Jun-01 5:35
Michael P Butler8-Jun-01 5:35 
GeneralHElp! Database Question Pin
Ryan Baillargeon7-Jun-01 6:50
Ryan Baillargeon7-Jun-01 6:50 
GeneralRe: HElp! Database Question Pin
CodeGuy11-Jun-01 11:03
CodeGuy11-Jun-01 11:03 
GeneralConfused: Huge Problem! Short in time! ASP record Pin
6-Jun-01 3:29
suss6-Jun-01 3:29 
I Have a huge problem!
I want to show the records from a database with the following code. Behind the statement Where
should be a code that alows me to do the following:

Select * From 'tablename' Where ' The time is 8 ours later then the current time.'
for example: If there is a record in de column Begin_datum with this value: 06-06-2001 20:00 and the current time is 06-06-2001 12:00, then it must be shown on the homepage. It also has to stay shown until it has been deleted.

Who can make this work! I have done a lot of different codes, but nothing works. Getdate did not work. I hve put the code with this message. I hope that somebody can make it work.

Greetings

<%

Set Con = Server.CreateObject( "ADODB.Connection" )
Con.Open "accessDSN"
Set RS = Server.CreateObject( "ADODB.Recordset" )
RS.ActiveConnection = Con
sqlString = "SELECT * FROM Products Where "
RS.open sqlString

%>

<% Do While Not RS.EOF %>
<%= RS( "Begin_datum" )%>
<%
RS.MoveNext
Loop
RS.Close
%>Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused:

JP
GeneralConvert Excel files into html easily!! Pin
5-Jun-01 22:05
suss5-Jun-01 22:05 
GeneralRe: Convert Excel files into html easily!! Pin
5-Jun-01 22:13
suss5-Jun-01 22:13 
GeneralShowing Records on date!! Holland!! Pin
4-Jun-01 22:12
suss4-Jun-01 22:12 
GeneralRe: Showing Records on date!! Holland!! Pin
AndyG5-Jun-01 16:49
AndyG5-Jun-01 16:49 
QuestionADO and VC++. Which approach? Pin
Chrysoval4-Jun-01 8:53
Chrysoval4-Jun-01 8:53 
AnswerRe: ADO and VC++. Which approach? Pin
CodeGuy4-Jun-01 9:16
CodeGuy4-Jun-01 9:16 
GeneralWITH ENCRYPTION Pin
31-May-01 6:24
suss31-May-01 6:24 
GeneralHuge PROBLEM !!! Can't import data from text file Pin
31-May-01 6:23
suss31-May-01 6:23 
GeneralADO and OLE DB provider Pin
30-May-01 4:58
suss30-May-01 4:58 
GeneralAdd Column in DataGRid Control???URGENT!!!! Pin
29-May-01 22:05
suss29-May-01 22:05 
GeneralRe: Add Column in DataGRid Control???URGENT!!!! Pin
CodeGuy18-Jun-01 16:10
CodeGuy18-Jun-01 16:10 
GeneralCreating Database Programmitically - Urgent plz Pin
Dhanush25-May-01 2:43
professionalDhanush25-May-01 2:43 
GeneralRe: Creating Database Programmitically - Urgent plz Pin
30-May-01 5:01
suss30-May-01 5:01 
Generalcannot use _RecordsetPtr when importing msado15.dl Pin
Bartek25-May-01 2:07
Bartek25-May-01 2:07 
GeneralRe: cannot use _RecordsetPtr when importing msado15.dl Pin
Robert Dickenson26-May-01 16:51
Robert Dickenson26-May-01 16:51 
Generalreal ****er of an SQL query Pin
Nick Blumhardt24-May-01 20:45
Nick Blumhardt24-May-01 20:45 
GeneralTEMP TABLES!!!! :) :)) Pin
Nick Blumhardt24-May-01 21:17
Nick Blumhardt24-May-01 21:17 

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.