Recent

Author Topic: Printing records  (Read 1741 times)

riwu

  • New Member
  • *
  • Posts: 15
Printing records
« on: December 31, 2015, 05:46:52 am »
Is there a way to print different types of records without implementing specific routine for every different type of records?
It can be in any format (eg. field: value, or just values separated by space/commas)

taazz

  • Hero Member
  • *****
  • Posts: 5364
Re: Printing records
« Reply #1 on: December 31, 2015, 05:57:34 am »
Is there a way to print different types of records without implementing specific routine for every different type of records?
No, thats why we have db aware classes and controls eg Tdataset and tdbgrid.
It can be in any format (eg. field: value, or just values separated by space/commas)
There are a number of import classes to a memorydataset which you can use but what you ask is to generic to have any meaningful response.
Tell us about your actual goals and data and we might be able to point you to an existing solution or code easily adaptable to your case.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018