I have Program A that calls Form1 (which will only display one table entry). User puts in a search key, presses Search key, and the data is passed to Program B, which looks up the entry and returns that to Form 1.
User may then press List button. Control goes to Program B, which will then call Program C. Program C reads through the database and fills an array with appropriate records, then attempts to invoke Form2 (list screen using data grid view). However, it stops at 'invoke Form2 "NEW" returning anotherInstance' (I have to stop debug to end program). Form1 remains where it is, and Form 2 never displays. Not sure how to fix this...
Program A -> Form1
Form1 -> user presses Search button -> ProgramB
ProgramB gets data, returns it to Form1
Form1 -> User presses History buttonto get list of all records with the record key -> ProgramB
ProgramB -> ProgramC builds array with data and invokes Form2
ProgramC remains on line that attempts to instantiate the object, Form1 remains and Form2 does not appear (not surprising, as object is never instantiated).