tdataset Questions

5

Solved

Does anyone know of a TDataset descendant that works with Generics and RTTI, so that I can write code like this, and make use of data-aware components in the GUI? : ... ds:TDataset<TPerson>;...
Granddaughter asked 2/3, 2012 at 13:2

1

Solved

I like to disable controls when it's pointless for the user to click on them. One special case is a set of custom menu buttons that emulate the first, prior, next and last buttons of a standard TD...
Flosser asked 31/10, 2013 at 13:22

1

Solved

Is it possible to get the row number that is displayed from the underlying dataset in the top-most row of a DBGrid, without that top-most row being the currently selected row, when the number of re...
Floccule asked 3/8, 2013 at 14:46

2

Solved

I've been looking through the TDataset class and its string fields, in Delphi XE2 and noticed that AsWideString returns a type of UnicodeString. However it gets the value from the function TField.A...
Untrue asked 27/2, 2012 at 1:58

1

Solved

I want to create a "Duplicate Record" action which when invoked, duplicates current record in any TDataSet descendant. How can I find out if the dataset is the master dataset of a master/detail rel...
Stepmother asked 28/8, 2012 at 10:16

2

In classic Delphi database application we have a form, a set of data-aware visual controls connected to TDataSets via TDataSources. If one wants to design database application using MVC model, wher...
Handwoven asked 11/4, 2010 at 8:12

3

Solved

I observed something last week that I did not expect, and will describe below. I am curious as to why this happens. Is it something internal to the TDataSet class, an artifact of the TDBGrid, or so...
Sagittarius asked 31/12, 2009 at 0:19

1

Solved

On our main data entry screen, we have an OK/Cancel dialog in the OnBeforePost event. OK lets things take their course Cancel right now does a Dataset.Cancel; Which does what it's meant to, rol...
Representationalism asked 8/5, 2009 at 6:59
1

© 2022 - 2024 — McMap. All rights reserved.