diff --git a/NSF2SQL/Form1.cs b/NSF2SQL/Form1.cs index 29ce164..822c12e 100644 --- a/NSF2SQL/Form1.cs +++ b/NSF2SQL/Form1.cs @@ -383,7 +383,7 @@ private void bExportDocuments_Click(object sender, EventArgs ea) } string field = item.Name; //exclude fields that start with $ and the Form field and Readers field - if (excludeField.IsMatch(field)) + if (field == null || excludeField.IsMatch(field)) { continue; }