Article ID: 155463
Article Last Modified on 5/10/2003
DO FORM CustomerPreview a report named Customer by issuing the following command:
REPORT FORM Customer PREVIEWThe customer object now references the Report Preview window. When the Report Preview window is closed, the customer object is released. Work around this problem by giving your forms a different object reference than the reports with the same name. Do this by using the NAME clause in the DO FORM command. For example, to give the Customer Form an object reference of Custform, you would issue the following command:
DO FORM Customer NAME Custform
Customer.Caption = "Change Me"
REPORT FORM Customer PREVIEW
Additional query words: kbvfp300 kbvfp300b kbvfp500 kbvfp500a kbvfp600 kbvfp300bug kbvfp300bbug kbvfp500bug kbvfp500abug kbvfp600bug
Keywords: kbbug kbprogramming kbother kbdisplay KB155463