I have created a temporary database just to store datas to be printed. in my dataenvironment a have created a command with a hierarchy of child commands. as usual, I use retrieve structure and it has been retrieved succesfully. in my form I use the .show command to show the preview. My problem is that after that data is printed, I programmed the form to delete any datas in my samptemp database to give space for the next data to be printed. But in my data report it still shows the previously deleted datas and not the current data stored on the database. Is there anyway where the data report can refresh then show and print the content of database. If there is any coding I should add, what is it? the rptsamp.refresh doesn't work I even tried putting
set rptsamp = nothing on the terminate event of the datareport but still not success.