Hi Russ,
sort ect are def just simple vars. I have hard coding the sortcolum and sort
vars and got the same error.
it looks right to me also, company is not a string tho should it be something
like this....
EntityLoad("Campaign",{company.getCom_id(1)},"#sortColumn# #sort#");
however i know that won't work.
if i dump out Campaign this is what I see...
camp_id 1
camp_name 1
camp_description 1
camp_startDate {ts '2010-10-10 00:00:00'}
camp_endDate {ts '2010-10-17 00:00:00'}
camp_active YES
company [cfc2] component model.company
PROPERTIES
com_id 1
com_name Glyn Inc
>Syntax Looks valid to me, perhaps it is just tempremental about the quotes.
>
>try
>returnobj = EntityLoad("Campaign",{company="1"},"#sortColumn# #sort#");
>
>are you sure sortorder and sort are simple variables and not complex
>variables ?
>
>Russ
>
>On Tue, Oct 19, 2010 at 6:50 PM, Glyn Jackson
><[email protected]>wrote:
>
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338343
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm