• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
rawRowsForSql - appending a Number to the String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rawRowsForSql - appending a Number to the String


  • Subject: rawRowsForSql - appending a Number to the String
  • From: "Jonathan Fleming" <email@hidden>
  • Date: Sun, 09 Nov 2003 13:05:58 +0000

Is it possible to use a PK (Number type) dynamically with rawRowsForSql? As you know the SQL String argument is of a String types. Eg.

aTbCategoryList = new NSMutableArray(EOUtilities.rawRowsForSQL(ec,
"BTT", "SELECT DISTINCT dbo.TB_CATEGORY.CATEGORY_NAME FROM dbo.TB_CATEGORY INNER JOIN dbo.TB_ADMIN_USER ON dbo.TB_CLIENT.TB_ADMIN_USER_ID = " + new Integer( ((Application)application()).getTbAdminUserID())));


The code works without the PK appended, obviously, but I need to be able to dynamically enter the PK.
Any suggestions?


Regards
Jonathan :^)

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: rawRowsForSql - appending a Number to the String
      • From: George Domurot <email@hidden>
  • Prev by Date: binding a complete component to an object
  • Next by Date: Re: Web Objects and XHTML
  • Previous by thread: Re: binding a complete component to an object
  • Next by thread: Re: rawRowsForSql - appending a Number to the String
  • Index(es):
    • Date
    • Thread