Changeset 2994
- Timestamp:
- 03/28/07 00:07:53 (2 years ago)
- Files:
-
- trunk/dabo/biz/dBizobj.py (modified) (1 diff)
- trunk/dabo/dException.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/biz/dBizobj.py
r2940 r2994 881 881 child.setCurrentParent(pk) 882 882 883 def moveToPK(self, pk): 884 """Move to the row with the specified pk value, or raise RowNotFoundException.""" 885 row = self.seek(pk, self.KeyField, caseSensitive=True, runRequery=True) 886 if row == -1: 887 raise dabo.dException.RowNotFoundException, "PK Value %s not found in the dataset" % pk 883 888 884 889 def seek(self, val, fld=None, caseSensitive=False, trunk/dabo/dException.py
r2921 r2994 22 22 pass 23 23 24 class RowNotFoundException(dException): 25 pass 24 26 25 27 class FeatureNotImplementedException(dException):
