On 8/9/06, Ray West <[EMAIL PROTECTED]> wrote:
Hi,
In MS SQL Server, whenever I create a record and do this:
<cfset objUser.setUserID(1) />
<cfset objUser.load() />
I get an ambiguous record error, even though there is only one record in
the table with that ID.
When I do:
<cfset objUser.load(UserID=1) />
It works fine.
Any help appreciated...
Ray
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
Chris Phillips
www.dealerpeak.com
Senior Application Developer
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
