>I have simulated the problem many many times and the more I debug it, the more confusing it becomes. The scenario is like this.
>
>I have two menu options. The first menu launches a form with a button that calls a PROGRAM that I created. I clicked the button and calls my program. My program uses a different datasessionid and before it exits, it sets the form's datasessionid back to its original value. It populates a table named "description" (using SQL stmts). Then, I closed the form.
>
Which datasession does this "description" table exist in? It sounds like your datasession might be closing and removing the cursor you created (probably with the form).