POSTING TIPS - Code, Diagrams, Hyperlinks, Details

When you're posting a question - please search the forum first!  If that fails, and you wish to include T-SQL, C#, or VB code in your post, see below.  If you want to show us a database diagram you see on your screen (pictures are worth a
thousand words), see below! Check that a URL does not stay black/gray indicating an inactive hyperlink. All URL references should be blue and clickable.  Moderators, please add any other tips you may have.
Including T-SQL, C#, VB.Net Source Code
(Thanks to Phil Brammer & Kalman Toth for this tip)
When you are composing a post and you wish to paste code, please don't directly paste it into the post, instead paste it into the code block editor.  It will preserve formatting for you, which makes it easier for us to read it and help you with your issue.
Examples follow...
Not using the code block editor:
select
text, *
from sys.dm_exec_cached_plans
cross apply sys.dm_exec_sql_text(plan_handle)
Using the code block editor (and with the same copy-n-paste buffer):
select
text, *
from sys.dm_exec_cached_plans
cross apply sys.dm_exec_sql_text(plan_handle)
Including Images
Using the Editor:
(Thanks to Kalman Toth for these instructions)
Use the Forum Editor method to Insert Image:
1. Save the image to disk or copy the image URL
2. Use the Insert Image (right most) icon to upload the image
Make sure the URL hyperlink is active:
The forum post editor automatically hyperlinks a typed URL in IE. But not all browsers do it.
Use the chain link icon to hyperlink an inactive URL, title or reference.
Using HTML:
(Thanks to Todd McDermid & Ed Price for this tip)
Copy your screen to the clipboard (ALT-PRTSCN) (alternatively, some image editors can do screen captures)
Paste it in your favourite image editor
Upload it to a free image hosting site like Flickr,
ImageShack, ...
Create your post, then press the "HTML" button on the post toolbar.  This will open another browser window with HTML in it.
Find the spot where you want the image, and add a standard IMG element, pasting in the URL to your image, like this:
< img src="http://your.url.here/your_image_filename_here">
Press the Update button.
The Volunteer Moderators and Answerers who support the Microsoft MSDN SQL Server Forums have created a Wiki to present Solutions to Common T-SQL Problems.
(Thanks to Arnie Rowland  for this tip)
Check here to see if there is a suggestion that can guide you to a solution for your problem.
http://code.msdn.microsoft.com/SQLExamples
If you find that the Wiki provided you with useful information, please let us know by posting a synopsis of your problem and a comment about your successful use of that information.
 “Top Solution Content” blog 
(Thanks to Elvis Long  for this tip)
As part of our efforts to keep our communities informed about the most relevant content that address the top questions that we are getting in out forums and other support channels we want to introduce the new “Top Solution Content” blog (http://blogs.technet.com/b/topsupportsolutions).
In this blog you will find up-to-date and valuable information about Microsoft top support solutions for several of our popular products in the Server and Tools portfolio. You can use the tags (http://blogs.technet.com/b/topsupportsolutions/archive/tags)
to easily locate the product of your preference or visit the home page to see what’s going on for the different Microsoft Enterprise and developer products. As a blog you can also subscribe to post and comments using the RSS feeds.
We hope this will reduce time and effort when you are looking for relevant content. Enjoy it!
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

In CSS, there are five states for links
a:link
a:visited
a:hover
a:active
a:focus
a:link (=unvisited, or never clicked)
a:visited (=clicked at least once)
a:visited is purple in most browsers by default.
Thus, you need to define a:visited in your CSS and it should come after a:link (otherwise you'll never see it)
One solution would be:
a:link, a:visited {
          color: #00F;
but bear in mind that visitors find it handy if a:visited is a different color to a:link so they know which links they've already clicked on.
a:link {
          color: #00F;
a:visIted {
          color: #SOME OTHER COLOR TO A:LINK;
a:hover {
          color: #F00;

Similar Messages

  • POSTING TIPS - Code, Images, Hyperlinks, Details

    When you're posting a question - please search the forum first!  If that fails, and you wish to include T-SQL, C#, or VB code in your post, see below.  If you want to show us what you see on your screen (pictures are worth a thousand words), see
    below! Check that a URL does not stay black/gray indicating an inactive hyperlink. All URL references should be blue and clickable.
    Moderators, please add any other tips you may have.
    Including T-SQL, C#, VB.Net Source Code
    (Thanks to Phil Brammer & Kalman Toth for this tip)
    When you are composing a post and you wish to paste code, please don't directly paste it into the post, instead paste it into the code block editor.  It will preserve formatting for you, which makes it easier for us to read it and help you with your issue.
    Examples follow...
    Not using the code block editor:
    select
    text, *
    from sys.dm_exec_cached_plans
    cross apply sys.dm_exec_sql_text(plan_handle)
    Using the code block editor (and with the same copy-n-paste buffer):
    select
    text, *
    from sys.dm_exec_cached_plans
    cross apply sys.dm_exec_sql_text(plan_handle)
    Including Images
    Using the Editor:
    (Thanks to Kalman Toth for these instructions)
    Use the Forum Editor method to Insert Image:
    1. Save the image to disk or copy the image URL
    2. Use the Insert Image (right most) icon to upload the image
    Make sure the URL hyperlink is active:
    The forum post editor automatically hyperlinks a typed URL in IE. But not all browsers do it.
    Use the chain link icon to hyperlink an inactive URL, title or reference.
    Using HTML:
    (Thanks to Todd McDermid & Ed Price for this tip)
    Copy your screen to the clipboard (ALT-PRTSCN) (alternatively, some image editors can do screen captures)
    Paste it in your favourite image editor
    Upload it to a free image hosting site like Flickr,
    ImageShack, ...
    Create your post, then press the "HTML" button on the post toolbar.  This will open another browser window with HTML in it.
    Find the spot where you want the image, and add a standard IMG element, pasting in the URL to your image, like this:
    < img src="http://your.url.here/your_image_filename_here">
    Press the Update button.
    The Volunteer Moderators and Answerers who support the Microsoft MSDN SQL Server Forums have created a Wiki to present Solutions to Common T-SQL Problems.
    (Thanks to Arnie Rowland  for this tip)
    Check here to see if there is a suggestion that can guide you to a solution for your problem.
    http://code.msdn.microsoft.com/SQLExamples
    If you find that the Wiki provided you with useful information, please let us know by posting a synopsis of your problem and a comment about your successful use of that information.
     “Top Solution Content” blog 
    (Thanks to Elvis Long  for this tip)
    As part of our efforts to keep our communities informed about the most relevant content that address the top questions that we are getting in out forums and other support channels we want to introduce the new “Top Solution Content” blog (http://blogs.technet.com/b/topsupportsolutions).
    In this blog you will find up-to-date and valuable information about Microsoft top support solutions for several of our popular products in the Server and Tools portfolio. You can use the tags (http://blogs.technet.com/b/topsupportsolutions/archive/tags)
    to easily locate the product of your preference or visit the home page to see what’s going on for the different Microsoft Enterprise and developer products. As a blog you can also subscribe to post and comments using the RSS feeds.
    We hope this will reduce time and effort when you are looking for relevant content. Enjoy it!
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

    the SWC thing may be exactly what I need.
    I read that link you gave me and I will definately do a little more research on SWC, even if it's not completely clear how to use them at this particular moment.
    let's say I have an image called MyImage.png which I have setup to export for actionscript on frame 1 and the class is called "MyImage"
    Assume I have the same thing setup in my library for a sound file called "MySound"
    Now, without doing any reading first, I would assume that I would create a new fla file, put those 2 assets in said fla's library and then compile that fla into an swc? And then access thoughs assets in my main project by importing the swc into it? or it is more simple than that?
    Cheers
    Dave

  • PHP Shoutbox : stop users posting php code

    hi guys/girls
    can anyone give me an easy way to stop users on my site
    posting php code into a shoutbox.
    i have a shoutbox made up of a normal html form that posts
    their shouts to a mysql database using php.
    at the moment the only validation i have in place is the
    built in form validation dreamweaver8 has which stops
    users posting a blank post. however a user can post php code
    if they know how, which could cause problems.
    thanks
    ted.

    tedrodgers wrote:
    > i dont see how the highlight file function helps me in
    this case? please explain alittle more.
    That suggestion came from "Pro PHP Security". However,
    looking at the
    PHP manual, it should be highlight_string(), not
    highlight_file().
    http://www.php.net/manual/en/function.highlight-string.php
    How would it help? highlight_string() converts PHP code to
    HTML for
    display purposes. Once converted to HTML, it cannot be
    executed or do
    any harm to your website.
    > and what other validation do you suggest?
    Without knowing the details of your application, it's hard to
    say; but
    just checking that the text area isn't blank is no protection
    at all.
    Attackers could post spam or hot link to pornographic images.
    Two simple
    measures would be to pass the content to strip_tags() and/or
    htmlentities().
    http://www.php.net/manual/en/function.strip-tags.php
    http://www.php.net/manual/en/function.htmlentities.php
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Place/Link to post Sample codes

    This is a suggestion regarding OTN:
    Apart from the tips/ questions adressed in the FAQ,
    it would be nice to include link or some means by which people can post sample codes/tips/workaround.
    We can put them at common place.
    I see large number of repeated postings on this forum. By doing this, apart from benefiting people, it will also
    help in reducing duplicate posting (It will act as a document by itself).
    One way would be:
    For each products, we can have a common place for workarounds/tips/Sample codes.
    People should be able to post the above through this forum.
    The posting should be added after moderating it.
    Thanx,
    Chetan.

    Emilio Corsetti wrote:
    Ben,
    That was the problem. The link is live now and you can see the poorly positioned spry menu in all its glory.
    Thanks,
    Emilio
    http://www.emiliocorsetti.com/publish/two_column.html
    You don't say what you want to change.
    If I were styling your menu I would have it vertically centered in the grey background. By adding the red coloured rule found in layout.css
    #menu (line  61)
    background-image:  url("../Images/Layout/nav_bg.jpg");
    background-repeat: repeat-x;
    background-position:  left top;
    width: 960px;
    height: 40px;
    padding-top: 10px; // or whatever suits
    I would also like to have the menu items spread evenly across the page by applying the style rule found in SpryMenuBarHorizontal.css
    ul.MenuBarHorizontal li
         margin: 0;
         padding: 0;
         list-style-type: none;
         font-size: 100%;
         position: relative;
         cursor: pointer;
         width: 20%; // 5 items X 20% = 100%
         float: left;
    You may have to fiddle a bit more after this to get it exactly the way you want. Just start a new topic because this one has already been answered.
    Happy Sprying.
    Ben

  • While posting T.code VL02N "co object not found " what have to do

    Hi
    Friends..
    while posting T.code VL02N "co object not found " what have to do
    General Ledger related to Co object what i want todo.
    showing error " Co Object not found"
    Thank you.
    Ashok kumar

    Hi
    Assign a cost centre to the cost element of the general ledger account specified.
    Transaction KA02
    another option is got OKB9 and assign cost center to GL account at company code level.
    regards
    Srinivas

  • Posting script code in these forums

    OK, it looks like there are some (new) formatting issues with these forums when people try to post their scripts. I have been using a formatter script that converts the text on the clipboard to HTML and then wraps it in a pre tag, but there still seems to be some issues with certain characters. The following script has worked for me so far (although I don't post that much) - what other scripts or methods work for you?
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">-- script formatter
    property TempFile : "SF_TempFile" -- a temporary work file
    property TheWidth : "width: 720px; " -- a width attribute (deprecated in HTML 4.01)
    try
    set TheClipboard to (the clipboard) as string
    set MyOpenFile to open for access ("/tmp/" & TempFile & ".txt" as POSIX file) with write permission
    set eof of MyOpenFile to 0 -- empty the temp file
    write TheClipboard to MyOpenFile
    close access MyOpenFile
    -- convert to HTML - see man textutil
    do shell script "cd /tmp/; textutil -convert html -excludedelements '(html, head, title, body, p, span, font)' -encoding US-ASCII " & TempFile & ".txt"
    -- strip the first line (<?xml ?>) and add the <pre>...</pre> wrapper
    set TheText to rest of (paragraphs of (read ("/tmp/" & TempFile & ".html" as POSIX file))) as text
    set TheText to "<pre title=\"this text can be pasted into the Script Editor\" style=\"font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; " & TheWidth & "color: #000000; background-color: #E0E0E0; overflow: auto\">" & TheText & "</pre>"
    set the clipboard to TheText
    display dialog ((count TheText) as text) & " characters placed on the clipboard" with title "Script Formatted" buttons {"OK"} default button "OK" giving up after 4
    on error ErrorMessage number ErrorNumber
    display alert "Error " & (ErrorNumber as string) message ErrorMessage as warning buttons {"OK"} default button "OK"
    end try</pre>

    Hello red_menace,
    Indeed a pre-processing code like yours is always an option for us, but from my point of view, the correct solution is for the discussions' admins to disable this meddlesome formatting feature of the new fora software.
    This new feature affects not only new posts but also the existing messages in the fora, that means it has rendered quite a few useful messages totally useless. This is actually serious data loss caused by the thoughtless software. And for what?
    After all, these discussions' boards are not chat rooms where people might want some simple input methods for fancy text formattings, but technical support fora where people frequently post programming codes, computer outputs and so forth that have many reserved symbols and notation.
    I really wish they may fix this promptly.
    Best regards,
    Hiroto

  • Validation in STO: For vendor code in condition detail

    Dear All,
    i kindly request you for  expert advice on this requirement.
    1. User is creating Stock transfer Order ( PO STO MM ). Plant to Plant transfer through MM route
    2. Here user is entering conditions for different expenses
    3. but sometimes user forget to enter vendor code in condition details
    so i want to set validation so user will get error message if he forget to enter vendor code in condition detail.
    Pl. guide me on this
    Thanks
    h shah

    Nothing std I'm aware of. Suggest speak to an ABAPer, they could probably create a Routine for the Condition Type in the Pricing Schema.
    Regards,
    Nick

  • Creative Way to Post Front/Block Diagram in Word Document

    Hello,
    Does anyone have a creative way to post Front/Block Diagram in Word Document in the same calibre as if I used SNAPIT.
    Thanks in advance.

    You can use the report generation VIs (you should have a palette of them) to do this. If you want another way, have a look at the VI posted here.
    Try to take over the world!

  • How to post my code in this Forum under a good format?

    can any one tell me how to post the java resource code in here? when i just copy and paste. the format of the output is not so good, i saw some one posted some code under a very good format in this Forum, how to do that?

    If you want to post code that makes it easier on someone else to cut-n-paste, then put the code inside of the [ pre] and [ pre] tags (no blank space in between). If you want code that looks pretty (i.e., with syntax highlight, etc) but hard to cut-n-paste (at least for someone like me who uses Windows WordPad as a source code editor), put the code inside of the [ code] and [ code] tags (again no spaces in between). pre is an abbreviation for preformatted text!
    ;o)
    V.V.

  • Posting sample code on ESI, JESI, invalidation

    If you want to post sample code for ESI or JESI, I strongly
    encourage you do that in the Community Code Services part of OTN.
    Here's the link: http://otncast.otnxchange.oracle.com/ .
    ESI is listed under the XML Technology section on this page. If
    you're an Oracle employee, you should follow the instructions for
    posting "samplecode". If you're a non-Oracle OTN member, then
    please follow instructions for posting "membercode".
    We'd really like to get this CCS thing going for ESI, so all your
    contributions are welcome.
    Cheers!

    Yes - it is useful

  • Post Screen Code

    Hi Everyone Im having these post screen code during bootup at the bottom right corner of the screen it's 9C, B4, A2,
    can't remember which one comes first because it flashes too fast.
    but my system boots up normaly to windows 8
    Just want to know what do these codes mean?
    any help would be really appreciated
    thanks. 
    my system
    processor:   i7 2600k
    mobo:   z77 mpower
    memory:   gskill 32gb 4x8gb stick running stock 1333mhz
    hd:   2tb seagate
    gpu:   asus gtx 690 (I haven't plug the 6 pin pci-e power connector to board)
    is it required for my gtx 690?
    ps:   thermaltake tr2 900watts

    Hi,
    I see those debug codes too on my Z87 system. I belive those are there, so you dont need to look inside your case.
    For that 6 pin PCI-e i wouldent worry even with two overclocked titans. After third one it might come to my maind to use that.
    You have straigth plugs to your GPU's that plug on motherboard is just to give more staible voltage when all space (PCI-E lains/slots) on board is used with powerhugry cars.
    Edit: Also in many cases you cant hide that 6-pin or what ever it use. So it makes your system also to look unfinished, messy and so ugly..

  • Switch to  HTML5 - Posting to Finance - SRT: HTTP error: ("HTTP Code 401: Unauthorized - Details see in error log of transaction SRTUTIL")

    Hi SAP,
    I've switch my tenant to HTML5 and now the postings are not going through. I've not changed anything in the communication arrangement, I kept everything i had when working in silverlight, but the postings have stop working.
    thank you in advance,
    Teresa Rosa

    Dear Rosa,
    Are you trying to post Expense reports to ERP System and you are getting this error?
    Error Unauthorized (401) generally means the User ID in ERP backend maintained in outbound communication is not valid. Could you please check if the user is valid in ERP with the proper roles and its password is well maintained? If this is well maintained, Check Connection should return Ping Successful.
    Once the ping is successful on communication arrangement "SAP ERP Financials using IDoc"
    Go to work center Postings, Show Posted Reports. Find report & select it. Select the below tab Request a Transfer Restart.
    Please feel free to write to us in case of any further clarification required.
    Sincerely,
    Manasa

  • Pros help needed with post data code

    i needed to change the code below to post the userAnswer from radio button group,  to an ASPX page so i can read the data in and post it to a database. can anyone help. thanks
    btnCheck.addEventListener(MouseEvent.CLICK, checkAnswer);
    function checkAnswer(evt:MouseEvent):void {
    userAnswer = String(rbg.selectedData);
        messageBox.text =  userAnswer + " has been clicked";

    //Create the loader object
    var prodloader:URLLoader = new URLLoader ();
    //Create a URLVariables object to store the details
    var variables: URLVariables = new URLVariables();
    //Createthe URLRequest object to specify the file to be loaded and the method ie post
    var url:String = "url here";
    var prodreq:URLRequest = new URLRequest (url);
    prodreq.method = URLRequestMethod.POST;
    prodreq.data = variables;
    function submitHandler(event:Event):void {
        variables.productId = whatever;
        prodloader.load(prodreq);
        btnSubmit.addEventListener(MouseEvent.CLICK, submitHandler);
        function contentLoaded(event:Event):void {
           //Stuff here
            prodloader.addEventListener(Event.COMPLETE, contentLoaded);

  • How to post reason code/movement type from MM to FI document?

    Have had a request from our Finance guy here that when a movement is posted in MM (eg a scrapping), the reason code and movement type are to go onto the FI document when the movement is posted to the GL accounts. These values are to be viewed from FBL3N.
    He thinks it might need to be done with substitutions but I have had no experience in this area and he has no idea how to go about it. I have extended the COBL structure using OKX3 which has put the field into BSEG but have no idea how to go about doing the substitution or which exit to use. Inaddition in SAP standard, MSEG passes the movememnt type tyo COBL field BWART but then this seems to get voided.
    Can anyone help me?
    Regards
    Larissa Maryniuk

    Hi Larissa,
    Please go through with this below link. You can easily understand about Substitutions.
    http://techbays.files.wordpress.com/2008/08/sap-tip-how-to-use-substitutions-lakshman-tandra1.pdf
    Best Regards,
    Mohan.

  • Trasaction code for invoices detail which has hit the WBS element

    Hi All
    Usually my users receive a list of assets which were capitalized from AUC account through Project system.
    Generally charges are posted to WBS element and then users capitalize assets using that WBS element through settlement.
    Users have been asked to give all the invoices detail which has hit the WBS element from which that particular assets have been capitalized. is there any transaction code to get the all invoices detail which has hit the WBS element from that particular assets.
    thank you

    If that is what you want then why are you using WBS element?
    You can directly create the asset on goods receipt via MM module and then the invoice will automatically go against that asset.
    If you still want to use the WBS element for capitalisation then you can use the WBS element statistically with a type 90 cost element posting and the sset will still be crteated when goods receipted/ invopice receipted

Maybe you are looking for