I can. I just ran it on my test machine without error on that line.
Thank you for your help.
Beth
>I think you can.
>
>>Could I put the constraint the same as the column name?
>>
lcInsertStr = "ALTER TABLE " + lcTableName + " ADD CONSTRAINT Studnt_id_ PRIMARY KEY (Studnt_Id_)"