Forum Replies Created

Viewing 15 posts - 151 through 165 (of 244 total)

  • RE: Creating a Cross Server View

    I haven't worked with SS2005, but it does make sense that SS2K will not be as capable of linking up with SS2005 as vice versa, so I'm glad you've managed...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Creating a Cross Server View

    Where is the reference to Transactions coming from in the error message? Are you by any chance using Transactions?


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: IF or CASE Condition in JOIN Clause

    Thanks Jacob, works like a charm!


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: IF or CASE Condition in JOIN Clause

    Ramesh, thanks for grasping the idea so fast, I am grateful.

    The idea is a Hall Reservation will be JOINed with "<=" and a Room Reservation with "<" only.

    I adapted your...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: IF or CASE Condition in JOIN Clause

    I have indicated the line where I want the dynamic join, unfortunately the colour coding is not coming out correctly. It is at the first JOIN on D to RT.


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Passing Date Parameter to Sproc From VB6 via Crystal Reports

    VAIYDEYANATHAN.V.S (10/23/2007)


    try this link with the samples.

    http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/

    Thanks, I took a look at it; it is good but not of immediate use for me for this issue.


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Passing Date Parameter to Sproc From VB6 via Crystal Reports

    Kenneth Wilhelmsson (10/23/2007)


    Why not use the and and only unambigous, language and datesetting independent format we have?

    'SSYYMMDD'

    ..should work with any SQL Server anywhere in the world.

    /Kenneth

    I tried all possible date...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Return a Table from a Stored Procedure

    I fixed it somehow; I don't know why CR was displaying the parameters in an order different from the one required by sproc, so I reordered them.

    Thanks to all.


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Return a Table from a Stored Procedure

    Hi, guys, sorry to bother you again but I need help from any Crystal Reports pros here. What is the proper format to pass date values to DateTime variables in...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Return a Table from a Stored Procedure

    Thanks, Luebbers, you've all been a great help.

    I don't think I need to use the perm tables to hold my temp data anymore if I can pass the whole recordset...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Return a Table from a Stored Procedure

    As easy as that? Thanks, I'll give it a shot.

    Now, to the slightly tougher part:

    I need to open this sproc's output as a data source for Crystal Reports' how can...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Return a Table from a Stored Procedure

    One of my sprocs that populates a DB table:

    CREATE PROCEDURE [dbo].[sp_DAILYMOVEMENTS] @MyDate DateTime AS

    DELETE MOVEMENT

    INSERT INTO MOVEMENT(TODAY, ROOMNAME, ROLLOVER, ARRIVAL, DEPARTURE)

    SELECT @MyDate, Description,

    ...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Tesing for Active Transaction

    Thanks to each of you; now, if I use this in VB6 simply as it is, will it work?:

    Cnn.Execute "If @@trancount > 0 RollBack"

    (where 'cnn' is my ADO Connection)


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Return a Table from a Stored Procedure

    [Quote]Set RS=Server.CreateObject("Adodb.Recprdset")

    RS.ActiveConnection="Some connection to a database"

    Sql = "Select Id, Name From Users Where Name like '%Smi%'

    Set RS=RS.Open SQL

    If Not RS.Eof Then

    While Not Rs.Eof

    Response.Write("Id =" & RS("Id") & " - ")

    Response.Write("Name...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

  • RE: Return a Table from a Stored Procedure

    Thanks, pal, but what I meant was how do I retrieve the temp table returned by the sproc into my vb code? How do I get a handle on it...


    Regards,

    goodguy

    Experience is a bad teacher whose exams precede its lessons

Viewing 15 posts - 151 through 165 (of 244 total)