Map a String[]

Hi!
How do I map a String[] in a CMP-EJB2.0 ? I know of two methods that doesn't seem very good in my eyes.
1) Create an EJB that represents the String and then map a relation between the two EJB:s
2) Use a Blob as a datatype for my String[].
The second way isn't really an alternative since I already have data in an existing table structure and for the first one it feels quite backward to have an EJB for each String in the String[].
Is there a way to map a "helper" table for my String[]?
Thanks in advance
Roland Carlsson

Hi and thanks for your answer.
The tables look like this:
Master:
id String
// 8 more columns
Slave:
id String
value String
Master.id is primary key
Slave.id and Slave.value is primary key together.
Slave.id has a foreign key in Master.id
So, can I read the data into my EJB (master) without having to create another EJB ?
Thanks in advance
Roland Carlsson

Similar Messages

  • oms_error Message:[oms] empty or null xml map request string.

    I'm using mapviewer. I create a stored procedure in oracle that uses the utl_http package to make the map request. The omserver response with an error but when i make a map request via internet explorer the server response its ok and show me the correspondent map. This is my pl/sql code it fails in this line:
    UTL_HTTP.SET_HEADER(l_http_req, 'Content-Type', 'application/x-www-form-urlencoded');
         UTL_HTTP.SET_HEADER(l_http_req, 'Content-Lenght', LENGTH(map_request));
         UTL_HTTP.SET_HEADER(l_http_req, 'Host', 'cobogis09');
         UTL_HTTP.SET_HEADER(l_http_req, 'Port', '8888');
    As you can see it tells to me that the map request string is empty but im sending the map request in the next way:
         UTL_HTTP.WRITE_TEXT(l_http_req, '<?xml version="1.0" encoding="UTF-8"?><map_request datasource="stream" srid="8307" basemap="" width="960" height="768" antialiasing="false" format="GIF_URL" title="Demonstration"></map_request>');
         l_http_resp := utl_http.get_response(l_http_req);
         utl_http.read_text(l_http_resp, l_value);
         response := sys.XMLTYPE.createxml(l_value);
         utl_http.end_response(l_http_resp);
         img_url := response.EXTRACT('/map_response/map_image/map_content/@url').getstringval();
    img_url := response.EXTRACT('/map_response/map_image/map_content/@url').getstringval();
    obviously because the server response its not ok
    the server response is (i get this message in my l_value variable):
    <?xml version="1.0" encoding="UTF-8"?><oms_error>Message:[oms] empty or null xml map request string.
    Tue Jul 25 10:37:43 GMT-05:00 2006
    Severity: 0
    Description:
         at oracle.lbs.mapserver.oms.getXMLDocument(oms.java:860)
         at oracle.lbs.mapserver.oms.doPost(oms.java:303)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:595)
    </oms_error>
    What i want to know its why the server says that the map request string is empty. As you can see the map request is not empty, but when i send to the server something happens that sends this map request string empty to the server.
    The next is the console of the omserver:
    C:\oc4j_extended>cd\
    C:\>cd C:\oc4j_extended\j2ee\home
    C:\oc4j_extended\j2ee\home>java -hotspot -Xmx512M -jar oc4j.jar
    06/07/25 11:00:49 INFO [oracle.lbs.mapserver.oms] oms root path: C:\oc4j_extended\j2ee\home\lbs\mapviewer\web\
    06/07/25 11:00:49 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    06/07/25 11:00:49 INFO [oracle.lbs.mapserver.core.MapperConfig] using default config file: C:\oc4j_extended\j2ee\home\lbs\mapviewer\web\WEB-INF\conf\mapViewerConfig.xml
    06/07/25 11:00:49 WARN [oracle.lbs.mapserver.core.MapperPool] destroying ALL mapmaker instances.
    06/07/25 11:00:50 INFO [oracle.lbs.mapserver.core.MapperConfig] setting logging level to finest
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.sdovis.CacheMgr2] In memory cache limit set to: 512MB
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperConfig] Disk-based cache is no longer supported.
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperConfig] setting proxy to: coboisa01.ag.ad.local:8080
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.core.MapperConfig]
    Allowed IPs:
    Excluded IPs:
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 ERROR [oracle.lbs.mapserver.core.MapperConfig] ###### [MapperConfig] clear-text passwords in the mapViewrConfig.xml file must be prefixed with a '!' (exclamation mark).
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperConfig] Map Recycling thread started.
    06/07/25 11:00:50 Tue Jul 25 11:00:50 GMT-05:00 2006 INFO [oracle.lbs.mapserver.oms] *** Oracle MapViewer started. ***
    06/07/25 11:01:03 Tue Jul 25 11:01:03 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] request.getRemoteUser = jazn.com/admin
    06/07/25 11:01:03 Tue Jul 25 11:01:03 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] request= <?xml version="1.0" standalone="yes"?>
    <non_map_request>
    <add_data_source name="stream"
    jdbc_host="cobodata01"
    jdbc_sid="stream"
    jdbc_port="1521"
    jdbc_user="***"
    jdbc_password="***"
    jdbc_mode="thin"
    number_of_mappers="3"/>
    </non_map_request>
    06/07/25 11:01:03 Tue Jul 25 11:01:03 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] getRequestType: nodeName=add_data_source
    06/07/25 11:01:03 Tue Jul 25 11:01:03 GMT-05:00 2006 INFO [oracle.lbs.mapserver.MapServerImpl] adding a map data src [name=stream]
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 FINEST [oracle.sdovis.SRS] loaded 748 geodetic srids.
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.sdovis.CacheMgr2] Spatial Data Cache opened. Region=SDOVIS_DATA.
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.sdovis.CacheMgr2] max_cache_size=512 MB.
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.sdovis.CacheMgr2] sub region sdovis_subreg_gis_jdbc:oracle:thin:@cobodata01:1521:stream created in cache.
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperPool] added a mapper instance to the pool [data src=stream]
    06/07/25 11:01:05 Tue Jul 25 11:01:05 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperPool] added a mapper instance to the pool [data src=stream]
    06/07/25 11:01:06 Tue Jul 25 11:01:06 GMT-05:00 2006 INFO [oracle.lbs.mapserver.core.MapperPool] added a mapper instance to the pool [data src=stream]
    06/07/25 11:01:36 Tue Jul 25 11:01:36 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] request.getRemoteUser = null
    06/07/25 11:01:36 Tue Jul 25 11:01:36 GMT-05:00 2006 FINEST [oracle.lbs.mapserver.oms] request= null
    As you can see the arrive empty to the server, what can be wrong

    Hi,
    in this map request, it looks that the basemap string is empty.
    UTL_HTTP.WRITE_TEXT(l_http_req, '<?xml version="1.0" encoding="UTF-8"?><map_request datasource="stream" srid="8307" basemap="" width="960" height="768" antialiasing="false" format="GIF_URL" title="Demonstration"></map_request>');

  • Crawled property category option: "Map all string properties in this category to the Content managed property"

    I've been searching online, and haven't been able to find a definitive answer to this. Does anyone know what the following SharePoint 2013 Search Service Application, Crawled property category option does?
    "Map all string properties in this category to the Content managed property"
    It appears when editing a crawled property category.

    Hi Vishal,
    There is no Official documentation explaining the setting "Map all string properties in this category to the Content managed property". In my opinion,  this setting will map all crawled properties which are in current category and 
    whose value is string type   to  the Content managed property.
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to map WSDL string to BAPI in IR

    Hi,can any body please let me know how to map the WSDL with XML string(notthe XML structure) to the SAP's BAPI structure. Here the BAPI structure contains tree like structure, and the WSDL(XML with one string) contains one field.
    Thanks
    Kiran

    Hi,
    create a data type for a xml that is
    inside your WSLD string
    create a java or abap mapping which will remove the
    wsld structure so you will only have xml string
    now you can map this string to bapi
    you can do it in one interface mapping
    (you just need two mappings):
    first one - remove the wsld
    second - map xml to bapi
    Regards,
    michal

  • Error Mapping XI:  String index out of range.

    Hi Experts,
    I have a problem with the mapping in XI. The transformation of data is very complex (see below) for field HBKID. I'm not having understanding the process of mapping is performed for the field HBKID. The creation of the transformation was performed using the graphical method for mapping in XI for this case. I think the person who created this data transformation didn't know that could be used USER DEFINED FUNCTION. Could you explain in more detail this MAPPING?
    In the test displays the message: RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns1:ZSD000TF01/ZVBAP/item[2]/HBKID.
    The message is: Exception:java.lang.StringIndexOutOfBoundsException: String index out of range: 3]
    Edited by: Rafael Sá on Feb 9, 2010 10:40 PM

    Hi Experts,
    So, I've done several tests on the tab of tests with various XML and I can't understand reason of the error in MAPPING.
    I'll detail a little more the problem:
    The processing of the interface is made by many items.
    MAPPING ERROR:
    When the interface processes a first item with the information below:
    CHAVE_BANCO = EMPTY
    MEIO_PGTO = D
    TP_CARTAO_CREDITO = EMPTY
    AND a second item with the information below:
    CHAVE_BANCO = 314/3705
    MEIO_PGTO = W
    TP_CARTAO_CREDITO = EMPTY
    The error occurs: The message is: Exception:java.lang.StringIndexOutOfBoundsException: String index out of range: 3]
    MAPPING OK:
    But when the processing is performed inversely, the MAPPING is done correctly.
    When the interface processes a first item with the information below:
    CHAVE_BANCO = 314/3705
    MEIO_PGTO = W
    TP_CARTAO_CREDITO = EMPTY
    AND a second item with the information below:
    CHAVE_BANCO = EMPTY
    MEIO_PGTO = D
    TP_CARTAO_CREDITO = EMPTY
    I don't understand logic mapping for the field HBKID.

  • Mapping - Split string separated by value ;

    Hi,
    I have a mapping where 4 source values makes the key for 1 target value.
    In the target string (result after value mapping) i want to get the last value in the string "TargetValue1.
    <i>SourceValue1;SourceValue2;SourceValue3;SourceValue4;TargetValue1</i>
    Can this be done without UDF? If not how should the UDF look like?
    Best Regards
    /Claes
    Message was edited by:
            Claes Widestadh

    Hi,
    Yes I have concatenated 4 source values into one string to use them as key in a value mapping to get the target value. The result from the value mapping is a string with the 4 source value + the target value. What I want to do now after the value mapping is to spit this string to get only the target value.
    The string looks like this
    Source sting
    example 1) CC;-;ADJ;fre;
    example 2) CR;+;ADJH;TD;
    Target string:
    example 1) CC;-;ADJ;fre;<b>985</b>
    example 2) CR;+;ADJH;TD;<b>553</b>
    It is the value 985 or 553 that i want to map into the target field. The position for the target value (985, 553) is not a fixed position because of that the length of the source values can vary (see example obove). That means that I cant use the substring right?
    /Claes
    Message was edited by:
            Claes Widestadh
    null
    null

  • Which is better storing string values in Map or String buffer

    Hi,
    I have a store a 10 string values in a cookie. Do i use a String buffer and append all values or put it in a hash map.
    If i put in a string buffer i have to use a string tokenizer to loop and extract the values., but if i am using a map then
    retrieval will be easier, but in terms of memory management, which is better. as i have to create this cookie for every unique IP hitting my site.
    Thanks,
    Viiveek

    viiveek wrote:
    I have a store a 10 string values in a cookie. Do i use a String buffer and append all values or put it in a hash map.
    If i put in a string buffer i have to use a string tokenizer to loop and extract the values., but if i am using a map then
    retrieval will be easier, but in terms of memory management, which is better. as i have to create this cookie for every unique IP hitting my site. In terms of memory management, StringBuffer could potentially be better as there is no need to keep key objects in memory.
    That doesn't make it a good idea. The bytes of memory you'd lose by using a Map would be made up by the fact that Map was expressly made for storing key/value pairs. Memory management should be about the 200th factor you should consider.

  • Number field type mapped as String

    Oracle Number field is mapped as CSTRING when using CRECORDSET class in VC++.
    Any ideas why? or what I should do?

    How big is the number column defined? ANything larger than a NUMBER(14) will map to a character string since there isn't a datatype large enough to hold say a NUMBER(30).
    Here is the mapping as I rememeber it (it is old information and may not be quite up to date with the latest drivers):
    if Scale = 0 then if Precision <= 4 then
    Number Size: Integer
    if Precision <= 9 then Number Size: Long
    Integer
    if Precision <= 15 then Number Size: Double
    if Scale > 0 then if Precision <= 15 then
    Number Size: Double
    Any other field types mapped to Text (Field
    Size = 255).

  • Mapping Array string response from Web service

    Hi
    Need to map the response from a sync call to a WS which contains an array of strings the response message looks like:
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <SOAP-ENV:Body>
    - <rpl:readAllRecFromDQStrArrayResponse xmlns:rpl="urn:AS400DBAccessVi">
    - <rpl:Response xmlns:pns="urn:java/lang">
      <pns:String>Row 1</pns:String>
      <pns:String>Row 2</pns:String>
      <pns:String>Row 3</pns:String>
      </rpl:Response>
      </rpl:readAllRecFromDQStrArrayResponse>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
    Need to map it to the following MT:
    WSResponse
       Response String  1..unbounded

    Hi Udo
    This the the source and target:
    SOURCE:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:AS400DBAccessWsd/AS400DBAccessVi/rpc" targetNamespace="urn:AS400DBAccessWsd/AS400DBAccessVi/rpc">
    <xsd:import namespace="urn:java/lang" />
    <xsd:element xmlns:ns1="urn:java/lang" name="Response" type="ns1:ArrayOfString" />
    </xsd:schema>
    TARGET:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://dubal.ae/SOP/SD003" targetNamespace="http://dubal.ae/SOP/SD003">
    <xsd:element name="executeDQResponse" type="executeDQResponse" />
    <xsd:complexType name="executeDQResponse">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    4c98a2b0c22d11dbbd74001125bd7544
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="String" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    09d279c0c01011dbb867001641ad833b
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Thanks

  • Msg Mapping :: Converting String ( source ) to double ( target ) Type

    Hi
    During my message mapping, I have to convert one String Field from Source Structure to Double ( primitive data type ) field in Target Structure.
    String Weight   -
    Source
    Double Wght    -
    Target
    Java Code ****
    <b>double Wght = Double.valueOf(Weight.trim()).doubleValue();</b>
    But if I use this in UDF then it has default return type as String.
    Can I change the return type in UDFs or is their any other way using which I can do this conversion.
    Best Regards
    - lalit chaudhary -

    Hi Lalita,
    Please see the following code try..
    static public double parseDouble(String s)
          return doubleValueOf(s);
    But XI always input ,output as string in MM.
    is it your requirement..?
    Regards
    Chilla..

  • EBS-  How to map search string using wild card

    Hi Gurus
    I got two similar string on bank statement which needs to be mapped to two different posting rules.
    MV-WORLDPAY- 1805 MOTO
    MV-WORLDPAY -1805 WEB
    in above string 1805 could be any no,( it is not fix no). I have tried using different wildcards and symbols like
    +,*,?,# but it is not piciking the right posting rule, also search string use is also activated. so please guide me.
    Many Thanks
    Sam Rathod.

    Hi
    Try keeping the 1st two digits of search string as b;ank. i.e. ############ (12 digits) mapped to __##########. I used underscore to denote balnk space. Using this when you recevie say 000000001618 (12 digits), it will be mapped to 0000001618 (10 digits). Then your interpretation algo will use this 10 digit number.
    Thanks
    Nikhil

  • Dialer map - long string

    I am trying to use dialer string:
    dialer map ip 10.216.254.156 name woodstock modem-script async "1234567"
    The problem is, I am trying to use calling card to dial first, and using commas for pauses to enter pin and number. I listen to line with set and it is dialing numbers correctly and phone card accepts them, but it appears that the modem drops the line right before it starts to ring, like it is timing out because it hears no dialtone in a certain amount of time, is there anyway to extend this? I have the following command set
    chat-script async "" "AT" OK "ATDT\T" TIMEOUT 120 CONNECT \c
    but it hangs up before 120 seconds?

    How long will the call drop ? 30sec ?
    Try to use "dialer wait-for-carrier-time" under interface.
    Check below :
    http://www.cisco.com/en/US/products/ps6350/products_command_reference_chapter09186a0080443780.html
    Hope this helps.

  • ODBC / MFC: Numbers are mapped to String

    Somebody else had a comparable problem a few months ago, but so far I found no solution.
    We have fields in the database defined as number(11). When we read them via ODBC (using the latest Oracle ODBC driver) in Visual C++ 6.0 (service pack 4) with CRecordSet it is mapped to CString instead to a long.
    Here a code example:
    CRecordset SzName(&DB);
    CString SQLQueryText;
    CDBVariant varValue;
    SQLQueryText.Format("SELECT * FROM ACTION");
    SzName.Open(CRecordset::forwardOnly, _T(SQLQueryText), CRecordset::readOnly);
    SzName.GetFieldValue("STATE",varValue);
    STATE is defined as number(11) and varValue interprets it as a string!
    Any ideas how to solve this problem?
    Thank you very much for your help.
    -- Frank

    You can go into the MFC Wizard generated code and manually change the RFX_ field exchange to Doubles/Floats and it will work.

  • Map of Maps to string [] question:

    Hello All,
    I have a map with a keyset of names, that have typed objects as their values.
    Like:
    firstMap(name, typedObj);
    Then I add that map to another map as in:
    secondMap.put(groupName, firstMap);
    and then I want to pull the typedObjects out into a string [], but I'm getting a class cast exception.
    On this line:
    secondMap.put(groupName, firstMap);
    groupName is an arrayList of string group names. Seems like I shouldn't be able to put that in as a key.
    What is the best way to do this?
    Message was edited by:
    jamesEston

    int count = 0;
    Map primaryMap = new HashMap();
    Map secondaryMap = new HashMap();
    String selectedObj = "Group";
    List list = new ArrayList();
    for(int j=0; j < 5; j++){
    Column c = new Column();
    c.setColNum(count);
    c.setBlockHeader("blockHeader" + "_" + count);
    c.setColumnAlias("adv_num" + "_" + count);
    c.setColumnDesc("num for adv" + "_" + count);
    count++;
    list.add(c);
    for(int j = 0; j < list.size(); j++) {
    Column col = (Column) list.get(j);
    primaryMap.put(col.getColumnAlias(), col);
    secondaryMap.put(selectedObj, primaryMap);
    Here is a code sample that I'm doing to test all this. I'm working on it separately to make it easier. Basically, I want to use group as a top level grouping and under that I've got a blockHeader and under that I've got column objects associated with that particular blockHeader. I want to take the blockHeader with it's associated columns and display that as a group, then the next blockHeader with it's column(s) and then the next, etc... in a jsp page. Maybe a string array of column objects isn't the right framework. Is there a better way to do this?
    headerBlockA
    columnA,
    columnB,
    columnC
    headerBlockB
    columnBA,
    columnBB
    headerBlockC
    columnCA, etc....
    Alongside of each column is a checkbox for the user to select.
    Any ideas on this one?

  • Map ID String Length Limit?

    Any one know if there is a maximum length for valid map IDs
    in WinHelp?
    A few of my long IDs ( > 32 chars.) do not call help
    topics from the application.
    Everything else seem to be in order. Identically-formed IDs
    in neighboring topics work properly.
    Other ideas?

    Hi, ^^&&^^,
    According to Microsoft's Help Author's Guide:
    quote:
    * Topic IDs can contain spaces, but avoid leading and
    trailing spaces.
    * Do not use reserved characters (# = + @ * % !).
    * Use no more than 255 characters.
    * Do not begin a topic ID with a number if the ID will also
    be used in the [MAP] section.
    Can you reproduce the problem using the test
    facilities in RoboHelp or Microsoft Help Workshop? That would help
    to show whether the problem lies in your help file or in the calls
    that the application is making to it.
    Pete

Maybe you are looking for

  • Why is my itune libary missing content on Apple TV  iTunes menu

    why is my itune libary missing content on Apple TV  iTunes menu

  • Starting with a cocoa app/plugin on mac - How?

    Hi, I want to start with an new app/plugin for Mac OS X. For this I need to get the image data out of Photoshop. Basicly I just need an thumbnail of what the user is seeing and then pipe this to my application. Is that possible and how should I start

  • Search feature of this forum

    Anybody else notice how extremely bad the search "feature" of this forum is? I type in one or two word phrases (such as cfdocument align) and it almost always returns zero results (probably 95% of the time, the other 5% are usually nothing helpful or

  • How do i enable drag and drop?

    Im trying to move specific music from my imac onto my iphone, via drag and drop but it isnt letting me do so, only syncing my entire collection of music.. help?

  • Insert space between records from open .. close dataset

    I am generating a file that contains different information for a business partner with the aid of datasets. I want my records to look like this ... partner1 BPname1 address1 contact info1   - from table1 partner2 BPname2 address2 contact info2 partne