A VB .exe application is launched. Then, a menu item is used to export a query to a text file. When the menu item is run, it exports some records and then stops indicating:
'Error (94) exporting file. Invalid use of Null.'
I have deleted those records off the tables where the application stops but nothing happened.