Export when no records found

Discussion created by MikeWile on Aug 30, 2016
Latest reply on Aug 31, 2016 by beverly

Is it possible to generate an Excel export when no records are found. In my script I have set it up so that, if records are found, it asks for the name of the file. If no records are found, I'd like to generate an export with just the field names and no records. Just a blank record.