 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Emmanuel Guest
|
Posted: Tue May 23, 2006 2:14 am Post subject: How to free the memory of the qreport |
|
|
TrptContactInformation *rptContactInformation=NULL;
void __fastcall ShowABCGOLFCompanyContentLinkTypeReport()
{if(rptContactInformation==NULL)
{Application->CreateForm(__classid(TrptContactInformation),
&rptContactInformation);
}
rptContactInformation->Table1->Close();
rptContactInformation->Table1->Open();
rptContactInformation->Preview();
}
Would anybody tell me how to delete the rptContactInformation after the
Preview()? |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue May 23, 2006 6:16 am Post subject: Re: How to free the memory of the qreport |
|
|
"Emmanuel" <emmanuel (AT) erphk (DOT) com> wrote in message
news:44726bfb (AT) newsgroups (DOT) borland.com...
| Quote: | Would anybody tell me how to delete the rptContactInformation
after the Preview()?
|
Simply 'delete' it, ie:
delete rptContactInformation;
rptContactInformation = NULL;
Gambit |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|