Hi pbaldy,
These datatype are Integer.
I tried your suggestion, however the line turn to RED and could not run.
Set rs = db.OpenRecordset("SELECT * FROM TRIAL_BALANCE WHERE [table_id]='" & Me.id & "' AND
[category_id]=" & Me.Cat_id")
MajP, MarKK, I intend to find the record and Edit then...