Crystal report displays only a part of a field

I created a Crystal report based on a BW Query. The user enter a comment about a sales order in SAP. This field has only a key but no text in BW.
So the text is the key. The whole comment can be seen when I run the query with Bex Analyzer. The key is displayed on the report.
However Crystal report cuts the length of this field although I use the key in the Crystal report as well. Only 143 characters can be seen.
I adjusted the font or can grow option of the field but it doesn't work.
I tried this formula as well but it did not work.
Stringvar s1:={field} [1 to 100];
Stringvar s2:={field} [102 to 200];
S1&s2;
Can somebody help me about this issue?
I will be very thankful.
Deniz

That would be CR 2013, Service Pack 2. CR 2013 is now on SP 5 and it would be good to update to that. Links to updates are here:
https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/patch_download/main_public.htm
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter

Similar Messages

  • Crystal report displays only few pages,

    Hello,
    We have problem with crystal report preview option. Basically its a cross tab report and when we have a preview it displays only two pages. Even though we have 40 pages worth data.
    When we export to PDF we see all pages of data. If we print directly from crystal only 2 pages gets printed.
    Thanks
    Sridhar.

    May i know the pages spreads over horizontal or vertical?
    Regards
    venkat

  • Display only a part of a blog post in the summary view

    Hello,
    Has anyone come across an effective way to set the size, either by pixels or the number of characters, that is displayed for blog posts in the summary view? I'm working with a blog that has some very lengthy posts, and we want to reduce the amount that people
    have to scroll down the page on the homepage of the blog.
    It's worth noting that I've come across a couple different potential solutions, but have had issues because the body of the post is an "enhanced rich text" field.
    Thanks in advance for any help!

    Hi Bogan,
    According to your description, my understanding is that you want to display only a part of the blog post in the summary view.
    I recommend to edit the homepage in SharePoint Designer and modify the XSLT to achieve your goal.
    Here is a link for you to refer:
    http://heatherwaterman.com/2011/05/customizing-the-blog-posts-in-a-sharepoint-blog-template/#lightbox/10/
    Here is a similar thread for you to take a look:
    http://social.technet.microsoft.com/Forums/en-US/77465d4d-0db7-4736-8358-e9b853a644d7/default-blog-site-summary-view-of-posts?forum=sharepointgeneralprevious
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • While generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    while generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • While generating a crystal report can we edit database files in field explorer ?

    Hi,
    while generating a crystal report can we edit database files in field explorer (at middle can we edit database fields)
    Regards,
    Mahendra

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • Crystal report display problem--urgent

    i am trying to display to display crystal report in jsp page..
    i have mentioned the entries in web.xml as below
    <env-entry>
              <env-entry-name>clientSDKOptions</env-entry-name>
              <env-entry-value>C:\ProgramFiles\Common Files\Crystal Decisions\2.0\jars\clientSDKOptions.xml</env-entry-value>
              <env-entry-type>java.lang.String</env-entry-type>
         </env-entry>
         <env-entry>
              <env-entry-name>crystal_image_uri</env-entry-name>
              <env-entry-value>/crystalWeb/crystalreportviewers/</env-entry-value>
              <env-entry-type>java.lang.String</env-entry-type>
         </env-entry>
    crystalWeb is webproject folder.
    waiting for an earlier response.
    thanks to all
    krish..
    [11/05/04 11:01:33:164 GMT+08:00] 41c3089e WebGroup I SRVE0180I: [crystalWeb] [crystalWeb] [Servlet.LOG]: /CrystalReportsInteractiveViewer.jsp: init
    [11/05/04 11:01:40:404 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/css/default.css has not been defined
    [11/05/04 11:01:40:444 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/js/search.js has not been defined
    [11/05/04 11:01:40:515 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/js/fw_menu.js has not been defined
    [11/05/04 11:01:40:525 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mlogo.gif has not been defined
    [11/05/04 11:01:40:555 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mviewlist.gif has not been defined
    [11/05/04 11:01:40:575 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mfirstgrey.gif has not been defined
    [11/05/04 11:01:40:585 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mprevgrey.gif has not been defined
    [11/05/04 11:01:40:595 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mnextgrey.gif has not been defined
    [11/05/04 11:01:40:655 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mprevgrey.gif has not been defined
    [11/05/04 11:01:40:675 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mgotopage.gif has not been defined
    [11/05/04 11:01:40:685 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mexport.gif has not been defined
    [11/05/04 11:01:40:655 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mfirstgrey.gif has not been defined
    [11/05/04 11:01:41:015 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/msearch.gif has not been defined
    [11/05/04 11:01:41:045 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mprint.gif has not been defined
    [11/05/04 11:01:41:055 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mzoom.gif has not been defined
    [11/05/04 11:01:41:065 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mhelp.gif has not been defined
    [11/05/04 11:01:41:015 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mlastgrey.gif has not been defined
    [11/05/04 11:02:21:463 GMT+08:00] 20668882 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mhelpover.gif has not been defined
    [11/05/04 11:02:25:940 GMT+08:00] 20668882 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mhelp.gif has not been defined

    Possibly it's a path problem try to rewrite env-entry-value for clientSDKOptions with either double backslashes or simple slashe.
    Furthermore the blanks in the path migth be a reason for your problem.
    David

  • Crystal Report Displaying Problem

    Hi Guys,
    i had developed many more reports ie crystal reports 10 successfully in my Pc.But while going to my client place not able see my reports while clicking added reports in B1 module ie Purchase A/p -> purchase reports in that my report is added while clicking that report it displaying following Error ie myaddon.exe is Encountered or Addon Crystal report is Disconnect we are not able to fix this issue what problem but in my PC its displaying all reports this is OS problem or some other issue i am using windows 2000 proffesional in my Client PC ie windows 2003 server sp1.what is this issue can any solve with brief explantion asap.
    Regards
    ANAND

    One question!
    How are you sending the data to the reports?  Are you connecting the reports directly to the SQL Server tables?  If so, I believe you have to take into consideration the fact that connectivity parameters will vary in your client.
    Maybe you have taken this into account already! Just in case
    hope it helps

  • Crystal Report can only retrieve 1 row of data

    We are using the following configuration:
    - Microsoft Windows 2003 Server R2 for x64
    - Microsoft .Net Framework 3.0 for x64
    - Oracle Client 10g 10.2.0 for x64, which inlcudes Oracle Provider for OLE DB 10.2.0.2.21
    - Crystal Report 10 redistributable for x64, from Visual Studio 2005
    With that configuration, each time we run a report in ASP.Net, we can only retrieve 1 row of data, even though the data is more than that. We have no issue running the same report in 32 bit (same configuration as above, but 32bit).
    For the meantime, we use ODBC connection, and it runs well. But, ODBC is slow and since the system that we build is still under heavy testing, if any problem occurs during report generation, it locks up other reports and we have to restart the IIS. So, ODBC connection is definitely a no-no.
    Please help.

    I have the same problem which is assigned uder bug:6623430
    Still waiting for fix...

  • WebI does not return failed when scheduling a report which only holds parti

    WebI does not return failed when scheduling a report which only holds partial results.
    We have scheduled reports which take some time to run. When they are scheduled they sometimes show successful even though the report only holds partial results. The only indication is when you open the report as webi report you see the warning that it holds partial results.
    When running the report manually, it works file.
    The issue is not in the no of rows in the universe settings because we this unselected. The issue is that it times out.
    The reason that it times out is that a lot of resources are used for loading and processing data when the report is scheduled. When running it manually, it works because at this time the serverload is less. the time in the universe is set to 10 min.
    The version we have is BOXIR2-SP4.
    Ok. Issue identified.
    The question is - why is the report successful when it holds partial results? If this is normal behavior, noone can really trust the scheduled reports, especially when you save it to excel and send it by mail.
    Is there a solution for this except increasing the allowed query time which would not solve the issu but only allow more reports to complete?
    Edited by: Karlgren Michael on Sep 17, 2009 1:22 PM

    Hi ,
    Currently this problem exists in XI R2. This feature will be part of thenext Service Pack i.e XI R2 SP6.
    This CER will be delivered from IDC Webi and BIP Platform as part of Jupiter Sp6.
    Problem Statement:
         Scheduled WebI Reports which are partially refreshed are distributed to the destinations for Users to View and make decisions. These users arenu2019t usually aware that these reports have u201CPARTIAL RESULTSu201D
    Recomended Solution:
        Allow the Schedule Creator / Modifier to set a parameter to stop the distribution of the u201CPARTIALLY REFRESHEDu201D WebI report.
    Thanks
    Salini

  • Crystal Reports works only for superusers

    Only superusers can execute previously created Crystal Reports. If the user tries to run a report as a regular user it gets this message:
    Only super users are allowed access to this function.
    Is this a limitation of the free Crystal Reports for SBO? I haven't found any documentation about it.
    Thanks for prompt replay
    Andres
    Edited by: A Castri on Apr 20, 2009 6:30 PM

    Hi Bisal,
    Thanks a lot for your response. Unfortunately, it didn't work either.
    1.Check under crystal report administration whether user have access to reports or not.
    Yes he has access to reports (Crystal Administrations - Manage Users).
    2. Is your report is private or public
    We have tried with private and public reports. However, he can't even get the list of reports (that is when he gets the error message -Only super users are allowed access to this function-).
    3. Is your user have professional license applied to it or not
    He has a professional license assigned to him.
    4. Does he or she have enough authorization to view report
    Yes, he has Full Authorization to everything.
    Thanks,
    Andres

  • Number field on crystal report displays Exponential form.

    Number Type field on crystal report printed in Exponential form when digits in this field are more than 17.

    Hi Jay,
    The same issue is addressed in the K-Base article c2005336. This is the limitation in Crystal, If you have more than 15 digits of numberic field it will convert into Exponential
    Use database-level syntax to convert the numeric database field to a string so that Crystal Reports will interpret it as a string type, and display all of the characters.
    For example, in Oracle, cast the number using to_char() and in Microsoft SQL Server use CAST() or STR() prior to adding the field to the report.
    As a workaround to display all the number, I would suggest you to convert it to text using a SQL Expression Field. A SQL Expression field will be evaluated on the database server.
    I would suggest you to follow the below mentioned steps to create SQL Expression field and convert a database field to a string:
    1. Open the report.
    2. Right click the SQL Expression field which is present in the Field Explorer.
    3. Select New and copy and past the below-mentioned text.
    CAST ("Database Field" as varchar)
    Note u201CDatabase Fieldu201D Here you have to mention your database field.
    After you create the SQL Expression Field, insert it on the report and it will display the full number.
    Please note that no calculation can be made on that field since it is now a string.
    I hope this helps you.
    Regards,
    Prashant

  • Help: Crystal Report displays decimals on X-axis when published in Infoview

    Hi everyone
    I've been banging my head on my keyboard trying to get past the following issue:
    We have a Crystal Report (XI R2 SP3) containing a bar chart that has numbers on both the X- and Y-axis.
    On the Y-axis I can control the "Number" settings to remove decimals after the comma. So far so good.
    On the X-axis on the other, the numbers are the result of an extensive formula trying to breakdown
    numbers into ranges. Numbers are always whole (no decimals). The X-Axis is an Ordinal scale, which
    does not allow to set any number formatting. Numeric scale does not work in this case because it
    compresses the entire chart into a few bars. And this is where the problem is:
    In Crystal Reports I have a global setting for "Numbers" not to show any decimals. This works, when
    generated in Crystal, I have no decimals past the comma in the graphs on the X-axis.
    when I publish this report to Business Objects Infoview portal and schedule and run it there, all of a
    sudden the PDF displays an X-axis that has 2 decimals past the comma (1234.00). It's driving me nuts.
    I suspect this is a bug, because I've not managed to get rid of these decimals without a text-conversion in
    the formula (does not suit me, I need data ordered properly).
    Can anyone help? Has anyone had this issue?
    Much appreciated!
    Thanks.
    The latest of version of my formula truncates and converts ToNumber. Nothing helps:
    Tonumber(
    truncate(
    IIF (InStr ({Command.SUB_SPECIFICATION},'XF') > 0
        IIF ({Command.X_TIME} <= 300,300,
             IIF ({Command.X_TIME} <= 5000,
             Ceiling ({Command.X_TIME}, 200),10000
    ,IIF(InStr ({Command.SUB_SPECIFICATION},'XT') > 0 Or InStr
    ({Command.SUB_SPECIFICATION},'XY') > 0,
            IIF ({Command.X_TIME} <= 1000,Ceiling ({Command.X_TIME}, 50),
                 IIF ({Command.X_TIME} <= 5000,
                 Ceiling ({Command.X_TIME}, 200),10000
            IIF ({Command.X_TIME} <= 300,Ceiling({Command.X_TIME},10),
                 IIF ({Command.X_TIME} <= 5000,
                 Ceiling ({Command.X_TIME}, 200),10000
    Edited by: FREDERIC AGOSTINI on Nov 6, 2008 3:43 PM

    Hi Frederic,
    I tired the following on my machine having CR XI R2,  just as a sample report i created the following formulas,
    Reproducing the issue:
    u2022 Create a formula field u2013 FiscalCurrentHeader u2013
    "FY " & year(DateAdd ("m",+6,CurrentDate))
    u2022 Use a text box and place this formula field
    Summary for {@FiscalCurrentHeader}
    u2022 In the designer, the string exports to .pdf as 'FY 2009' , but on the scheduling/distribution server (BOE XI), the string exports to .pdf as 'FY 2,009.00' (as a number).
    Cause:
    u2022 The datatype of the field u2013 FiscalCurrentHeader is considered as number, because of which when scheduling/distribution server (BOE XI), the string exports to .pdf as 'FY 2,009.00' (as a number).
    Resolution:
    u2022 To remove the comma use ToText in the formula
    "FY " & ToText(Year(DateAdd ("m",+6,CurrentDate)), "0")
    u2022 To remove the comma we can even use
    u201CFY u201D & ToText(Year(DateAdd ("m",+6,CurrentDate)), "0","")
    The last "" defines your 000 separator.
    Try using ToText in place of ToNumber.
    I hope this works at your end.
    Regards,
    Abhijeet Taskar.
    Edited by: Abhijeet Taskar on Nov 6, 2008 6:02 PM

  • How can I display only one value of a field with two or more values?

    Post Author: skiabox
    CA Forum: Crystal Reports
    I have a field in my report with 2 or more values (depending of another field id).For example for id = 1 the report gives me 2 names in that field.For id = 3 the report gives me 3 names in that field.I want to display only one of these names in the id row.The selection of name is random.Thanks!

    Hello Tim,  would barely fit in this situation since this code resides on the client’s interaction side of things. I’d recommend using JavaScript for this matter, e.g. var Data_FName1 = document.getElementById(‘Data_FName1’).value;. If you still opt for using CFML, then you’d go for proxying your JavaScript code to a CFC.

  • Crystal Reports XI - How  to create a new field using a formula field

    I'm quite new to CR, but have been learning quickly!
    I would like to know how to automatically create a new record/field based on another field in that row...
    I have a report showing the following data:
    Run Code     Start KM    Stop KM    Status 
    H2                 100            150           Partial
    H2                 150             155          Partial
    H2                 155             160          Partial
    S3                 120             150       Completed
    The status is generated by comparing the 'Start KM' and 'Stop KM' against fields in another table called 'Start Odo' and 'Stop Odo'
    In this example...
    H2 has 'Start Odo' and 'Stop Odo' values of 90 to 160, therefore there is still 90-100 to check.  The 'Start KM' and 'Stop KM'  is equal to the 'start Odo' and 'stop Odo' for S3, therefore it shows completed.
    My question is how do you create a formula field, which will add an entire row...displaying the values 90-100.
    I've been trying to use a conditional check in the 'Start KM' column, that sees if status is equal to partial than if start km is greater than start odo (Which is the reference km) then display the value of start odo in the new row. I'm stuck at how to create a new row.
    I want the final result to look like this...
    Run Code     Start KM    Stop KM    Status 
    H2                  90              100         Partial
    H2                 100             150          Partial
    H2                 150             155          Partial
    H2                 155             160          Partial
    S3                 120             150       Completed
    Any suggestions would be more than appreciated

    Hi Adi
    Looking at your examples it seems that you want to add a row to the existing recordset (rows fetched from the database).
    If it is the case (even if based on a formula) then you can not do it within crystal. Crystal is designed to display data and ideally it should not generate the new data.
    However, as per your requirement you can try to add this logic at database end. May be a command object within Crystal Reports can help you.
    Let me know if you do not understand anything.
    Regards
    Nikhil

  • Display only a part of a text string for PHP MySql feild

    i have a description (tk_job_desc) feild on a jobsearch that i only want to display say the first 5 lines of the description feild the click a read more option the take the user to a new page the read the full job outline
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_Recordset1 = 5;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    $var_tk_job_title_Recordset1 = "%";
    if (isset($_GET["tk_job_title"])) {
      $var_tk_job_title_Recordset1 = $_GET["tk_job_title"];
    $var_tk_job_location_Recordset1 = "%";
    if (isset($_GET["tk_job_location"])) {
      $var_tk_job_location_Recordset1 = $_GET["tk_job_location"];
    $var_tk_job_salary_Recordset1 = "%";
    if (isset($_GET["tk_job_salary"])) {
      $var_tk_job_salary_Recordset1 = $_GET["tk_job_salary"];
    mysql_select_db($database_hostprop, $hostprop);
    $query_Recordset1 = sprintf("SELECT tk_job_title, tk_job_location, tk_job_salary, tk_job_desc FROM think_jobsearch WHERE tk_job_title LIKE %s OR tk_job_location LIKE %s OR tk_job_salary LIKE %s", GetSQLValueString($var_tk_job_title_Recordset1, "text"),GetSQLValueString($var_tk_job_location_Recordset1, "text"),GetSQLValueString($var_tk_job_salary_Recordset1, "text"));
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    ?>
    the html is
    <table width="655" border="0" cellspacing="5" cellpadding="0">
                <tr>
                  <td colspan="2" class="Titlegreen"><?php echo $row_Recordset1['tk_job_title']; ?></td>
                </tr>
                <tr>
                  <td colspan="2" class="textblack"><?php echo $row_Recordset1['tk_job_desc']; ?></td>
                </tr>
                <tr>
                  <td width="250"> </td>
                  <td width="405"><div align="right"><span class="pos_salary"><?php echo $row_Recordset1['tk_job_salary']; ?></span><span class="pos_location">/<?php echo $row_Recordset1['tk_job_location']; ?></span></div></td>
                </tr>
              </table>
    thanks

    ok thanks., i have found a few things on the internet
    i followed the tutorial http://www.phpbuilder.com/board/showthread.php?t=10332476
    "SELECT LEFT tk_job_title, tk_job_location, tk_job_salary, ('tk_job_desc',150)............... but it has returned and error
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tk_job_title, tk_job_location, tk_job_salary, ('tk_job_desc',100) FROM think_job' at line 1
    the other part of the article shows
    <?php
    mysql_connect("localhost", "user", "pass");
    mysql_select_db("my_db");
    $result = mysql_query("SELECT * FROM news ORDER BY RAND() LIMIT 0, 1");
    while ($rows = mysql_fetch_array($result))
    echo substr($rows['text'],0,100);
    ?>
    looking at my code i need to add the tk_job_desc to the statement
    $query_Recordset1 = sprintf("SELECT tk_job_title, tk_job_location, tk_job_salary, tk_job_desc FROM think_jobsearch WHERE tk_job_title LIKE %s OR tk_job_location LIKE %s OR tk_job_salary LIKE %s", GetSQLValueString($var_tk_job_title_Recordset1, "text"),GetSQLValueString($var_tk_job_location_Recordset1, "text"),GetSQLValueString($var_tk_job_salary_Recordset1, "text"));
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    would i need to put that statement in there?

Maybe you are looking for

  • MacBook Pro is randomly shutting off.

    When it restarts the date and time reset to something like January 1, 2000 before changing back to the correct date and time several minutes later. Two months ago I had a problem with overheating with my Macbook that the Apple Store took care of. Any

  • Business Rules Migration

    Hi gurus, I need to migrate business rules from one environment to another. Apart from doing so in EAS, what would be the other way of migrating it? Any suggestion would be appreciated. I could do it with EAS, however the EAS has not been working in

  • The backend of system SAP_R3_UWL is not configured for optimized delta pull

    Hi All, I used the below to configure the Enabling Delta Pull Mechanism in UWL. http://help.sap.com/saphelp_nw04s/helpdata/en/eb/101fa0a53244deb955f6f91929e400/frameset.htm uwl_service user created and assigened role SAP_BC_UWL_SERVICE with the help

  • How do you make it stop increasing numbers/letters automatically???

    If I want to drag up or down to copy text or numbers from one cell to another the program automatically increases the number by one or the letter by the next letter. Drag 1 and it increases the next entry to 2, drag a and it changes the next letter t

  • Images getting replaced when reviewing project

    I am at wits end. I have an 88 slide Test that involves a lot of .jpg images inserted into question slides. At the end of the test I have a software simulation in Assessment mode for the student to maneuver around accordingly. That's where things get