Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.pascal.delphi.misc > #317
| From | "S.G" <S.G@none.special.ch> |
|---|---|
| Newsgroups | comp.lang.pascal.delphi.misc |
| Subject | Re: What is best ? |
| Date | 2012-06-08 01:07 +0300 |
| Organization | - |
| Message-ID | <jqr8o2$e99$1@speranza.aioe.org> (permalink) |
| References | <4fcf960a$0$1374$4fafbaef@reader1.news.tin.it> <4fd065b9$0$6961$e4fe514c@news2.news.xs4all.nl> <4fd0c1ae$0$1387$4fafbaef@reader2.news.tin.it> |
Stark wrote: > > - A function (GetBudgetProposals) accesses a dataset where each record > represents one account and has 12 fields with the budgets amounts and > retrieves the needed data which are retuned in a StringList. > - As many StringLists as many accounts are filled from the dataset. Each > StringList has the account number and 12 amounts. > - These data that are presented on the screen for the user to examine > and change. > - When done, all the data are written back on the budget dataset. Two choices. Either you are now in phase starting to develop something totally new and special. Or alternatively you are totally beginner in writing simple Database application, using very common Data Controls. To me that explanation looks like you should be able to read from your database some budgeting data, each record containing 12 fields. Then you show that data on your Form, in very traditional Excel type grid layout. User can edit the data, and then save it back to the database. That is the expression that I get from your explanation. And the answer to write that functionality is to use standard TTable or TQuery component TDataSource and TDbGrid to show that data on Form. User can easily view, browse and edit the data, and then you write it back to the database. No need to start trying to understand anything about Object Orientation. Just write the simple code and finish your budgeting application. > I am using this program to learn object orientation, which I know on > theory. For learning purposes, I quess you should also find much of the wanted OOP functionality and data reading/storing code, ready made, in the VCL source code of those controls mentioned above. S.G.
Back to comp.lang.pascal.delphi.misc | Previous | Next — Previous in thread | Next in thread | Find similar
What is best ? "Stark" <franco.jommi@tin.it> - 2012-06-06 19:41 +0200
Re: What is best ? "Maarten Wiltink" <maarten@kittensandcats.net> - 2012-06-07 10:26 +0200
Re: What is best ? "Stark" <franco.jommi@tin.it> - 2012-06-07 16:58 +0200
Re: What is best ? "Maarten Wiltink" <maarten@kittensandcats.net> - 2012-06-07 17:49 +0200
Re: What is best ? "Stark" <franco.jommi@tin.it> - 2012-06-08 14:59 +0200
Re: What is best ? "Maarten Wiltink" <maarten@kittensandcats.net> - 2012-06-08 16:33 +0200
Re: What is best ? "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2012-06-07 22:28 +0200
Re: What is best ? "S.G" <S.G@none.special.ch> - 2012-06-08 01:07 +0300
Re: What is best ? Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2012-06-08 11:00 +0200
Re: What is best ? "Stark" <franco.jommi@tin.it> - 2012-06-08 15:17 +0200
Re: What is best ? "S.G" <S.G@none.special.ch> - 2012-06-13 09:16 +0200
Re: What is best ? "Maarten Wiltink" <maarten@kittensandcats.net> - 2012-06-14 00:06 +0200
Re: What is best ? "S.G" <S.G@none.special.ch> - 2012-06-14 09:08 +0200
Re: What is best ? "Stark" <franco.jommi@tin.it> - 2012-06-15 16:47 +0200
Re: What is best ? "Maarten Wiltink" <maarten@kittensandcats.net> - 2012-06-15 22:41 +0200
Re: What is best ? "Maarten Wiltink" <maarten@kittensandcats.net> - 2012-06-16 07:27 +0200
Re: What is best ? "Stark" <franco.jommi@tin.it> - 2012-06-16 14:50 +0200
csiph-web