How to get d_DateLastChanged column from BasketGroup table?
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
How to get d_DateLastChanged column from BasketGroup table?

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
MJ
Guest





Posted: Mon Oct 17, 2005 4:51 pm    Post subject: How to get d_DateLastChanged column from BasketGroup table? Reply with quote

Hi,
Is there a way to retrieve the value of the column d_DateLastChanged from
BasketGroup table without using a sqlquery.
Thanks
Back to top
Nihit Kaul [MSFT]
Guest





Posted: Tue Oct 18, 2005 12:50 am    Post subject: RE: How to get d_DateLastChanged column from BasketGroup tab Reply with quote

You can load the Basket from the DB and then access the property as an
indexer property on the Basket and see if that works for you. Not sure how
you are wanting to get this value if not by doing a query.

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Back to top
MJ
Guest





Posted: Tue Oct 18, 2005 4:51 pm    Post subject: RE: How to get d_DateLastChanged column from BasketGroup tab Reply with quote

Thanks Nihit for the response. What I meant was that I want to show the value
that is in the d_DateLastChanged of the BasketGroup table. Can I access this
field using basket.orderforms["default"]["d_DateLastChanged"] or is there any
other way ‘cause when I use basket.orderforms["default"]["d_DateLastChanged"]
it fails.
I know this property/field is not visible when I say
basket.orderforms["default"].SomeValue..( I can't see any property for the
d_DateLastChanged). I hope I was able to express what I want to do.
I can get the value using the sql statement but just wanted to check
before moving on to that option if I could get it from the orderforms..
Thanks
Back to top
Nihit Kaul [MSFT]
Guest





Posted: Wed Oct 19, 2005 12:51 am    Post subject: RE: How to get d_DateLastChanged column from BasketGroup tab Reply with quote

Did you try directly at the Basket level? E.g.

basket["d_DateLastChanged"]

I think this might be an OrderGroup level property instead of on the
OrderForm.

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Back to top
MJ
Guest





Posted: Wed Oct 19, 2005 8:51 pm    Post subject: RE: How to get d_DateLastChanged column from BasketGroup tab Reply with quote

Thanks Nihit,
It worked.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB