Changeset 3336

Show
Ignore:
Timestamp:
09/02/07 11:34:15 (1 year ago)
Author:
ed
Message:

Added UserSQL to the properties that are synced with the bizobj's cursors.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/biz/dBizobj.py

    r3314 r3336  
    6767        self._scanReverse = False 
    6868        self._SQL = "" 
     69        self._UserSQL = "" 
    6970        self._requeryOnLoad = False 
    7071        self._parent  = None 
     
    15031504            crs.AutoQuoteNames = self._autoQuoteNames 
    15041505            crs.Table = self._dataSource 
     1506            crs.UserSQL = self._userSQL 
    15051507            crs.VirtualFields = self._virtualFields 
    15061508            crs.Encoding = self.Encoding 
     
    18541856 
    18551857    def _getUserSQL(self): 
    1856         try: 
    1857             v = self._CurrentCursor.UserSQL 
    1858         except AttributeError: 
    1859             v = None 
    1860         return v 
     1858        return self._userSQL 
    18611859 
    18621860    def _setUserSQL(self, val): 
    1863         self._CurrentCursor.UserSQL = val 
     1861        self._CurrentCursor.UserSQL = self._userSQL = val 
    18641862 
    18651863