>Hi Mark.
>
>>Before I totally screw up the SDT.VCX, might someone enlighten me on how to best disable the PACK option of the Reindex() function of the SDT.VCX.
>
>Here's how you can remove the PACK option from the dialog that appears when you call the Reindex() method:
>
>- open SDT.H
>- find ccPACK
>- comment that line out
>- add the following line:
>
>#define ccPACK ''
>
>- save and close
>- COMPILE CLASSLIB SDT
>
>Because ccPACK is now defined as an empty string, the dialog won't display the pack checkbox.
>
>I've added this to my ER (enhancement request) list for SDT.
>
>Doug
I found that, but did not know if this would then disable a pack if I programatically passed the pack parameter .T. with the *ALL* option or a specific file name. I like your suggestion better than the one I found -- in the Reindex() method, I changed the ccPack parameter to '' in the case statement that would present the file selection form to the user. Unless, I misinterpretted the code, this still lets me pack tables if I explicitly pass the pack (.t.) parameter and a table name.
Thanks for the help.
Mark McCasland
Midlothian, TX USA