Lazy Question (original) (raw)
I'm wanting to store an array of items (they're either string or integer). Currently I'm using a TStringList, but I know I'll hit problems when it comes across setting the value of a ADOTable Field that's an integer to one of a string that should be an integer.
Example:
myList : TStringList;
myTable: TADOTable;
i : integer; // counter
myList.Add('StringValue');
myList.Add(IntToStr(IntValue);
// execute loop here, i being the index of the TStringList
myTable.FieldByName(FieldName).Value := myList[i];
Any ideas on a better way of doing this?
Oh, I'm using Delphi 7
Divcom Software is pleased to announce the release of HelpSmith 3.3. HelpSmith is a powerful help authoring tool for quick creation of professional…
Hi, I'm new to the community. I study Graphics Design (this is my first year) but we started with Computer Science in general. I have no idea about…
Hello Have I undestood correctly that TLabel component does not have a border / border properties and there is not way to create a Label with…