Delphi 10 Seattle Dataset Actions

plumothy
plumothy used Ask the Experts™
on
In my previous version of Delphi (XE4), there were 10 Dataset Actions available to choose from when inserting a new Standard Action into a TActionList.

In Delphi 10 Seattle these have all gone so my projects that use this feature no longer compile.

Where have they gone? Can I get them back?
DatasetActions.jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software architect
Top Expert 2012
Commented:
Add Vcl.DBActns to uses. Se info..

Author

Commented:
So, is this a new "feature" of 10 Seattle, having to add DBActns to the Uses in order to see them in the Action List?

If so, why? In all previous versions I did not need to do this.
Sinisa VukSoftware architect
Top Expert 2012

Commented:
I think that adding some DB component to the form - automatically add unit where are motho actions and DB component. Now, they split all into separate units....
so, did you try it?

Author

Commented:
If you drop a component on a form then Delphi adds the necessary unit to the uses clause when you save the form or compile the project.

So, I think now understand what happened. From what you say, DB actions need to use DBActns in Delphi 10 (implying it is a new unit), so after opening a Delphi XE4 project I'll have to add that unit manually.

But in a new project, DBActns will automatically be added when required.
Sinisa VukSoftware architect
Top Expert 2012

Commented:
Yes, I didn't get that you import old project into RX, I thought that you just compare them.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial