Recent

Author Topic: TSdfDataset vs TFixedFormatDataset  (Read 7499 times)

Anonymous

  • Guest
TSdfDataset vs TFixedFormatDataset
« on: February 10, 2006, 07:30:12 am »
What are TSdfDataset and TFixedFormatDataset?  Are there any help on these component?

RudieD

  • Full Member
  • ***
  • Posts: 234
RE: TSdfDataset vs TFixedFormatDataset
« Reply #1 on: February 10, 2006, 12:35:01 pm »
AFAIK TSdfDataSet is a (Comma/tab/?) seperated file and TFixedFormatDataSet is a fixed width file where all the records are the same length whether theres data or not.

SDF Sample : Name,Surname,Tell,e_mail
                Rec = "Piet,Pompies,,piet@pompies.net"
Fixed Sample :  Name = 15 chars; Surname = 15 chars; Tell = 10 chars; e_mail = 20 chars;
                Rec = "Piet           Pompies                  piet@pompies.net    "
Hope it helps
The FRED Trainer. (Training FRED with Lazarus/FPC)

RudieD

  • Full Member
  • ***
  • Posts: 234
RE: TSdfDataset vs TFixedFormatDataset
« Reply #2 on: February 10, 2006, 12:55:07 pm »
Sorry I forgot to put the Code tags  :oops: ?
The Fixed Sample Rec should look like :
Code: [Select]

Rec = "Piet           Pompies                  piet@pompies.net    "
The FRED Trainer. (Training FRED with Lazarus/FPC)

 

TinyPortal © 2005-2018