Xbase DBMS Appendix B

Xbase DBMS Quick Reference

Page Updated 2/19/04


Xbase Quick Reference Method List

xbShort rc xbDbf::AppendRecord()
void xbDbf::AutoLockOff()
void xbDbf::AutoLockOn()
xbShort rc xbDbf::BlankRecord()
xbLong cs xbDbf::CalcCheckSum()
xbShort rc xbDbf::CloseDatabase()
xbShort rc xbDbf::CopyDbfStructure( char * NewFileName, xbShort Overlay )
xbShort rc xbDbf::CreateDatabase( char * FileName, xbSchema * RecordLayout, xbShort Overlay )
xbULong RecNo xbDbf::CurrentRecNo()
xbShort rc xbDbf::DeleteAllRecords()
xbShort rc xbDbf::DeleteRecord()
xbShort rc xbDbf::DumpHeader( xbShort Option )
xbShort rc xbDbf::DumpRecord( xbULong RecNo )
xbShort rc xbDbf::ExclusiveLock( xbShort WaitOption )
xbShort rc xbDbf::ExclusiveUnlock()
xbLong NoOfFields xbDbf::FieldCount()
xbLong RecNo xbDbf::GetCurRecNo()
xbDouble Val xbDbf::GetDoubleField( char * FieldName)
xbDouble Val xbDbf::GetDoubleField( xbShort FieldNo )
xbShort rc xbDbf::GetField( xbShort FieldNo, char * FieldName )
xbShort DecimalCount xbDbf::GetFieldDecimal( xbShort FieldNo )
xbShort FieldLen xbDbf::GetFieldLen( xbShort FieldNo )
char * FieldName xbDbf::GetFieldName( xbShort FieldNo )
xbShort FieldNo xbDbf::GetFieldNo( char * FieldName )
char Type xbDbf::GetFieldType( xbShort FieldNo )
xbShort rc xbDbf::GetFirstRecord()
xbFloat FloatVal xbDbf::GetFloatField( char * FieldName )
xbFloat FloatVal xbDbf::GetFloatField( xbShort FieldNo )
xbShort rc xbDbf::GetLastRecord()
xbShort Val xbDbf::GetLogicalField( char * FieldName )
xbShort Val xbDbf::GetLogicalField( xbShort FieldNo )
xbLong LongVal xbDbf::GetLongField( char * FieldName )
xbLong LongVal xbDbf::GetLongField( xbShort FieldNo )
xbShort rc xbDbf::GetMemoField( xbShort FieldNo, xbLong len, char * Buf )
xbShort rc xbDbf::GetMemoFieldLen( xbShort FieldNo )
xbShort rc xbDbf::GetNextRecord()
xbShort rc xbDbf::GetPrevRecord()
xbShort rc xbDbf::GetRecord( xbLong RecNo )
char * BufPtr xbDbf::GetRecordBuf()
xbShort rc xbDbf::LockDatabase( xbShort WaitOption, xbShort LockType, xbLong RecNo )
xbShort rc xbDbf::MemoFieldExists( xbShort FieldNo )
xbShort rc xbDbf::MemoFieldsPresent()
xbLong RecCnt xbDbf::NoOfRecords()
xbShort rc xbDbf::OpenDatabase( char * FileName )
xbShort rc xbDbf::PackDatabase( xbShort WaitOption )
xbShort rc xbDbf::PutDoubleField( char * FieldName,xbDouble DoubleValue )
xbShort rc xbDbf::PutDoubleField( xbShort FieldNo,xbDouble DoubleValue )
xbShort rc xbDbf::PutField( xbShort FieldNo, char * Buf )
xbShort rc xbDbf::PutFloatField( char * FieldName, xbFloat FloatValue )
xbShort rc xbDbf::PutFloatField( xbShort FieldNo, xbFloat FloatValue )
xbShort rc xbDbf::PutLongField( char * FieldName, xbLong LongValue )
xbShort rc xbDbf::PutLongField( xbShort FieldNo, xbLong LongValue )
xbShort rc xbDbf::PutRecord( xbLong RecNo )
xbShort rc xbDbf::RebuildAllIndices()
xbShort rc xbDbf::RecordDeleted()
xbShort rc xbDbf::SetVersion( xbShort Version )
xbShort rc xbDbf::UndeleteAllRecords()
xbShort rc xbDbf::UndeleteRecord()
xbShort rc xbDbf::UpdateMemoData( xbShort FieldNo, xbLong len, char * Buf, xbShort LockOption )
xbShort rc xbDbf::ValidLogicalData( xbShort FieldNo )
xbShort rc xbDbf::ValidNumericData( xbShort FieldNo )
char * Day xbXBase::CharDayOf( char * Date8 )
char * Month xbXBase::CharMonthOf( char * Date8 )
xbShort rc xbXBase::DateIsValid( char * Date8 )
xbShort Day xbXBase::DayOf( xbShort Format, char * Date8 )
char * Date xbXBase::FormatDate( char * Format, char * Date8 )
xbString & Result xbXBase::GetStringResult()
xbDouble * Result xbXBase::GetDoubleResult()
XB_EXPRESSION * Exp xbXBase::GetExpressionHandle()
char Type xbXBase::GetExpressionResultType( XB_EXPRESSION * )
xbLong * result xbXBase::GetIntResult()
xbShort rc xbXBase::IsLeapYear( char * Date8 )
xbLong JulVal xbXBase::JulianDays( char * Date8 )
char * Date8 xbXBase::JulToDate8( xbLong JulVal )
xbLong JulVal xbXBase::LastDayOfMonth( char * Date8 )
xbShort Month xbXBase::MonthOf( char * Date8 )
xbShort rc xbXBase::ParseExpression( char * exp, xbDbf * d )
xbShort rc xbXBase::ProcessExpression( XB_EXPRESSION * )
char * Date8 xbXBase::Sysdate()
xbShort Year xbXBase::YearOf( char * Date8 )
xbShort rc xbNdx::CheckNdxIntegrity( xbShort Option )
xbShort rc xbNdx::CloseIndex()
xbShort rc xbNdx::CreateIndex( char * IndexName, char * KeyExpression, xbShort Unique, xbShort Overlay )
xbShort rc xbNdx::FindKey( char * SearchValue )
xbShort rc xbNdx::FindKey( xbDouble SearchValue )
xbShort rc xbNdx::GetFirstKey()
xbShort rc xbNdx::GetLastKey()
xbShort rc xbNdx::GetNextKey()
xbShort rc xbNdx::GetPrevKey()
xbShort rc xbNdx::KeyExists( char * SearchValue )
xbShort rc xbNdx::KeyExists( xbDouble SearchValue )
xbShort rc xbNdx::LockIndex( xbShort WaitOption, xbShort LockType )
xbShort rc xbNdx::OpenIndex( char * IndexName )
xbShort rc xbNdx::ReIndex()