I have the following simple code to create a recordset (rst) that I then need to re-query based on entries from a user.
Set rst = db.OpenRecordset(SELECT * FROM tablename)
when this line executes I get 1 record.
When I execute Set rst = db.OpenRecordset(SELECT DISTINCT * FROM tablename) I get runtime error 3163 the field is too small to accept the data you tried to add. Try inserting or pasting less data.
this table only has 79 records in it......
Any suggestions?
Set rst = db.OpenRecordset(SELECT * FROM tablename)
when this line executes I get 1 record.
When I execute Set rst = db.OpenRecordset(SELECT DISTINCT * FROM tablename) I get runtime error 3163 the field is too small to accept the data you tried to add. Try inserting or pasting less data.
this table only has 79 records in it......
Any suggestions?