TUniQuery does not get all Fields

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
heerdinm
Posts: 14
Joined: Fri 14 Dec 2012 11:35

TUniQuery does not get all Fields

Post by heerdinm » Wed 23 Jan 2013 19:45

Hello,

I have the following Query:

Code: Select all

SELECT
  Curatoren.*,
  Kantoren.Naam,
  CuratorBenoeming.DatumBenoeming
FROM (Curatoren
INNER JOIN CuratorBenoeming
  ON Curatoren.benoemingID = CuratorBenoeming.Id)
INNER JOIN Kantoren
  ON Curatoren.kantoorID = Kantoren.Id;
I am using TUniQuery with a connection to a MSAccess DataBase.
Everything seems to run ok, except for 1 thing.
In the table Curatoren, there is a field named BeedigingStatus.
When i put that field in a TDbGrid, the Column shows, but there is not data listed for that column. All the other columns show data.

When i Put up a form and fetch the data from the TUniQuery, everything is taken from the table, except for the field BeedigingStatus.

When i run the exact same Query in MSAccess, i see every field and all the information. Nothing is missing. I deleted the field from the TDbGrid and added it again. Did the same for the TUniQuery Fields, but nothing happens. Can someone please tell me what is wrong here?

scorp1on
Posts: 1
Joined: Thu 24 Jan 2013 08:43

Re: TUniQuery does not get all Fields

Post by scorp1on » Thu 24 Jan 2013 08:49

You are using version 4.6.11? If so, install the 4.5.10 and see if it is ok.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: TUniQuery does not get all Fields

Post by AlexP » Thu 24 Jan 2013 09:15

Hello,

Thank you for the information, we have reproduced and fixed the problem, this fix will be included in the next build. If you have an edition with source code, I can send you the code for solving the problem.

heerdinm
Posts: 14
Joined: Fri 14 Dec 2012 11:35

Re: TUniQuery does not get all Fields

Post by heerdinm » Thu 24 Jan 2013 16:56

Hello,

thank you. I only have the professional version. No source code.
Could you tell me when the next patch will be available?

TIA

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: TUniQuery does not get all Fields

Post by AlexP » Fri 25 Jan 2013 09:10

Hello,

We plan to release a new version in the next month.

Post Reply