hi freinds
I?m using Microsoft Access XP 2000 Database and Microsoft DAO
3.6 Object Library to access the data
the problem is that whenever I try to set the
Recordset.Index property to the table?s Id field I get a run-time
error 3800 thats says : id is not an index of this table
dim rs as DAO .RECORDSET
DIM DB AS DAO.DATABASE
Set db = CurrentDb
Set rs = db.OpenRecordset("accountatat", DB_OPEN_TABLE)
rs.Index = "id " ERORR APPEAR HERE
rs.Seek "=", (acco_no1)
If Not rs.NoMatch Then
rs.edit
acco_no1 = rs!id
account = rs!account_name
'dm.Close
rs.Update
Call clear
End If
AND THE TABLE SEEM
ID --TEXT (INDEX)
ACCOUNT_NAME ---TEXT
WAITING YOUR REPLY
THANKS