Microsoft Access Not finding correct Linked SqlServer records

Microsoft Access 2010 application is not returning the correct linked records from a SqlServer 2008 database.
For simplicity on the Access side I have a query such as:
column XYZ is defined on the SqlServer as Nvarchar(1);
Select * from LinkedSqlTable where XYZ in ("D","F","X");    
However, it is returning records where XYZ = capital I or capital A only.
If I run a similar query via Management Studio on SqlServer
Select * from LinkedSqlTable where XYZ in ('D','F','X');   
 then the correct D, F or X records are returned.
I have tried using ... Trim(XYZ) in  ("D","F","X");  
                            ...  trim(XYZ) = "D" or trim(XYZ) = "F" or trim(XYZ) = "X";
and in a separate query I have grouped the records to verify the values I am looking for exist and do not have spaces or some special character attached in some way.
I would appreciate any ideas.

 The solution was to setup unique indexes on the SqlServer side, relink the SqlServer table in Access (Link Manager) and the queries seem to be running as needed.   For some reason, copying the linked table to Access, instead of linking, then running
the queries against those "downloaded" table seem to work just fine, even without setting up Primary keys.   As a review, using a Query window via SqlServer Mgt Studio one would set up the indexes as the following (notice a clustered index need all key
fields not to be NULL before a clustered index can be setup.
  Alter Table DatabaseX.dbo.[TableX] Alter Column [Field1]   nvarchar(7) NOT NULL;
  Alter Table DatabaseX.dbo.[TableX] Alter Column [Field2]  nvarchar(2) NOT NULL;
  Alter Table DatabaseX.dbo.[TableX] Alter Column [Field3]  nvarchar(5) NOT NULL;
  Alter Table DatabaseX.dbo.[TableX] Add  CONSTRAINT PK_TableX
        PRIMARY KEY CLUSTERED ([Field1] Asc, [Field2] Asc, [Field3] Asc);
An remember to relink the table on the Access side once this has been accomplished. Thanks for the help.
Bernie OBryan

Similar Messages

  • Could not find the linked file

    I open a PDF to edit it in Adobe Illustrator and get several messages like this:
    Could not find the linked file "whatever.gif". Choose Repair to locate the missing
    file, Replace to select another file, or Ignore to leave the link unchanged.
    When I open that same PDF up in Adobe Acrobat Pro, however, all images display - even the ones that Adobe Illustrator seems to be trying to "link" to.
    If Adobe Acrobat Pro doesn't require the images be stored locally on the hard drive, why does Adobe Illustrator require it?

    PrepressPro1 wrote:
    It would seem Illustrator compatability was not checked when the PDF was saved.
    Actually it seems it was checked, and Illustrator is opening the AI portion of the file, which links to an external file. The PDF portion can only use embedded images, so that cannot be what Illustrator is reading.
    The PDF was saved from Illustrator with "Include Illustrator Editing Capability" turned on. This option saves the native AI file within the PDF so it can be edited with Illustrator. The drawback is that linked images need to be supplied as well, and in this case they were not. Acrobat ignores the AI portion of he file and only reads the PDF data, which contains an embedded copy of the image, which has probably been heavily modified from the original for embedding in the PDF. Expect the image to have some or all on these modifications: JPEG compression, downsampling, flattening, conversion from RGB to CMYK or from CMYK to RGB, cropping.
    Your best option is to ask the original file's supplier to send you the missing image. Illustrator's Links panel will tell you the file name. If that's not an option, open the PDF with Photoshop and select Images instead of Pages to open. Select the image from the thumbnails shown, open it, then save. Switch back to Illustrator and link to that image.

  • Facebook Like Button - Could not find the linked file ....

    Hi All,
    Hope everyone is ok!
    I have a question:
    I have downloaded the Facebook Like Button (https://www.facebookbrand.com/), in AI format, and, when I open it in Illustrator CS6 *trial version*, I get: "Could not find the linked file "likeicon_7-17a.ai". Choose Replace to select another file, or Ignore, to leave the link unchanged".
    If I click "Ignore", the file is displayed, without the "thumbs-up" icon.
    Why does it do this?
    The only "ai" file in the archive is the entire logo. There is no "likeicon_7-17a.ai".
    Here is the archive, if someone can tell me what is going, i would be happy!
    http://speedy.sh/D642Q/logos-and-badges-like-button-print-packaging-ai.zip
    Thanks!
    Chris
    P.S.: I apologize for the "weird" username, but, the forum software wouldnt allow any username I picked!
    Thanks again!
    Chris

    the file is constructed poorly.
    You could download the thumbsup.ai file and then simply copy/paste it to the like button file.

  • Query not returning correct number of records

    Hi Guys,
    Can someone please tell me why this query is not retrieving the correct number of records.
    I have a table with six users
    FIRST_NAME          LAST_NAME
    David               Robert
    Martin               Fisher
    Henry               Robert King
    Edmund               Tomkinson
    Williams          Hayes Robert
    Tina               Belkins
    When I run a query, SELECT * FROM USERS WHERE LAST_NAME LIKE 'Robert';
    I only get 1 record back (David Robert). Is the space between the last name
    causing this? If yes, How can I rewite the query?

    show a copy-paste example of your query...
    you need to use a wild card with LIKE, as in
    SQL> create table test
      2  (first_name varchar2(50)
      3  ,last_name varchar2(50)
      4  );
    Table created.
    SQL>
    SQL> insert into test values ('David' , 'Robert'           );
    1 row created.
    SQL> insert into test values ('Martin', 'Fisher'           );
    1 row created.
    SQL> insert into test values ('Henry' , 'Robert King'      );
    1 row created.
    SQL> insert into test values ('Edmund', 'Tomkinson'        );
    1 row created.
    SQL> insert into test values ('Williams',  'Hayes Robert');
    1 row created.
    SQL> insert into test values ('Tina',  'Belkins');
    1 row created.
    SQL>
    SQL> SELECT * FROM test WHERE LAST_NAME LIKE 'Robert';
    FIRST_NAME
    LAST_NAME
    David
    Robert
    SQL>
    SQL> SELECT * FROM test WHERE LAST_NAME LIKE '%Robert%';
    FIRST_NAME
    LAST_NAME
    David
    Robert
    Henry
    Robert King
    Williams
    Hayes Robert

  • Worksetmap not showing correct links when we launch via quick link

    Hello Portal gurus,
    My Scenario:
    I'm using EP7 (SP
    Launch a quick link from a HTML to display Worksetmap iview.
    Problem:
    Displays the whole role node of links but not the relevant links.
    Displays properly when we click on the relevant DTN(detailed level navigation node(has the quicklink)) node.
    Any suggestions?
    Thanks in advance.
    Cheers,
    Surya

    Hi, the username and password on D-Link routers is case sensitive, particularly the first letter of the username.
    My Cisco Network Magic Configuration:
    Router: D-Link WBR-2310 A1 FW:1.04, connected to Comcast High Speed Internet
    Desktop, iMac: NM is on the Windows Partition, using Boot camp to access Windows, Windows 7 Pro 32-bit RTM, Broadcom Wireless N Card, McAfee Personal Firewall 2009,
    Mac Partition of the iMac is using Mac OS X 10.6.1 Snow Leopard
    Laptop: Windows XP Pro SP3, Intel PRO/Wireless 2200BG, McAfee Personal Firewall 2008
    Please note that though I am a beta tester for Network Magic, I am not a employee of Linksys/Cisco and am volunteering my time here to help other NM users.

  • Package feature not finding all Links

    I have a master Illustrator file which in turn has individual illustrator files placed in the master. The master is then placed in an InDesign document. When the package feature is used, the placed files to the master Illustrator file are not placed in the links folder, only the files directly linked to the InDesign document are included. Now I know it can work this way, I have a rather large project completed this way. I was wondering if the files have to be in a specific hierarchy to work right? Any thoughts?
    Thanks in advance.
    Chris

    Thanks for the reply.
    I could see that of ID, but it is the Preflight feature that has found them in the past. As I say, I just got through with a project that when I did the Preflight Package it placed all 15 of the graphics linked to the master .ai file in the package's links folder along with the master .ai file.
    This latest project didn't find them and one thing I see is that the files are in a different hierarchy in the file structure. The last project had all of  the linked .ai files in the same folder as the master .ai file and the latest one does not. I guess I need to do some experimenting.

  • After my first questio: can not find the link for free download firefox 6. You answered and I used the link you send. nr 5 was downloaded but it did not work on a minimac it said the version of the mac does not allow it. What to do use the 3.6

    The upgrade notification did not give a free download icon so I asked you and you replyed with an email with a link. I went to the page and could happily download nr 5 instead of 6 but well.
    Now firefox gives still the notification to upgrade and what i downloaded does not work on my mac with safari.
    So can i savely stay with 3.6 ?

    You can't use Firefox 4 on Mac OS X 10.4, on on 10.5 you need the Intel chip.
    It would be easier if you replied to your original question, so someone can see what you are talking about. There are a lot of questions asked even in a single day so we can't see what that was easily. If you need to redownload 3.6.17 then
    http://www.mozilla.com/en-US/firefox/all-older.html
    I tried a search on your name and that didn't work, but you could possibly have found your previous post via the "My contributions" link at the top of
    https://support.mozilla.com/questions
    I doubt that Firefox 5 or 6 would be any different, once support is dropped for hardware or operating system it stays dropped, you need to stay with version 3.

  • I bought an iwork family pack in Feb 2012 online and can not find a link to download it so that I can put my serial number to install it. Anyone can provide one? I tried at the apple site but couldnt find anything that was not the individual applications

    I bought a new powermac but it seems the family iwork app has dissapeared from the app store

    Peggy,
    Thanks for your reply. My bad. I meant Macbook Pro (Not powermac). I still have the receipt and the email from the apple store. The total price was $99 as you can see below on the screenshot of the email. I changed the order number just in case. Anyway. I just want a link that would allow me to insert my activation key so that I can use Iwork on my new macbook pro. Thanks in advance again for your help
    Order Acknowledgment 
    Order Number: xxxxxxxx
    Ordered on February 04, 2012
    Items to be Shipped
    iWork Family Pack - Serial Number Key
    $99.00
    1
    $99.00
    Ships: Now

  • TS1702 Purchased in app content but did not receive, can not find a link to report the problem

    I paid for in app content and it said my phone could not connect to itunes and my purchase had not been finished, i did not receive anything. I left it a day and re-tried and this time was sucessful. however I have been charged twice, once for the original purchase which gave me nothing and again for the second which did give me what I was expecting. Been looking on apples website for help but have been getting no where fast.I receieved an email giving details of my purchases and it has a report a problem link but doesnt actually help.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • ABAP query not returning correct number of records

    Hi,
    I have created an ABAP Query using logical database VFV and nodes VBRK, VBUK and VBRP.
    But, after entering values for Sales Organisation ( VBRK-VKORG ), Distribution channel ( VBRK-VTWEG ) and Date ( VBRK-FKDAT), the number of records that I get are very less in number as compared to the actual number in the database.
    Please give some pointers to the reason. I have set Lines 60 and Columns length - 83 and selected ALV List.
    Regards,
    Garima.

    Hi Garima,
    Please Check whether you are selecting all the Key fields in your Query.
    Thanks & Regards,
    Ashok kumar.

  • FOR ALL ENTRIES not returning correct number of records

    Hi,
    I have the following code: -
      SELECT vbelv                                     "Delivery
             posnv                                     "Delivery Item
             rfmng                                     "GR Qty
             plmin                                     "Sign
             INTO TABLE t_gr
             FROM vbfa
             FOR ALL ENTRIES IN t_deliveries
             WHERE vbelv   EQ t_deliveries-vbeln
               AND posnv   EQ t_deliveries-posnr
               AND vbtyp_n EQ c_goods_receipt.
    The internal table t_deliveries has a single entry. The table VBFA has 5 records for the delivery/item.
    When the SQL is executed it returns 4 records. If I amend the code to use the following it returns the 5 records. Has anybody had a similar issue.
      LOOP AT t_deliveries INTO st_deliveries.
        SELECT vbelv                                     "Delivery
               posnv                                     "Delivery Item
               rfmng                                     "GR Qty
               plmin                                     "Sign
               APPENDING TABLE t_gr
               FROM vbfa
               WHERE vbelv   EQ st_deliveries-vbeln
                 AND posnv   EQ st_deliveries-posnr
                 AND vbtyp_n EQ c_goods_receipt.
      ENDLOOP.

    FOR ALL Entries can fatch only the unique rows from the table. So, check in the VBFA for the your inputs and the output fields, you will have only 4 unique records. That's why it is picking up only 4 records.
    Try to include one more fields which makes every row as a unique row.
    Regards,
    Naimesh Patel

  • Media Explorer not finding correct location

    Hi, recently i bought a external HDD, i have moved all of my music onto this so it doesnt sit on my computer. To reach this dri've i have it mapped to my network and access it through "network places".
    However when i open the media explorer and try "add media" i can't add my music as it doesnt allow you to select "my network places" as a drop down option.
    could someone suggest how i would go about doing this? so that i can select the music off my network and put it on my zen
    Thanks in advance

    ahhh, that would be it. for some reason before when i mapped it it went through to my network places, so i went through to the external hard dri've as part of the network then mapped it, thank you works perfect now.
    think i it was just me being stupid but thanks again

  • Could not find linked file if server name of those linked files have changed.

    Dear Bros,
    Our server path is \\server01 (Mapped P drive), recently all file of AI and linked file was moved to new server location \\server02 without changing drive letter because of critical needs.
    However, we've encountered a error as below when opening the AI file after moving all file to new location.
    "Could not find the linked file"a10N.jpg". Choose replace to select another file or Ignore to leave the link unchanged."
    I believed that it is required to replace and point the file to correct location that should be solved for the time being.
    Unfortunately, i estimated that there are over thousands of linked files I need do aforesaid action to solve, it is very difficult to do it one by one...
    Is there any tools or method i can be rapidly to replace or point all linked file to correct location?
    Appreciated if anyone can help me? Thanks
    Kelvin

    AI stores the UNC paths that resolve the full network location, not mapped drives, when absolute paths are used. Only paths relative to the document location in the same folder or lower do not use that info. You would have to batch process your files to fix your paths, but perhaps it would be sufficient to create a virtual network location that mimics your old server and point it to the same path on the server....
    Mylenium

  • 10g exporting to CSV using client_text_io is not working correctly.

    I have an odd issue which i could do with some help with. I run an function that exports to CSV based on an pre defined record group.
    This has been working fine for many months with various customers. Recently a new customer used it and they have 28k rows in his record group and the export is actually not exporting correctly.
    The record group has a record count of 28331.
    The CSV produced has only 3756 in my CSV file. These are the last 3756 records in the Record group so its as if its overwriting the data as it goes yet all smaller datasets work
    FUNCTION fun_export_csv (vgraphid NUMBER, p_filename VARCHAR2)RETURN BOOLEAN IS
      out_file                      client_text_io.file_type; 
         i                                             NUMBER;
      lv_line              VARCHAR2(5000);
    BEGIN
    rg:=populate_group('RG11_EXP');               
    synchronize;
    lv_line:= ('"GIN","Gin Date","PO Num","PO Required Date","Mat Num","Mat Description","Supplier Part No","On Time Delivery(Yes-1, No-0)"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    For i in 1..get_group_row_count('RG11_EXP') Loop--this count is 28331
    lv_line:= ('"'||get_group_number_cell('RG11_EXP.col1', i )                 ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.grn_date', i )                 ||'"'|| ',' ||'"'||                                          
         get_group_number_cell('RG11_EXP.po', i )       ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.daterqd', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.item_no', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.desc', i )                    ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.part_no', i )               ||'"'|| ',' ||'"'||
         get_group_number_cell('RG11_EXP.ontime', i )                    ||'"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    END LOOP;     
    client_text_io.FCLOSE(out_file);
    RETURN TRUE;          

    Hello,
    Try to insert a "synchronize" instruction from time to time:
    i  pls_integer := 1;
    Loop
      If mod(i, 500) = 0 Then
         synchronize;
      End if ;
      i := i + 1 ;
    End loop;
    ...<p>But keep in mind the the CLIENT_TEXT_IO generate a lot of network traffic, so it is better and faster to generate the file on the A.S., then after transfer it to the client machine.</p>
    Francois

  • How to find the link between strcture and query technical name

    Hi Guru's
    How to find the link between Strcture in the query and query technical name. In other way where used list of the structure  used in queries?
    I know we have table called RSZELTDIR which have the values of strcuture name. from here i do not find any link to query technical name.
    Please can anyone help me?
    Regards,
    Sirisha

    Hi ,
    For structure and query relationship, the structure has to be a reusable structure( a global one). Then you can right click in on the structure name (in BEX query designer) and select the where used list. You will find all the query names where it is being used.
    U can also check out tables RSRREPDIR and RSZCOMPDIR for other query properties.
    Thanks,
    Amit

Maybe you are looking for

  • Problem entering the Host Printer name in SPAD...

    Hi, I have problem configuring the printer in SPAD. In the access method, I am trying to add the TCP/IP address of the network printer instead of the printer UNC name. Is this the problem ? If yes then how do I get the UNS name of the printer attache

  • Panel form in view mode when table row select

    Dear All, I have a table and a detail form(created by dragging the vo in form). by default when i select the row in af:table then the detail form is in edit mode. I want to have default view mode(panel form fields to be uneditable) and an edit button

  • MM vs ABAP

    hello Gurus without basic understanding of ABAP material, will i be able to function efficiently in MM role? thanks rash

  • Q: Where can I find example for expert routine

    Hi, Experts, I would like to use expert routine but I can't find any exmaple, especially on RECORDMODE setting. Can any body tell me the resource? Thanks a lot! Best Regards Yuedong

  • Troubles with playing out from Final Cut Studio to a camera

    hello! have troubles when playing out to a DV camcorder. i 've got a mac mini intel, final cut studio and 2 sony DV cameras with dv in. capturing works fine, but when i put the captured movie to the timeline, then on both cameras there are 4 small ba