🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages Started by Joachim Mon, 23 Apr 2001 09:37
Hy, is it possible to change the
#5492
Author: Joachim
Date: Mon, 23 Apr 2001 09:37
15 lines
1061 bytes
is it possible to change the width of and existing numeric-dBasefield from 5
to 20 ??
(  !! without creating the table new!!)

I look at tBatchMove...
and attempted FieldDefs->AddFieldDef()

....but nothing!


Any idea ?

Thanks!!!

Joachim
Re: Hy, is it possible to change the
#5494
Author: Joachim
Date: Mon, 23 Apr 2001 09:47
39 lines
1554 bytes
YES, I found the trick!!!!!!!!!!!

==>
The easiest way is to use the SQL ALTER TABLE statement as described in the
Local SQL help file in your BDE directory. The other way is to use the BDE
API function DbiDoRestructure. See the examples at
www.borland.com/devsupport/bde/bdeapiex.



Joachim,






"Joachim" <jschwiening@tas.de> schrieb im Newsbeitrag
news:3ae3f7f9_1@dnews...
> is it possible to change the width of and existing numeric-dBasefield from
5
> to 20 ??
> (  !! without creating the table new!!)
>
> I look at tBatchMove...
> and attempted FieldDefs->AddFieldDef()
>
> ....but nothing!
>
>
> Any idea ?
>
> Thanks!!!
>
> Joachim
>
>
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads