🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Lookup field default value

#1222
From: Michele Santucci
Date: Wed, 22 Sep 2004 21:35
15 lines
1584 bytes
I have a ms access db with 2 tables one of them define a set of value
useable by a field of the other one. Obv that field in the second table is
defined as cross reference to the values on the first table (in Access of
course) . The problem is quite simple I have to define a default value for
that field that should be properly showed up by a data-aware lookup combo
box on the form showing the content of the table.
I tried defining the default value in the properties of the table field and
in the properties of the Adodaset associated with the table field but I got
no result i.e. the lookup combobox is just empty when the new record of the
table is created.
Anyone can help me?

-- 

   bye by(t)e[z]....TuX!
Technical Details
Message-ID: <4151eec4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,f61f3145d6624b61,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Michele Santucci" <michele.santucci@celinavio.it>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Lookup field default value
Date: Wed, 22 Sep 2004 23:35:03 +0200
Lines: 17
Organization: Celin Avio S.r.l.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 62.11.90.53
Message-ID: <4151eec4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095888580 62.11.90.53 (22 Sep 2004 14:29:40 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail