1. code in form method 2. call to function in PRG 3. more code in form method accessing tables opened from the form.The form is set to private data session. After the PRG function call, the data session does not return to the form data session. This causes code in step 3 to fail; but in my VFP6 app, it works.