Questions tagged [data-aware]

26 questions
1
vote
2 answers

LookupSource must be connected to TTable component

I'm attempting to use a TDBLookupCombo, but am getting an error "EInvalidOperation with message 'LookupSource must be connected to TTable component'. I have the TDBLookupCombo.LookupSource connected to a TDataSource. The TDataSource.Dataset is…
user1970794
  • 253
  • 3
  • 16
1
vote
3 answers

Do you use Data-aware classes?

I'm using VB6. Data-aware classes refers to classes whose DataBindingBehavior or DataSourceBehavior property is set. I learned this concept from MSDN and am wondering usually when should we use this technique of Data-aware classes? Or just like the…
SlowGrace
  • 15
  • 1
  • 1
  • 7
1
vote
2 answers

Make Non-Windowed Component Data Aware

I have a non-windowed component with a date property. I would like to make this component data aware with read and write capabilities to a date field. (In other words, if I change the date at runtime, I would like to write the new date property…
Max Williams
  • 821
  • 1
  • 7
  • 13
0
votes
1 answer

How do I automatically update a chart when a table gets a new record?

Suppose I have a table with a colour field — red/white/blue — and every time my app receives an event over TCP/IP and inserts a new row into the database, I want a data-aware pie chart component to auto-update showing the ratio of those colours. How…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
0
votes
0 answers

airflow data aware scheduling

When we use airflow dataset in data aware scheduling in Airflow The statement below: "Note that the dataset is considered to be updated if the task that is responsible for the update, finishes successfully. There is no way for Airflow to know if the…
searain
  • 3,143
  • 6
  • 28
  • 60
0
votes
1 answer

Delphi 7 - TMS Intraweb DB-aware Grid

I'm making a web application by using Delphi 7 and TMS suite for Intraweb. I have several client dataset components and I use a TTIWDBAdvWebGrid for showing the data. TTIWDBAdvWebGrid is a data-aware component, but when I modify some values in grid,…
RBA
  • 12,337
  • 16
  • 79
  • 126
0
votes
3 answers

How can I keep a mix of data-aware and non-data-aware controls in sync with one another and with the database to which they act?

I have a form with 7 controls. Two controls are data aware, a TDBGrid and a TDBNavigator. Three others are not data-aware, a TJvCalendar2 and two TjvDateEdits. The last two controls are a TDataSource and a TTzDbf as the dataSource’s dataset. I…
user16928
  • 1
  • 1
0
votes
0 answers

Single field , multi-record Data-aware control

I trying to create a data-aware component that is a single field , multi-record control , something like TDBLoookupList , but with the KeyField only. I cannot figure how to iterate through the dataset correctly . private …
DrWael
  • 247
  • 2
  • 12
0
votes
2 answers

Django: How-to convert naive datetime when time zone support is active?

I'm struggeling with Django and datetime. I have a datetime-string as this "Sun, 28 Aug 2016 11:42:00 +0200" - so from my point of view including timezone information "+0200" Then I convert it using this: date_published =…
Kev
  • 557
  • 1
  • 7
  • 26
0
votes
0 answers

Delphi data aware combo edit control with ability to enter arbitrary text?

I want to enable the user to enter a contact name in an data-aware edit control (combobox, edit) with autosuggest items bound to an sql table. What I want to achieve is this: a combo bound to Contact_Name field of a datasource, an edit bound to…
AunAun
  • 1,423
  • 2
  • 14
  • 25
0
votes
0 answers

TDBText not updating in Delphi, other data aware controls work

I've taken over a project in Delphi XE4 and I've added some data aware controls to the project. The TDBGrid seems to work fine, but none of the TDBText controls are displaying anything - and it has me stumped. I can throw a TDBEdit on the form and…
Alister
  • 6,527
  • 4
  • 46
  • 70
1
2