🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.components.misc
Article #10

Data Entry problem

#10
From: noproblem
Date: Tue, 08 Jun 2004 21:28
26 lines
1985 bytes
I am porting a VB application in Delphi.
It has a very complex settings section, with more than 700 values to be
inserted in various forms.

In VB I made a centralized declaration of these fields - say an array of
field descriptors.
So every field has:
- a name ( to be shown in the form)
- a short name
- a type (string, numeric, date, ecc.)
- a range (min, max)
- a mandatory property
- a set of permitted characters (for string fields)
- an SQL type (for creating a table in DB)
- an SQL field name (for creating a table in DB)
and so on...

Then I associate every field (say TextBox) in the form with one of these
field descriptors, and a special set of routine let the form work fine,
magically!

I was wondering what to do with delphi about this subject.
Can anyone suggest me a suite of components (freeware or open source) or a
different approach to do this porting?
Thanks in advance
Noproblem
Technical Details
Message-ID: <ca5b2b$38t$1@lacerta.tiscalinet.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!draco.tiscalinet.it!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d99,a672fd3869419c76,start
X-Google-Thread: f894d,a672fd3869419c76,start
X-Google-Attributes: gid109d99,gidf894d,public
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!draco.tiscalinet.it!not-for-mail
From: "noproblem" <N_O_S_P_A_M_noproblem@interfree.it>
Newsgroups: comp.lang.pascal.delphi.components.misc,borland.public.delphi
Subject: Data Entry problem
Date: Tue, 8 Jun 2004 23:28:41 +0200
Organization: Tiscali Spa
Lines: 28
Message-ID: <ca5b2b$38t$1@lacerta.tiscalinet.it>
Reply-To: "noproblem" <N_O_S_P_A_M_noproblem@interfree.it>
NNTP-Posting-Host: ppp-82-84-183-224.cust-adsl.tiscali.it
X-Trace: lacerta.tiscalinet.it 1086730123 3357 82.84.183.224 (8 Jun 2004 21:28:43 GMT)
X-Complaints-To: abuse@tiscali.it
NNTP-Posting-Date: 8 Jun 2004 21:28:43 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409