Article ID: 175691
Article Last Modified on 1/11/2001
Option Explicit
Dim FoxDataDB As Database
Dim RS As Recordset
Dim myidx As Index
Private Sub Command1_Click()
RS.Close
FoxDataDB.Close
Set RS = Nothing
Set FoxDataDB = Nothing
Unload Me
End Sub
Private Sub Command2_Click()
For Each myidx In FoxDataDB.TableDefs("customer").Indexes
Debug.Print myidx.Name
RS.Index = myidx.Name
Next
End Sub
Private Sub Form_Load()
Set FoxDataDB = Workspaces(0).OpenDatabase( _
"d:\fpw26\tutorial", _
False, False, "FoxPro 2.5;")
Set RS = FoxDataDB.OpenRecordset("customer", dbOpenTable)
End Sub
IIF(EMPTY(phone), state, phone)
Additional query words: Dr. Watson function complex immediate inline kbVBp500bug kbVBp kbWinOS98 kbDSupport kbdse kbVBp600 kbDAO350 kbVFP250
Keywords: kbbug KB175691