+ Reply to Thread
Results 1 to 7 of 7

Thread: tag is not displaying in vb

  1. #1
    Barn Enthusiast guddu is on a distinguished road guddu's Avatar
    Join Date
    Jul 2008
    Location
    Oxford UK
    Posts
    471
    Rep Power
    4

    tag is not displaying in vb

    hi
    through my stored procedure i m returning such a string
    Code:
     SET @vsResult = 'SUPPLIER CODE / ' + ISNULL(CONVERT(VARCHAR,@vnSupplierID),'<BLANK>') 
     SET @vsResult = @vsResult + ' ' + 'PRODUCT CODE / ' + ISNULL(CONVERT(VARCHAR,@vsProductCode),'<BLANK>')
     SET @vsResult = @vsResult + ' ' +'GL CATEGORY CODES / ' + ISNULL(CONVERT(VARCHAR,@vsGLCategoryCode),'<BLANK>') 
     SET @vsResult = @vsResult + ' ' + 'RESULT: '
    
    in my procedure its returning string as i expected.but problem is in my vb it does not showing <BLANK> TAG.
    Code:
    With mobjDatabaseReader
                        .SPRun msMsgStoreConnection, _
                        SP_BULKIMPORT_PRODUCTGLCATEGORYDATA, _
                        .MakeParameter("@vnMemberID", adtInteger, apdParamInput, , vlSender), _
                        .MakeParameter("@vnSupplierID", adtInteger, apdParamInput, , asLineCols(lCount, 0)), _
                        .MakeParameter("@vsProductCode", adtVarChar, apdParamInput, 50, asLineCols(lCount, 1)), _
                        .MakeParameter("@vnIsStock", adtInteger, apdParamInput, , IIf(asLineCols(lCount, 2) = "Y", 1, 0)), _
                        .MakeParameter("@vsGLCategoryCode", adtVarChar, apdParamInput, 1000, asLineCols(lCount, 3)), _
                        .MakeParameter("@rsResult", adtVarChar, apdParamOutput, 1000), _
                         vsResult
                    End With
    
    what could be problem.
    thanks
    Love is physical attraction and mental destruction

  2. #2
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    How are you displaying it in VB?
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  3. #3
    Barn Enthusiast guddu is on a distinguished road guddu's Avatar
    Join Date
    Jul 2008
    Location
    Oxford UK
    Posts
    471
    Rep Power
    4

    like this
    vsAllResults = vsAllResults & vsResult & vbNewLine
    Love is physical attraction and mental destruction

  4. #4
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Okay, but how is it output to the user? popup box? Is it assigned to a Visual Basic form value? Is this being used in conjunction with ASP?

    What happens if you replace '<blank>' in your stored procedure with 'testing'?
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  5. #5
    Barn Enthusiast guddu is on a distinguished road guddu's Avatar
    Join Date
    Jul 2008
    Location
    Oxford UK
    Posts
    471
    Rep Power
    4

    this output goes to in a txt file.and let me check for this
    What happens if you replace '<blank>' in your stored procedure with 'testing'?
    Love is physical attraction and mental destruction

  6. #6
    Barn Enthusiast guddu is on a distinguished road guddu's Avatar
    Join Date
    Jul 2008
    Location
    Oxford UK
    Posts
    471
    Rep Power
    4

    yeah JMH u are rite
    What happens if you replace '<blank>' in your stored procedure with 'testing'?

    i chnaged <blank> with 'testing' but even testing also not getting.but in analyzer i m getting.what the hail going on?

    Any idea?
    thanks
    Love is physical attraction and mental destruction

  7. #7
    Barn Enthusiast guddu is on a distinguished road guddu's Avatar
    Join Date
    Jul 2008
    Location
    Oxford UK
    Posts
    471
    Rep Power
    4

    guys gotted now.actaully from my dll i was passing blank and in my procedure checking for null.
    now changed in vb blank to null.

    JMH thanks a lot
    Love is physical attraction and mental destruction

+ Reply to Thread

Similar Threads

  1. Webchart Control not displaying in Firefox
    By richyrich in forum .NET Development
    Replies: 1
    Last Post: June 2nd, 2008, 02:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO