>In VFP 6.0 help file the ALTER TABLE command says:
>
>ADD PRIMARY KEY eExpression3 TAG TagName2 [FOR lExpression4]
>
>But if I try to write something like this:(just a sample)
>
>ALTER TABLE 'TABLE1' ADD PRIMARY KEY cust_id TAG cust_id FOR !DELETED()
>
>VPP returns sintax error.
>
>Does someone know why ? or its a error in VFP help file.
Doc bug. Try
ALTER TABLE 'TABLE1' ADD PRIMARY KEY cust_id FOR !DELETED() TAG cust_id
.