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

Database

 
QuestionLinked Server in MSDE? Pin
-Dr_X-28-Apr-05 3:29
-Dr_X-28-Apr-05 3:29 
Generalasp.net sessions Pin
Anonymous27-Apr-05 21:08
Anonymous27-Apr-05 21:08 
GeneralRe: asp.net sessions Pin
Colin Angus Mackay27-Apr-05 22:37
Colin Angus Mackay27-Apr-05 22:37 
GeneralRe: asp.net sessions Pin
mansir 1231-May-05 19:18
mansir 1231-May-05 19:18 
GeneralASP.NET Pin
panchal198327-Apr-05 19:46
panchal198327-Apr-05 19:46 
GeneralRe: ASP.NET Pin
Colin Angus Mackay27-Apr-05 20:40
Colin Angus Mackay27-Apr-05 20:40 
GeneralUnauthorized access of our Data Access Layer Pin
Anonymous27-Apr-05 15:22
Anonymous27-Apr-05 15:22 
GeneralQuery string and regular select statement - NEED HELP! Pin
Anonymous27-Apr-05 9:41
Anonymous27-Apr-05 9:41 
Hello,

I have been trying to figure out how to get some additional information into a
report on an ASP page but I am stuck. The report asks the user for a date
range. There is also a field to input the UserID to narrow down the search.
So if I would like a report on information for the previous month I would just
input the dates. If I just wanted the report for the particular UserID then I
would add info to that field.

What I am trying to do is modify the record set so that the report will display
another column in a different tables within the database. I have not been
successful yet. I am not sure how to go about this since the recordset is using
a string, not a SELECT statement.

Here is the select statement:

'Prepare and open recordset
GetConn dbconn
Set rs = server.createobject("adodb.recordset")
rs.activeconnection=dbconn
rs.source = strSP
rs.open

If I change the source from strSP(the string) to a normal join statement for
the two tables then the information on the page is not correct. Is there any
way to combine the string and a select statement?

I've searched all over the internet and books for examples but I have not found
any. If anybody has any ideas let me know.

Thank You!

GeneralRe: Query string and regular select statement - NEED HELP! Pin
Anonymous27-Apr-05 14:10
Anonymous27-Apr-05 14:10 
GeneralCryptoAcquire Failed error Pin
GouriGari RameshReddy27-Apr-05 5:43
GouriGari RameshReddy27-Apr-05 5:43 
GeneralProblem with oracle session Pin
yyf27-Apr-05 4:34
yyf27-Apr-05 4:34 
GeneralIStream object string length error Pin
mjharvey26-Apr-05 12:07
mjharvey26-Apr-05 12:07 
GeneralRe: IStream object string length error Pin
mjharvey27-Apr-05 16:44
mjharvey27-Apr-05 16:44 
GeneralView child records in datagrid Pin
Reinier Beeckman26-Apr-05 3:48
Reinier Beeckman26-Apr-05 3:48 
GeneralRe: View child records in datagrid Pin
NewSilence26-Apr-05 6:35
NewSilence26-Apr-05 6:35 
GeneralVS.NET and Stored Proceedures Pin
Jerry Hammond25-Apr-05 15:20
Jerry Hammond25-Apr-05 15:20 
GeneralRe: VS.NET and Stored Proceedures Pin
Illegal Operation25-Apr-05 21:31
Illegal Operation25-Apr-05 21:31 
GeneralRe: VS.NET and Stored Proceedures Pin
Jerry Hammond26-Apr-05 5:18
Jerry Hammond26-Apr-05 5:18 
GeneralOpen two tables in one form Pin
msnick25-Apr-05 14:53
msnick25-Apr-05 14:53 
GeneralSQL Server authentication problem Pin
JT Anderson25-Apr-05 12:29
JT Anderson25-Apr-05 12:29 
GeneralRe: SQL Server authentication problem Pin
Albert Pascual26-Apr-05 6:25
sitebuilderAlbert Pascual26-Apr-05 6:25 
GeneralFormat int in select statement Pin
theol25-Apr-05 10:16
theol25-Apr-05 10:16 
GeneralRe: Format int in select statement Pin
Michael Potter27-Apr-05 3:08
Michael Potter27-Apr-05 3:08 
Generalview table from access database Pin
rana1838425-Apr-05 6:42
rana1838425-Apr-05 6:42 
GeneralRe: view table from access database Pin
ZHEKE4-May-05 18:01
sussZHEKE4-May-05 18:01 

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.