Change Dbase Table Level

How can I change the level (from 7 to 3) of a Dbase table from withing my
application, I have approx 300 users on a network and it would be a lot
easier to do it from my program instead of the BDE administrator.

Thanks Helmut