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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to