Article View: borland.public.cppbuilder.database.ado
Article #5493Re: change width of dBase-Field at runtime ?
From: Joachim
Date: Mon, 23 Apr 2001 09:54
Date: Mon, 23 Apr 2001 09:54
39 lines
1870 bytes
1870 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:3ad5b85c_1@dnews... > Hy, > > is it possible to change the fieldwidth of an StringField at runtime ? > I have now a width of 8 and want to change at runtime to a width of 20. > !! the current data in the fields must be saved! > > I tried =>> "Field->DisplayWidth = 20" > I tried "EditRange... " > > --> but nothing happends! > > Anyone an idea ? > > Thanks.. > > Joachim > > >
Technical Details
Message-ID:
<3ae3fbe7_2@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!europa.netcrusader.net!193.162.153.122!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.CS.Uni-Magdeburg.De!PeerFeed.KWeb.on.ca!dnewsReferences:
<3ad5b85c_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bf25,63f5deb23a3bcd62 X-Google-Attributes: gid10bf25,public X-Google-Thread: 10698b,63f5deb23a3bcd62 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-04-23 02:56:04 PST From: "Joachim" <jschwiening@tas.de> Newsgroups: borland.public.cppbuilder.database.ado,borland.public.cppbuilder.database.desktop References: <3ad5b85c_1@dnews> Subject: Re: change width of dBase-Field at runtime ? Date: Mon, 23 Apr 2001 11:54:38 +0200 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 62.225.222.27 Message-ID: <3ae3fbe7_2@dnews> X-Trace: dnews 988019687 62.225.222.27 (23 Apr 2001 02:54:47 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!europa.netcrusader.net!193.162.153.122!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.CS.Uni-Magdeburg.De!PeerFeed.KWeb.on.ca!dnews