Re: rawRowsForSql - appending a Number to the String [SOLVED]
Re: rawRowsForSql - appending a Number to the String [SOLVED]
- Subject: Re: rawRowsForSql - appending a Number to the String [SOLVED]
- From: "Jonathan Fleming" <email@hidden>
- Date: Sun, 09 Nov 2003 23:58:27 +0000
From: George Domurot <email@hidden>
To: "Jonathan Fleming" <email@hidden>
CC: email@hidden, email@hidden
Subject: Re: rawRowsForSql - appending a Number to the String
Date: Sun, 9 Nov 2003 16:50:49 -0500
Jonathan: I believe, all you need to do is call the toString() method to
get the String equivalent of the Number.
Hi George, this worked perfectly thanks.
On Nov 9, 2003, at 8:05 AM, Jonathan Fleming wrote:
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.
_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection
http://www.msn.co.uk/specials/btbroadband
_______________________________________________
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.