diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py
index 0653c4c7..555123e9 100644
--- a/gluon/sqlhtml.py
+++ b/gluon/sqlhtml.py
@@ -3570,7 +3570,9 @@ class ExportClass(object):
if not self.rows.db._adapter.REGEX_TABLE_DOT_FIELD.match(col):
row.append(record._extra[col])
else:
- (t, f) = col.split('.')
+ # The grid code modifies rows.colnames, adding double quotes
+ # around the table and field names -- so they must be removed here.
+ (t, f) = [name.strip('"') for name in col.split('.')]
field = self.rows.db[t][f]
if isinstance(record.get(t, None), (Row, dict)):
value = record[t][f]