🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2055

Re: Accessing a Cell of an Access Table directly by code with ADO

#2055
From: dcent
Date: Wed, 26 Nov 2003 03:52
20 lines
1769 bytes
Alen Markov wrote:
> I tryed it with a DBEdit - I connected that one with the DataField "Path".
> If I write directly by Hand into that DBEdit and then press the tab-key,
> the value I entered is directly stored into the mdb-File in the column Path
> for the appropriate row...
> 
> First thought was - great, that's it... So I just added this simple code:
> 
> OpenPictureDialog1->Execute();
> DBEdit1->Text = OpenPictureDialog1->FileName;
> 
> But this doesn't STORE the value (Path) into the mdb-File :-/
> 
> (as soon as I click with the mouse into that DBEdit1, the path is gone
> again...)
> 
Assign OpenPictureDialog1->FilName to the underlying field in the 
ADOQuery->FieldByName{"FieldName"]->AsString (Syntax?)

dcent
Technical Details
Message-ID: <3FC4238B.1070107@NetScape.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fc26387@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,b1bab58e749cc854
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-11-25 20:06:38 PST
Message-ID: <3FC4238B.1070107@NetScape.net>
Date: Tue, 25 Nov 2003 21:52:43 -0600
From: dcent <DcentJ8@NetScape.net>
Reply-To:  DcentJ8@NetScape.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Accessing a Cell of an Access Table directly by code with ADO
References: <3fc26387@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 68.155.97.224
X-Trace: newsgroups.borland.com 1069818770 68.155.97.224 (25 Nov 2003 19:52:50 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail