How to Add new Field into exist Paradox table?

How to Add new Field into exist Paradox table?

Post by ston » Sat, 07 Apr 2001 13:32:19



Hello!
    I has one existed table named tbpdx which has fields of fld1,fld2,fld3.
    How do I do to add one field ( fld4 ) into the table tbpdx at runtime?
    Thanks for your help         Stone.
 
 
 

How to Add new Field into exist Paradox table?

Post by M.H. Avegaar » Tue, 10 Apr 2001 16:40:35


See http://community.borland.com/article/0,1410,20563,00.html



Quote:> Hello!
>     I has one existed table named tbpdx which has fields of
fld1,fld2,fld3.
>     How do I do to add one field ( fld4 ) into the table tbpdx at runtime?
>     Thanks for your help         Stone.


 
 
 

How to Add new Field into exist Paradox table?

Post by Vinnie Murdic » Wed, 11 Apr 2001 03:30:32


Quote:>     I has one existed table named tbpdx which has fields of
fld1,fld2,fld3.
>     How do I do to add one field ( fld4 ) into the table tbpdx at runtime?

Check here for a code sample using SQL to easily add a field at runtime:
http://www.bdesupport.com/faq.htm#addfield

Check here for a code sample to check if a field already exists before
adding it:
http://www.bdesupport.com/faq.htm#fieldexist

--
Vinnie Murdico
The BDE Support Page
http://www.bdesupport.com