Results 1 to 3 of 3

Thread: Using Like SQL Command with numerec field type in Crystal Report(Resolved)

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    142

    Using Like SQL Command with numerec field type in Crystal Report(Resolved)

    Hi
    I am using the following SQL command to retrieve all the items records start with item number # 6 for the field ITEM NUMBER, the result is OK:
    Code:
    SELECT * FROM LIST_ITEMS WHERE LIST_ITEMS.[ITEM NUMBER]
    Like '*6*' AND LIST_ITEMS.[ITEM Description] Like '**' ORDER BY
    LIST_ITEMS.[ITEM NUMBER];
    But when I use the following SQL for retrieving the same result in Crystal report, It does not work, like command seems will not work with numerical field type, it only accepts the equal sign:
    Code:
    {LIST_ITEMS.ITEM NUMBER} Like '*6*' And {LIST_ITEMS.ITEM
    Description} Like "*"
    Am I missing any parameters in the above code, appreciate your help
    Last edited by maqmaq; Sep 22nd, 2003 at 01:26 PM.
    On error goto vbforums.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width