Jump to content

Stéphane Wierzbicki

Members
  • Content Count

    230
  • Joined

  • Last visited

Posts posted by Stéphane Wierzbicki


  1. Hello,

     

    Can someone test this ? 

    - Copy the object bellow and paste it on a VCL form

    - Left click on the FDMemtable1 object and choose "Fields editor..."

    - Left click and select "Add all fields"

    - Open the FieldDefs dialog

     

    Act: empty. all fielddefs has been deleted

    Expt: fielddefs list should not be deleted

     

    Ps: I'm using Delphi RIO + not even alpha IDEFix pack

     

    object FDMemTable1: TFDMemTable
      FieldDefs = <
        item
          Name = 'RateDate'
          DataType = ftDate
        end
        item
          Name = 'CurrFrom'
          DataType = ftString
          Size = 20
        end
        item
          Name = 'CurrTo'
          DataType = ftString
          Size = 20
        end
        item
          Name = 'Value'
          DataType = ftFloat
          Precision = 6
        end
        item
          Name = 'Caption'
          DataType = ftString
          Size = 20
        end
        item
          Name = 'Kind'
          DataType = ftString
          Size = 20
        end
        item
          Name = 'Ratio'
          DataType = ftFloat
        end
        item
          Name = 'Update'
          DataType = ftString
          Size = 20
        end>
      IndexDefs = <>
      FetchOptions.AssignedValues = [evMode]
      FetchOptions.Mode = fmAll
      ResourceOptions.AssignedValues = [rvSilentMode]
      ResourceOptions.SilentMode = True
      UpdateOptions.AssignedValues = [uvCheckRequired, uvAutoCommitUpdates]
      UpdateOptions.CheckRequired = False
      UpdateOptions.AutoCommitUpdates = True
      StoreDefs = True
      Left = 136
      Top = 144
      object FDMemTable1Caption: TStringField
        FieldName = 'Caption'
      end
      object FDMemTable1CurrFrom: TStringField
        FieldName = 'CurrFrom'
      end
      object FDMemTable1CurrTo: TStringField
        FieldName = 'CurrTo'
      end
      object FDMemTable1Value: TCurrencyField
        FieldName = 'Value'
      end
      object FDMemTable1Ratio: TFloatField
        FieldName = 'Ratio'
      end
      object FDMemTable1Update: TStringField
        FieldName = 'Update'
      end
      object FDMemTable1Kind: TStringField
        FieldName = 'Kind'
      end
      object FDMemTable1RateDate: TDateField
        FieldName = 'RateDate'
      end
    end


     


  2. Hi @jbg,

     

    I'm facing some strange issues within the IDE. Some properties does duplicate their contents :

    Here is a simple test case

     

    Create a new VCL application

    Drop a FDMemtable

    Edit the FieldDefs, dialog will appears:

     - create 2 fields

     - Select any of the created field and change it's datatype : the datatype dropdown list will display all datatypes

    Close FieldDefs dialog

    Edit again the FieldDefs dialog will appears:

     - Select any of the created field and change it's datatype : the datatype dropdown list will display duplicated datatypes (2 times)

     - create 2 fields

     - Select any of the created field and change it's datatype : the datatype dropdown list will display duplicated datatypes (4 times)

     

     

    I also add another issue (I did not found so far a way to reproduce it) where a "Datasource" property listed TFieldType instead of available TDatasources...

     

    Hope this will helps you to fix this.

     

    Regards


  3. 21 minutes ago, Uwe Raabe said:

    Cannot reproduce. Datatype dropdown list contains unique values here.

    I missed a step :

     

    Create a new VCL application

    Drop a FDMemtable

    Edit the FieldDefs, dialog will appears:

     - create 2 fields

     - Select any of the created field and change it's datatype : the datatype dropdown list will display all datatypes

    Close FieldDefs dialog

    Edit again the FieldDefs dialog will appears:

     - Select any of the created field and change it's datatype : the datatype dropdown list will display duplicated datatypes (2 times)

     - create 2 fields

     - Select any of the created field and change it's datatype : the datatype dropdown list will display duplicated datatypes (4 times)


  4. Hello,

     

    Can any one test this ?

     

    Create a new VCL application

    Drop a FDMemtable

    Edit FieldDefs property and :

     - create 2 fields

     - Select any of the created field and change it's datatype : the datatype dropdown list will display datatypes twice

     - create 2 other fields

     - Select any of the created field and change it's datatype : the datatype dropdown list will display datatypes 4 times

     

     

    Thank you


  5. Hello

     

    I would like to serialize a FieldDefs list.The idea is to let my user update a TFDMemTable fields list and save this list.

    I tried to use the TJSON class (found in unit REST.JSON), for example, 

     

    TJSON.ObjectToJsonString (FDMemTable1.FieldDefs);

    This code fails with an stack overflow error (unit system, function UnicodeFromLocaleChars).

    Do I have to build all this list from the scratch ? 

     

    Btw, I'm using Delphi RIO 10.3


  6. 2 hours ago, Günther Schoch said:

    We have reported similar issues already middle of Sept. 

    it's reproduced by EMBT but nothing happened until now. The fact is that EMBT just has not included the TDirectoryCache of the fixpack. This is a show stopper on our side as the IDE fully blocks during the work.

    I'm very upset. They are aware of the problem, they are watching this forum and no communication at all. 

     

    How do they treat their customers? Sorry but this is really disrespectful. 

×