| Author |
Message |
MJ
Guest
|
Posted:
Mon Oct 17, 2005 4:51 pm Post subject:
How to get d_DateLastChanged column from BasketGroup table? |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
Thanks Nihit,
It worked. |
|
| Back to top |
|
 |
|
|
|
|