1

Topic: As it is better to struggle with wrong field size in *.dfm

2

Re: As it is better to struggle with wrong field size in *.dfm

Mikhail Tchervonenko wrote:

Cleaning of the project and the reassembly does not help with a mode of the active connection.

That is the field size should be picked up automatically on changes in basis?

3

Re: As it is better to struggle with wrong field size in *.dfm

wadman wrote:

it is passed...
That is the field size should be picked up automatically on changes in basis?

It would be desirable, as the same it in dfm got, means can. And not only from simple tables but also from procedures. I do not think that who pushed that this size in dfm hands.

4

Re: As it is better to struggle with wrong field size in *.dfm

Mikhail Tchervonenko wrote:

as the same it in dfm got

At adding , also all further is saved.

5

Re: As it is better to struggle with wrong field size in *.dfm

Mikhail Tchervonenko;
In what a question was specific that? If fields in   and-or connected to them  are added statically, in  all of them should be sorted out and corrected sequentially. Well or to smooth out absolutely, hoping for their dynamic creation in  at discovery of data sources.

6

Re: As it is better to struggle with wrong field size in *.dfm

wadman wrote:

it is passed...
At adding , also all further is saved.

As that is not trusted at all that there is no tool for the decision of such problem. That that should be.

7

Re: As it is better to struggle with wrong field size in *.dfm

Mikhail Tchervonenko;
If titles of fields are known, is simple Search&Replace

8

Re: As it is better to struggle with wrong field size in *.dfm

Vlad F wrote:

Mikhail Tchervonenko;
In what a question was specific that? If fields in   and-or connected to them  are added statically, in  all of them should be sorted out and corrected sequentially. Well or to smooth out absolutely, hoping for their dynamic creation in  at discovery of data sources.

I.e. hands. There fiendish difficulty, if they  under one name are selected from basis.....
All right, I will look, if that I will find I will unsubscribe. And so  hands to a campaign. (Spared in due time, now start up pay).

9

Re: As it is better to struggle with wrong field size in *.dfm

Mikhail Tchervonenko;
That's it that hands can appear finally more reliably and faster. I generally in such cases for handling dfm use Far. Directly so also launched in it search of all dfm, containing entrances Size = 16. And, by the way, it is possible that, except simple  you there forgot about  and grids.

10

Re: As it is better to struggle with wrong field size in *.dfm

Vlad F wrote:

Mikhail Tchervonenko;
That's it that hands can appear finally more reliably and faster. I generally in such cases for handling dfm use Far.

Similarly (in a combination with ConEmu)

11

Re: As it is better to struggle with wrong field size in *.dfm

Mikhail Tchervonenko;
Especially, if pay.))

12

Re: As it is better to struggle with wrong field size in *.dfm

Vlad F wrote:

Mikhail Tchervonenko;
Especially, if pay.))

Well, we as though fairly try, operations, basically, and without it shaft.

13

Re: As it is better to struggle with wrong field size in *.dfm

Mikhail Tchervonenko;
Since Delphi XE5 delivery includes the utility reFind for mass modification of source codes with support . Expressions. Originally just for migration FireDAC became. Is able to replace/delete properties from PAS and DFM, to delete a unit from uses, to replace the identifier,  within the limits of the specified class, etc.

14

Re: As it is better to struggle with wrong field size in *.dfm

http://docwiki.embarcadero.com/RADStudi … xpressions

15

Re: As it is better to struggle with wrong field size in *.dfm

edruzenko wrote:

for mass modification of source codes with support . Expressions

[spoiler] to Some programmers when they face any problem, such thought comes to mind
- About, I know! It can be made by means of the regular expressions!
It means that at this programmer now TWO problems. [/spoiler]

16

Re: As it is better to struggle with wrong field size in *.dfm

edruzenko;
That than that similar to use, it is necessary to understand initially accurately what exactly to change. And at the author just and a problem it in the difficult project to find to find. About such egg and a hen (who forward) heard?))

17

Re: As it is better to struggle with wrong field size in *.dfm

Vlad F;
It is necessary to replace size=16, but not everywhere, and within the limits of class TStringField (or its analog FB). If the author has a problem to learn as the field type is called or to make the list of names of the modified fields, he about it writes

18

Re: As it is better to struggle with wrong field size in *.dfm

Though if they in  changed structure of basis and not  it hardly already something helps them...

19

Re: As it is better to struggle with wrong field size in *.dfm

edruzenko;
-, And it is not simple at objects of the specified classes, and at small percent as I understand, connected to certain fields. A bathroom that application of the specified utility in the specified circumstances represents full .

20

Re: As it is better to struggle with wrong field size in *.dfm

edruzenko wrote:

though if they in  changed structure of basis and not  it hardly already something helps them... Vrjat-whether

Something, and here Mikhail can help :-)

21

Re: As it is better to struggle with wrong field size in *.dfm

If it is regular, instead of the single task, it is possible to use dfm-parser (Google in the help), on it to search for fields of the necessary type and further to check/replace.

22

Re: As it is better to struggle with wrong field size in *.dfm

Vrjat-whether

Dimonka wrote:

Something, and here Mikhail can help :-)

It even can show tomorrow to them Germans under Stalingradom.))

23

Re: As it is better to struggle with wrong field size in *.dfm

Vlad F wrote:

it is passed...
It even can show tomorrow to them Germans under Stalingradom.))

Yes, tomorrow for the Grandfather of 100 gram sacred to roll over. And for the grandmother, to it with 3 boys in evacuation too it was not easy.
If to whom it is interesting, the father here about those times wrote a little.

24

Re: As it is better to struggle with wrong field size in *.dfm

Mikhail Tchervonenko;
There only began in the end, on inability  upside-down all .

25

Re: As it is better to struggle with wrong field size in *.dfm

Dimonka wrote:

it is passed...
Vrjat-whether Something, and here Mikhail can help :-)

Did not understand sense of your expression