Operator/operand type emismatch

I have a table named `games`. In a form I have added a textbox and a button. I want to check if a value is in table, something simple. But I encountered this error: `Operator/operand type mismatch`. I know what that means, but I can't figure it out where
is the mistake..In table, `Idm` row is Integer. Code from button is this: 
USE gamesLOCATE FOR thisform.Text1.Value = games.IdmIF FOUND()MESSAGEBOX("yes")ELSEMESSAGEBOX("no")endif

That's the way to go.
Besides setting a value at design time you can always force a type by binding to a table field, as that has a defined type, of course. And a cursor might act as a table, or as Benny suggested a variable inited to that type. Anyway a value of 0 is fine for
an otherwise unbound textbox to use its value as an integer in a FOR or WHERE clause.
Bye, Olaf.
Olaf Doschke - TMN Systemberatung GmbH
http://www.tmn-systemberatung.de

Similar Messages

  • Unicode problem: Converting operations on type X operands

    I've got a problem converting a function module to unicode functionality: the original coding performs MOVE and SHIFT operations on operands of type X. The extended syntax check after unicode flag is set fails as X or XSTRING are not considered character-like anymore, of course, as these operations wouldn't delivery a stable result due to the variable lengths in UTF-8. Simply using type C, String or any other character-like operand type instead wouldn't help either, of course, because all  bytestream information would be lost. Does anyone have recommandation on how I can solve this issue?
    Thanks in advance!
    Andy
    Here's an example for the original coding (importhash = import parameter):
    DATA: OP1(10) TYPE X,
    SLEN TYPE I.
    DATA: OP2(12) TYPE X,
    DATA: T_OP2 TYPE SOMEINTEGER WITH HEADER LINE,
    T_OP1 TYPE SOMEINTEGER WITH HEADER LINE,
    OP1 = SOMECHARACTER.
    SLEN = STRLEN( OP1 ) / 2.
    MOVE SLEN TO THE_OP1.
    APPEND THE_OP1.
    DO SLEN TIMES.
    MOVE OP1+0(1) TO T_OP1.
    APPEND T_OP1.
    SHIFT OP1.
    ENDDO.
    MOVE IMPORTHASH+0(2) TO SLEN.
    MOVE SLEN TO T_OP2.
    APPEND T_OP2.
    OP2 = IMPORTHASH.
    SHIFT OP2.
    DO SLEN TIMES.
    MOVE OP2+0(1) TO T_OP2.
    APPEND T_OP2.
    SHIFT OP2.
    ENDDO.

    Hi,
    Especially for Unicodes, it is recommended to separate the Data declarations into a separate Type pool.
    DATA: OP1(10) TYPE X,
    SLEN TYPE I.
    DATA: OP2(12) TYPE X,
    Mark the type pool as unicode active. Then, use this type pool in your program.
    The class variables in CL_ABAP_CHAR_UTILITIES may also help you.
    Cheers,
    Bhanu

  • Wrong Operand Type Error Message - please help

    I have built a form and I keep getting the message - Wrong Operand Type every time I either try to preview or save to PDF as the file suddenly becomes 90% blank (I can see the content boxes for any date fields in the form and if I click the highlight fields option I can see place holders for all of the content) but other than that it wont process properly. I have tried going through the document and made sure that item by item the fields are all inline with each other, have the same fonts, etc. I even tried deleting out every single item in the form, previewing it, then placing that item back in and moving on to the next to try a process of elimination to see if I could figure out what item(s) were causing the problem, but still no luck.
    Please help.
    CG

    I, too, am having this error message. I read somewhere that it is either because of the font Helvetica Nueue, or because the files is being shared between a PC and a Mac. The quickest fix I have found, is to take the pdf and open it in Illustrator and convert all the text to curves. Then it should work correctly.
    I don't think anyone has found a definitive answer.
    thanks

  • Wrong oper and type

    I am using Acrobat Professional 7.0 and utilizing the LiveCycle Designer 7.0. In building a web page, I need to convert word forms to pdf and make them interactive. After converting the document and then adding the fill-in boxes for the users, I receive the "wrong oper and type" message when reopening the file.
    I have completed the uninstall and repair wizard, deleted all other versions of Adobe reader from my PC.
    Does anyone have any suggestions as to how I can solve this issue?
    Many thanks,
    AJ

    Thanks for responding. I figured out that another version of Adobe was conflicting with this version.
    However, I have a new problem now. I am creating fill-in forms. The easiest way is to use Version 7.0 Professional to create the Text, check and numerical boxes. However, my users need to be able to save their filled-in form locally for forms they submit each month. After I get everything set and then convert to Adobe Designer, the form fields are missing and I have to start from scratch. Adobe Designer is not very user friendly when it comes to adding form fields of any type. Plus it doesn't bring the form in very "pretty".
    Can you help? Thanks so much!

  • TypeError : unsupported operand type(s) for + : 'NoneType' and 'str' - UCM

    Hi All,
    I got below error while creating weblogic domain in UCM.
    Successfully installed Oracle,RCU and weblogic while creating domain i got error, Please any one know how to create domain. Let me know.
    Error :::
    Domain Creation Failed!
    Domatin Location :
    C:\Oracle\Middleware\user_projects\domains\base_domain
    Reasion : null
    Exception:
    Traceback ( innermost last):
    File "<iostream>", line 17, in?
    TypeError : unsupported operand type(s) for + : 'NoneType' and 'str'
    Version : Orcle ECM version 11.1.1.3
    weblgoic server 10.3 windows 7 (32bit)
    oracle 11g
    --------------------------------------------------------------------------------------------------------------------------------------------

    Are you sure that you're using the correct config.bat or config.sh? There are multiple and it's very easy to mistakenly use the incorrect one if you're not paying very close attention.
    If you're sure you're using the correct config script, then make sure that you execute the commEnv.bat or commEnv.sh and setWLSEnv.bat or setWLSEnv.sh before running the config script. These files will set some variables that the script will be looking for.
    Let us know if that helps!
    Thanks,
    -ryan
    Ryan Sullivan | ECMconsultant
    http://www.ecmconsultant.net/

  • Incompatible operand types Integer and int

    Integer getCountQty = priceBO.getCountQty( accountsVO,     
    salesOrderDetailsVO.getProductVO).getProdCode(),
    accountsVO.getRegion(),getQty1,getQty2,     
    salesOrderDetailsVO.getPriceCode(),
    salesOrderDetailsVO.getProductVO().getProdClass(),currency);
    else if(getCountQty == 2){                         modID = "SOM4";
    Dear All,
    I tried the code above and it'll gimme errors like at the title there. is there any other way to to do it coz i really need to do that kind of condition.

    Sorry but I did not understand anything from your
    question.
    PS: Try to use " " while sending codes.You can't display the code tags by just placing them within quotes.
    Kaj
    Ps. @OP. See formatting tips for information on how to post code:
    http://forum.java.sun.com/help.jspa?sec=formatting
    You should place your code within code tags - [code] 

  • How to pass datetype parameter in Sql Select Statements to

    public void Mountain()
                   String dat=lastcollecteddatestr.substring(0,2);
                   String mon=lastcollecteddatestr.substring(3,5);
                   String yr=lastcollecteddatestr.substring(6,10);
                   try
                        SimpleDateFormat sdf = new SimpleDateFormat("yyyy"+"MM"+"dd");
                        java.util.Date utilDate = new java.util.Date(Integer.parseInt(yr)-1900,Integer.parseInt(mon),Integer.parseInt(dat));
                        Date newdate=sdf.parse(yr+"-"+mon+"-"+dat);
                        System.out.println(newdate);
                        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                        Connection con = DriverManager.getConnection(url);
                        Statement stat = con.createStatement();
                        ResultSet rs=stat.executeQuery("select empcd,date from mmm where date = '"+newdate+"' ");
                        while(rs.next())
                        String str1= new String(rs.getString("empcd"));
                        String str2= new String(rs.getString("date"));
                        System.out.println(str1+"\t"+str2);
                        }catch(Exception ex){System.out.println(ex);}
                   Error : [MicroSoft] [ODBC Visual FoxPro Driver]Operator/operand type mismatch.
                   myNote: There is no Problem with connecting to database of something like that
                        its working well with Different SQL Statment
                        like: ("select empcd,date from mmm where empcd = '"+empcdstr+"' ")
                        This is not Working and giving errors
                        like: ("select empcd,date from mmm where date = '"+newdate+"' ")
                        HOW TO SOLVE THIS PLZ HELP. It's Urgent.

    You will see this error if the search condition was entered with an invalid or missing relational operator.
    You need to include a valid relational operator such as
      =, !=, ^=, <>, >, <, >=, <=, ALL, ANY, [NOT] BETWEEN, EXISTS, [NOT] IN, IS [NOT] NULL, or [NOT] LIKE in the condition. in the sql statement.
    Can you throw some more light on how are you designing your project?

  • Complex return type for operations in Application Services

    Hi all,
    I am trying to create a complex return type for one of operation in CAF Application service.I have created a complex dataStructure  named productList and added product bussiness object as its attribute with cardinality 0--n. And used product dataType as my return type.
    But I am not getting any output but its work fine with cardinality 0--1.
    I am using CE 7.1 SP5 trial version.......
    Can anyone

    Hi,
    And used product dataType as my return type.
    Are you sure you did not forgot to change you operations return type to "productList"?
    Best regards
    Philipp

  • Transaktion type of operations

    Hello,
    first of all I'm using SAP NetWeaver CE.
    My scenario:
    I have created a CAF-Project where I import RFC Modules as External Services. Then I created an Application Service (AS_1) in the same CAF-Project where I created Application Service Operations (Implemented not enabled). Then I map the external service operations to application service operations. The external service operations read from and write to the R/3 backend system. I set the Transaction Type of the Application Service Operations to Supports because if I create Automatic Mappings for Application Services as described [here|http://help.sap.com/saphelp_nwce10/helpdata/en/ad/b88de027c34daf96db9ac3d8a92194/frameset.htm] (Creating Automatic Mappings for Application Services) the Transaction Type is automatically set to Supports.
    Now my first question: Why do I have to associate operations with transactions? What's the background in conjunction with RFCs?
    My second question: If in the middle of the execution of an RFC module is an interruption and not all data, the RFC module have to write, is actually write, is there a rollback on the R/3 backend like described [here|http://java.sun.com/javaee/5/docs/tutorial/backup/doc/Transaction2.html]?
    My third question: Can somebody give me a detailed description why I have to set the Transaction Type to Supports in this scenario?
    After I do the mapping I created a second Application Service(AS_2). I created operations(Implemented enabled) where I use the operations of the AS_1. There I set the Transaction Type to Required because in the SAP NetWeaver CE Library is an example where one also use operations of an other Application Service and the Transaction Type is also set to Required.
    Now my fourth question: Is this the right way to set the Transaction Type of the AS_2 to Required? And Why?
    Fifth question: Is it the right way to the setting of the Transaction Type of AS_1 and AS_2? and Why?
    Regards,
    Armin

    Hi Armin,
    Please see below my answers to your questions:
    1st question:
    As you probably know in JEE there are two ways of dealing with transactions - programming and declarative. In the programming style, the developer defines the transactions boundaries by invoking the transaction begin(), commit() and rollback() methods. In the declarative style, each operation is assigned a transaction attribute (required, mandatory, supports ...). CAF uses the declarative approach and therefore each operation is assigned a transaction attribute. This style is not specific for RFCs, it is a standard JEE approach.
    2nd question:
    It depends on the backend RFC function implementation. Usually BAPIs support this and if something fails, everything is rollbacked.
    3rd quesiton:
    It is not mandatory to set the transaction type to 'Supports'. 'Supports' is the default value and you can change it afterwards if you like.
    4th and 5th questions:
    There's no general rule of thumb how to set operations Transaction Types. It depends on your concrete operations, on the business logic you want to achieve and so on.
    Regards,
    Trendafil

  • One to Many Mapping with different SQL types

    We have an interesting one to many relationship in our system in which the source and target field SQL types do not match, but the values do. The relationship is actually between multiple entries in the same database table. So, imagine we have some table that looks sort of like this:
    KEY ObjectID OwnerNo
    100 1234     0
    101 ABCD     1234
    102 EFGH     1234ObjectID is defined as a varchar type, but Parent entries are guaranteed to have integer value ObjectIDs. Child entries point to the parent through the OwnerNo field, which defined in the database as a numeric.
    A simple one-to-many mapping will give you the following SQL error on execution: [SQL0401] Comparison operator = operands not compatible.
    I tried modifying my descriptor after load as follows:
       public static void modifyOneToMany(Descriptor descriptor)
           ExpressionBuilder builder = new ExpressionBuilder();
           Expression exp = builder.getField("OwnerNo").
              equal(builder.getField("ObjectID").toNumber());
           descriptor.getMappingForAttributeName("children")
              .setSelectionCriteria(exp);
       }But this introduces two problems in the generated SQL ( ... WHERE ((t0.OwnerNo = TO_NUMBER(t0.ObjectID) ... ). First, this generates a where clause using the function TO_NUMBER, which is not supported by DB2 on AS400, our database platform. Second, the table reference is off in the generated SQL--I couldn't find a way to specify that the right hand side of the = operator should be from the parent of the one to many mapping--both sides are referenced from the child context (t0).

    I found the getFunction() method on Expression, so I can solve half of this problem with the following code:
       public static void modifyOneToMany(Descriptor descriptor)
         if (descriptor.getMappingForAttributeName("children").isOneToManyMapping())
           OneToManyMapping map = (OneToManyMapping) descriptor.
                                  getMappingForAttributeName("children");
           DatabaseField objectID= (DatabaseField) map.getSourceKeyFields().get(0);
           DatabaseField ownerNo = (DatabaseField) map.getTargetForeignKeyFields().get(0);
           ExpressionBuilder builder = new ExpressionBuilder();
           Expression exp = builder.getField(ownerNo).getFunction("CHAR").
                            equal(builder.getField(objectID));
           map.setSelectionCriteria(exp);
       }This generates the following where clause:
    ... WHERE ((CHAR(t0.OwnerNo) = t0.ObjectID) ...
    But, I still have two questions:
    1. How do we get the right hand side of this comparison to reference the Parent part of the 1-M mapping?
    2. Since character and numeric conversions are pretty standard SQL functions, is there something wrong with the DB2 database platform I'm using?

  • Biztalk schema exposing as WCF service with multiple operations

    Hi,
    I am working on a design pattern to expose the BizTalk schema as a WCF service and thought of taking expert’s advice. I have a single schema with 30 different nodes and each one is a different message type. For this 30 message types we need to expose WCF
    endpoints to customer for consuming from their application.
    When I exposed this schema as WCF service, a single receive location got created in BizTalk application and in IIS there is one .svc file. I defined 30 operations for this while exposing the endpoint with wizard.
    Currently I came up with the below 2 approaches but I did not like them as there is more redundancy
    Create 30 different orchestrations and each orchestration subscribes to Message Box direct binding with message type as filter.
    Create a single orchestration that binds to single receive location( this location got created by wizard..) and access the operation/message type in the expression shape. Based on this value create 30 IF conditions for each message type. For this the
    single orchestration receive shape should have a message type of xml document and then access the type. Is it possible?
    I don’t like the above approaches as it is very difficult to maintain and also difficult to add for any new message type.
    Does anyone has good ideas for doing this?
    Thanks
    JB

    "Canonical Schemas" are used where multiple source messages need to be addressed by a SINGLE Operation !!!
    Every operation anyway translates to a separate process. Forget that we're dealing with BizTalk for a minute, when you're writing plain we services, you introduce new service contracts (operations) when you deal with different data contracts. To come back,
    in BizTalk your data contracts are your schemas. So when you have multiple schemas, each requiring different processing then you need different orchestrations.
    Let us for a minute assume you've defined a single service schema (very possible with a service header and a service details where the service data contract could differ). Now you use this schema to expose ONE service endpoint (good till now). In that service
    you're suggesting to ADD decisions (something like a switch statement where you'll do 'x' set of activities is the message is of 'x' type and so on... How is this sustainable? Every time you introduce an new operation, you'll have to tear down and redeploy
    the new orchestration which will affect all other operations. During the introduction of ONE op you may touch other parts of the orchestration (multiple branches in a parallel shape anyways make the orchestration very unwieldy from a code management/support
    standpoint) and introduce errors in existing ops.
    Regards. 

  • What is my operating system in regards to my printer installation?

    When trying to install the drivers and software for your printer from the HP website, it is required to know both your operating system and your system type.
    To determine if you have Windows or Mac, below is the icon you will find that is often referred to as the Start Button.
             Windows  8                          Windows 7         Windows Vista            Windows XP             Mac OS X
    If you do not see either of these icons, then please review the owner's manual of your computer or find a section dedicated to product information or in the help section of the software/device you are using.
    Click here if you do not see your operating system listed under the driver section of your printer's support website.
    In earlier Windows versions:  Select the Start button icon and right-click on Computer (Win7 or Vista) or My Computer (XP) and left-click on "Properties" at the bottom of the gray pop-window.  Properties will display the Windows edition which contains information on which version of Windows you are using, the service pack, and further down you will find the system type which will indicate whether it is 32-bit or 64-bit.  If you do not see a version type, it is likely a 32-bit Windows XP.  
    *Note: Windows Starter Editions can cause problems and errors and thus limiting you to strictly a USB connection during the installation and continued use of the printer's software.
    In Windows 8: Right-click or tap and hold the lower left corner of the screen and then click or tap System in the menu.  Find System Type in the System Window, and then note whether your operating system is 32-bit or 64-bit.
    Click here to access the HP Support website regarding operating system types for more information.
    Mac OS X: For information regarding your OS version click on the Apple () to access the menu and choose "About This Mac" and you will be able to tell which version you are running which is essential for installing the proper printer software.
    Common Mac OS X have different names for their versions:
              10.5 - Leopard
              10.6 - Snow Leopard
              10.7 - Lion
              10.8 - Mountain Lion
    Each version before and after the ones listed above also have additional names.  Click here to access the Mac Support website for more information.
    Linux print drivers: HP has designed what is noted as HPLIP (HP Linux Imaging and Printing) software to include the driver, the toolbox, and the driver installer into one package.  This software is designed to work for nearly every Linux distribution available. Click here to download the latest HPLIP software for your printer.
    Be cautious about third-party websites offering downloads to certain HP software, especially if you are required to pay for it or pay for a tool to diagnose any issues you are having.  Most HP download packages include the scanning software such as HP Solution Center or HP Image Zone.  Specific software installed is not downloaded separately and therefor, if you cannot find it for free through the HP website, then be careful of what other companies are offering.  You are putting your system at risk by downloading any software from an unknown manufacturer such as viruses, malware, or other security factors.  Take precautions to protect yourself before you install any software from a third-party site.
    If you have any questions regarding any of the information above, feel free to post about it.  The HP Consumer Forum is a great place to look for expert advice regarding small to medium-sized printers (Officejet, Photosmart, Deskjet), along with how to install, update, or resolve other installation errors.
    If you have questions regarding a large commercial-sized printer, seek additional expert advice at the HP Enterprise Business Community regarding large LaserJets, ScanJets, and DesignJets.
    Lastly, if you just need a quick reference to a question regarding your printer or computer, click here for immediate access to your device's support website.
    Thank you for being a part of the HP family and community.  
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

    Your plugins list shows outdated plugin(s) with known security and stability risks.
    # Next Generation Java Plug-in 1.6.0_16 for Mozilla browsers
    Update the [[Java]] plugin to the latest version.
    See http://java.sun.com/javase/downloads/index.jsp#jdk (you need JRE)

  • 1067: Implicit coercion of a value of type String to an unrelated type

    Hi,
    I created a webservice based on sql server 2005 with several methods successfully.
    I am having headach now just trying to do some simple tests with Flex :-(
    I used the "Import WebService", it created some code "generated webservices".
    My test method p_SEARCH_NAME_SOUNDEX is based on a sql procedure wich take a varchar (128) as a parameter => NAL_NOM.
    I am just trying to debug this function (error at line in red)
           public function searchEntry(name:String):void
                // Register the event listener for the findEntry operation.
                //agenda.addfindEntryEventListener(handleSearchResult);
                myWS.addp_SEARCH_NAME_SOUNDEXEventListener(handleSearchResult);
                // Call the operation if we have a valid name.
                if(name!= null && name.length > 0)
                   myWS.p_SEARCH_NAME_SOUNDEX(name);
    I got this error message:
    067: Implicit coercion of a value of type String to an unrelated type generated.webservices:NAL_NOM_type1.
    FLEX has creaetd a type called NAL_NOM_type1 for my class:
    * NAL_NOM_type1.as
    * This file was auto-generated from WSDL by the Apache Axis2 generator modified by Adobe
    * Any change made to this file will be overwritten when the code is re-generated.
    package generated.webservices
        import mx.utils.ObjectProxy;
        import flash.utils.ByteArray;
        import mx.rpc.soap.types.*;
         * Wrapper class for a operation required type
        public class NAL_NOM_type1
             * Constructor, initializes the type class
            public function NAL_NOM_type1() {}
            public var varchar:String;public function toString():String
                return varchar.toString();
    I tried to do myWS.p_SEARCH_NAME_SOUNDEX(NAL_NOM_type1(name));
    and also declared "name" as NAL_NOM_type1... but i still get this error.
    This is how it declared my webservice method:
            public function p_SEARCH_NAME_SOUNDEX(nAL_NOM:NAL_NOM_type1):AsyncToken
                 var _internal_token:AsyncToken = _baseService.p_SEARCH_NAME_SOUNDEX(nAL_NOM);
                _internal_token.addEventListener("result",_P_SEARCH_NAME_SOUNDEX_populate_results);
                _internal_token.addEventListener("fault",throwFault);
                return _internal_token;
    I am even not on the level of assigning the data to my grid... i just want to see how it gets the data first in debug.
    Thanks in advance for you help.
    kr,
    Meta

    Thanks _Natasha_
    I tried this:
    var t = new NAL_NOM_type1();
    t.varchar = name;
    myWS.p_SEARCH_NAME_SOUNDEX(t);
    It passes the 1st step :-) but I get another error now :-/
    I think it try to get back NAL_NOM_type1 from the server of course on the WSDL side it know only NAL_NOM
    Error: Cannot find definition for type 'http://NABSQL64DEV/::NAL_NOM_type1'
        at mx.rpc.xml::XMLEncoder/encodeType()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc \xml\XMLEncoder.as:1426]
    I guess I have to change my constructor type... i am not used to these stuff :-s
    is this generating method the best way to access your data with webservices?
    the turorials I saw are xml file or array based... is there any link similar to my issue so I can learn better?

  • Assigning values of various types to a user defined CLR type

    I have implemented a CLR datatype.  I can assign string values to variables of the type like this (implemented in the Parse method):
    declare @v MyType
    set @v = '10'
    But when I try:
    declare @v MyType
    set @v = 10
    I get:
    Msg 206, Level 16, State 2, Line 3
    Operand type clash: int is incompatible with MyType
    How do I implement a conversion of integer types (bigint, int, smallint, decimal...) to my type, to allow a simple assignment like that to work?
    Thanks.
    Gudmundur Karlsson

    I can't but I can add some information which might help.  The type is very simple (sorry I have to skip the actual implementation of the member data and the methods):
    [Serializable]
    [Microsoft.SqlServer.Server.SqlUserDefinedType(Format.UserDefined, MaxByteSize = 1024)]
    public struct MyType : INullable, IBinarySerialize
        // Private members
        private bool m_Null;
        // ... three or four more member variables
        public override string ToString()
        ...  // My code converts the internal state to a string
        public bool IsNull
            get
         // Put your code here
         return m_Null;
        public static MyType Null
          get
       MyType h = new MyType();
       h.m_Null = true;
       return h;
        public static MyType Parse(SqlString s)
          ... // Here is where I read the string and save the value in internal format in member variables
        // More methods
        void IBinarySerialize.Read(System.IO.BinaryReader r)
            m_Null = r.ReadBoolean();
            if (!m_Null)
         void IBinarySerialize.Write(System.IO.BinaryWriter w)
             w.Write(m_Null);
             if (!m_Null)
    I want to implement a method like Parse which accepts a SQL server numeric type and converts it to my type.  To allow me to assign integers to a variable of my type, without having to convert to string first.
    Thanks
    Gudmundur Karlsson

  • Array data type in SQL server

    Hi there,
    I have stored procedure which does have array data type. recently we have migrated oracle to SQL server
    but this array datatype doesn't support in SQL server.
    How can we rewrite this stored procedure to make it work exactly same as Oracle SP.
    Can you please help on this.
    ALTER PROCEDURE [dbo].[New1]
    @i_ID dbo.t_IdArray READONLY ,
    @i_ArraySize INT ,
    @SWP_Ret_Value FLOAT = NULL OUTPUT
    AS
    Begin
    UPDATE fmm.SITES
    SET DISPLAY_ORDER = id.t_RowNum
    FROM @i_ID id
    JOIN dbo.SITE1 s
    on s.SITE_ID = id.t_ID
    end
    Thanks for your help.

    Hi Latheesh,
    I have tried your bit except configure the SQLCommand and TVP parameter I don't where I need to do this bit.
    Without that bit I have tried your code it was throwing an error like this
    Operand type clash: int is incompatible with t_IdArray
    Can you please have a look .
    Thanks,
    RK
    can you show the definition for  dbo.t_IdArray
    what does it contain?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for