Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 13325, Getting String Data from a Database

by Frank Hirka Email: Anonymous


Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 1.0  to 4.0 19 downloads
Copyright: No significant restrictions


Size: 0 bytes
Updated on Mon, 17 May 1999 00:00:00 GMT
Originally uploaded on Mon, 17 May 1999 00:00:00 GMT
Description
This function returns a string from a database
It is the same as Result := Tablename.fieldbyname('fieldname').asstring
fTableName : TableName
fFieldName : Fieldname

Function DBString(fTableName: TDataSet; fFieldName: string): string;
begin
Result := TTable(fTableName).Fieldbyname(fFieldName).asstring;
end;

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03