convert lines like:
var1 = recordset.fields("fieldname1").value
var2 = recordset.fields("fieldname2").value
to:
recordset.fields("fieldname1").value = var1
recordset.fields("fieldname2").value = var2
and it could use clipboard character instead of "=" but maybe "=" would be the character 99.99% of the time, anyway.
If this already exists under a different name, well I couldn't tell because I had "swap sides" on my brain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
convert lines like:
var1 = recordset.fields("fieldname1").value
var2 = recordset.fields("fieldname2").value
to:
recordset.fields("fieldname1").value = var1
recordset.fields("fieldname2").value = var2
and it could use clipboard character instead of "=" but maybe "=" would be the character 99.99% of the time, anyway.
If this already exists under a different name, well I couldn't tell because I had "swap sides" on my brain
Replace ^\s*([^=]+)\s*=\s*([^\s].*[^\s])\s*$
with \2 = \1
Regexp mode, Repace All
This is a bit sophisticated in order to normalise whitespacing.
CChris