Re: TZF - ZAP; deleting Indexes
i-cable <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
Dear Lloyd: > Thanks for your good answers to my previous question. > I have two more (I'm new to TOPAZ for Delphi). > 1. I'm having trouble getting ZAP to work. I do as the manual suggests, > close the file, declare it exclusive (though it's a single-user > progarm), and zap it. The zap doesn't "take." What am I missing? It does > this whether or not I open the file exclusive. Yes, this is a bit tricky to do the ZAP. I found out two solutions for doing the ZAP. If you like to set the Database file active during design time(Active=True in the Object Inspector) you have to set Exclusive=True at design time also. The problem of this method is you can't set the exclusive to false during run time(by your codes). I don't know why but I just can't do it. This problem caught me for a long time until Marie told me a solution. If you have to set the exclusive on and off during run time(in your codes) then you have to set the database file to be unactive during design time(Active=False in the Object Inspector) and activate it in your codes. > 2. When I'm working in the IDE with the indexing program, when I delete > an index I get a system error and have to exit Delphi and restart it. My > solution has just been not to delete indexes, but I'm getting quite a > number of them with some tables. Again, I'm missing something. I have never tried NDX but I don't see any problem with the MDX indexing method. Topaz's indexing is very fast so I always detele the MDX files during development stage to avoid the corrupted indexing file. I hope this can be useful to you. Abi ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt Or send an email to: [email protected] TOPICA - Start your own email discussion group. FREE! http://www.topica.com/partner/tag02/create/index2.html ==^================================================================