Hi Jackie,
You cannot update a field based on a calculation since the API does not offer you a method to do that.
The update command requires a FDO property value, where you may set the name and the value, but no expression may be passed, however it something definitively nice to have.
Regards,
Romy.
________________________________________
From:
[hidden email] [
[hidden email]] On Behalf Of Jackie Ng [
[hidden email]]
Sent: Thursday, April 23, 2009 9:50 PM
To:
[hidden email]
Subject: [fdo-users] Update commands
Hi All,
Can IUpdate commands handle computed expressions?
For example, say I have a feature class with a datetime property "MyDate"
Can I issue an IUpdate command on that feature class to set:
MyDate = CurrentDate()
with a filter: MyDate NULL
is this possible?
- Jackie
--
View this message in context:
http://n2.nabble.com/Update-commands-tp2689227p2689227.htmlSent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users_______________________________________________fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users