If you perform a query on a MS Access table where a field is 255 in size, the resulting view will create a memo field for the field in the query. EG
Table name "LOGDATA"
Fields "Start","Stop","Notes"
=SQLEXEC(1,"SELECT * FROM LOGDATA","MYVIEW"
BROW
You will see 3 fields in the table view with the fields named the same as the Access table , Except for the "Notes" field which will be named "EXPR1000". That field will be a Memo field.
OK, the solution is to use MID(Field,start,end)
=SQLEXEC(1,"SELECT START,STOP,MID(NOTES,1,15) FROM LOGDATA","MYVIEW"
Even though you will get only the first 15 characters, you still get a 255 character memo field.
WHY?
Table name "LOGDATA"
Fields "Start","Stop","Notes"
=SQLEXEC(1,"SELECT * FROM LOGDATA","MYVIEW"
BROW
You will see 3 fields in the table view with the fields named the same as the Access table , Except for the "Notes" field which will be named "EXPR1000". That field will be a Memo field.
OK, the solution is to use MID(Field,start,end)
=SQLEXEC(1,"SELECT START,STOP,MID(NOTES,1,15) FROM LOGDATA","MYVIEW"
Even though you will get only the first 15 characters, you still get a 255 character memo field.
WHY?