Muokkaa

Jaa


Recordset (ADO - WFC Syntax)

package com.ms.wfc.data

Constructors

public Recordset()  
public Recordset(Object r)  

Methods

public void addNew(Object[] fieldList, Object[] valueList)  
public void addNew(Object[] valueList)  
public void addNew()  
public void cancel()  
public void cancelBatch(int affectRecords)  
public void cancelBatch()  
public void cancelUpdate()  
public Object clone()  
public Object clone(int lockType)  
public void close()   
public int compareBookmarks(Object bookmark1, Object bookmark2)  
public void delete(int affectRecords)  
public void delete()  
public void find(String criteria)  
public void find(String criteria, int SkipRecords)  
public void find(String criteria, int SkipRecords, int searchDirection)  
public void find(String criteria, int SkipRecords, int searchDirection, Object bmkStart)  
public Object[][] getRows(int Rows, Object bmkStart, Object[] fieldList)  
public void move(int numRecords)  
public void move(int numRecords, Object bmkStart)  
public void moveFirst()  
public void moveLast()  
public void moveNext()  
public void movePrevious()  
public Recordset nextRecordset()  
public Recordset nextRecordset(int[] recordsAffected)  
public void open()  
public void open(Object source)  
public void open(Object source, Object activeConnection)  
public void open(Object source, Object activeConnection, int cursorType)  
public void open(Object source, Object activeConnection, int cursorType,   
                  int lockType)  
public void open(Object source, Object activeConnection, int cursorType,   
                  int lockType, int options)  
public void requery()  
public void requery(int options)  
public void resync()  
public void resync(int affectRecords, int resyncValues)  
public void save(String fileName)  
public void save(String fileName, int persistFormat)  
public boolean supports(int cursorOptions)  
public void update()  
public void update(Object[] valueList)  
public void update(Object[] fieldList, Object[] valueList)  
public void updateBatch()  
public void updateBatch(int affectRecords)  

Properties

public int getAbsolutePage()  
public void setAbsolutePage(int page)  
public int getAbsolutePosition()  
public void setAbsolutePosition(int pos)  
public Command getActiveCommand()  
public Connection getActiveConnection()  
public void setActiveConnection(String conn)  
public void setActiveConnection(com.ms.wfc.data.Connection c)  
public boolean getBOF()  
public boolean getEOF()  
public Object getBookmark()  
public void setBookmark(Object bmk)  
public int getCacheSize()  
public void setCacheSize(int size)  
public int getCursorLocation()  
public void setCursorLocation(int cursorLoc)  
public int getCursorType()  
public void setCursorType(int cursorType)  
public String getDataMember()  
public void setDataMember(String pbstrDataMember)  
public Iunknown getDataSource()  
public void setDataSource(IUnknown dataSource)  
public int getEditMode()  
public Object getFilter()  
public void setFilter(Object filter)  
public int getLockType()  
public void setLockType(int lockType)  
public int getMarshalOptions()  
public void setMarshalOptions(int options)  
public int getMaxRecords()  
public void setMaxRecords(int maxRecords)  
public int getPageCount()  
public int getPageSize()  
public void setPageSize(int pageSize)  
public int getRecordCount()  
public String getSort()  
public void setSort(String criteria)  
public String getSource()  
public void setSource(String query)  
public void setSource(com.ms.wfc.data.Command command)  
public int getState()  
public int getStatus()  
public boolean getStayInSync()  
public void setStayInSync(boolean pbStayInSync)  
public com.ms.wfc.data.Field getField(int n)  
public com.ms.wfc.data.Field getField(String n)  
public com.ms.wfc.data.Fields getFields()  
public AdoProperties getProperties()  

Events

For more information about ADO/WFC events, see ADO Event Instantiation by Language.

public void addOnEndOfRecordset(RecordsetEventHandler handler)  
public void removeOnEndOfRecordset(RecordsetEventHandler handler)  
public void addOnFetchComplete(RecordsetEventHandler handler)  
public void removeOnFetchComplete(RecordsetEventHandler handler)  
public void addOnFetchProgress(RecordsetEventHandler handler)  
public void removeOnFetchProgress(RecordsetEventHandler handler)  
public void addOnFieldChangeComplete(RecordsetEventHandler handler)  
public void removeOnFieldChangeComplete(RecordsetEventHandler handler)  
public void addOnMoveComplete(RecordsetEventHandler handler)  
public void removeOnMoveComplete(RecordsetEventHandler handler)  
public void addOnRecordChangeComplete(RecordsetEventHandler handler)  
public void removeOnRecordChangeComplete(RecordsetEventHandler handler)  
public void addOnRecordsetChangeComplete(RecordsetEventHandler handler)  
public void removeOnRecordsetChangeComplete(RecordsetEventHandler handler)  
public void addOnWillChangeField(RecordsetEventHandler handler)  
public void removeOnWillChangeField(RecordsetEventHandler handler)  
public void addOnWillChangeRecord(RecordsetEventHandler handler)  
public void removeOnWillChangeRecord(RecordsetEventHandler handler)  
public void addOnWillChangeRecordset(RecordsetEventHandler handler)  
public void removeOnWillChangeRecordset(RecordsetEventHandler handler)  
public void addOnWillMove(RecordsetEventHandler handler)  
public void removeOnWillMove(RecordsetEventHandler handler)  

See Also

Recordset Object (ADO)