-
the index expression should be like this:
STR(Field1,12)+STR(Field2,12)
Because originally DBASE tables had all fields internally as texts, it is the easiest way to combine any fields be turning them into string form.
2009-09-04 23:41:26 UTC in tDBF component for Delphi and BCB
-
Do not hardcode it as a TDbf property. Make a constant, then assign its value to TDbf.FileName at TForm.Create event.
2009-05-05 20:38:32 UTC in tDBF component for Delphi and BCB
-
I think the table remains in dsInsert mode, instead of dsEdit, after you issued Append command. Try to add Dbf1.Edit after Append like this
with Form1.Dbf1 do
begin
Append;
Edit; // <-- extra Edit there
FieldByName('VorName').AsString := Form1.LabeledEdit_Vorname.Text;
FieldByName('NachName').AsString := Form1.LabeledEdit_Nachname.Text;
FieldBy .....
Post:
....
Maybe this...
2009-04-26 02:44:37 UTC in tDBF component for Delphi and BCB
-
Debreate seems to be a great tool for developers, but I think it should cover (or help as much as possible) in all stages of making the Debian package. Below is an extract from my "Creating Debian Packages" I wrote for myself, as it is impossible to remember all the steps and necessary commands.
1. make a folder with any name you like (it is already done in Debreate - source folder)
2009-04-24 10:29:57 UTC in Debreate - Debian package builder
-
Sorry, I only used it with Delphi 7 and Lazarus.
2009-03-24 19:09:02 UTC in tDBF component for Delphi and BCB
-
A new record can only be added to the end of the table. You can change the logical order of the records by mean of indexing the table, so creating the appropriate index you can sort the records logically, and you new record will appear as being "inserted" into a particular position, although it will be physically the last record in the table.
2009-03-24 07:52:55 UTC in tDBF component for Delphi and BCB
-
You should use TDbfFieldDefs instead of TFieldDefs. TDbfFieldDefs reflects DBF-specific properties, like DbfFieldDefs.Items[FieldNumber].Precision.
2008-12-21 19:01:09 UTC in tDBF component for Delphi and BCB
-
I thought it were field type ftFloat for table types 3 and 4 (DBASE III and DBASE IV), but after some testing found it was implemented not as expected.
I created a table with a ftFloat field, width 6, decimal 2 and I opened it in a hex viewer; the field type inside the table file was N(6,2). Then I filled three records and got:
entered .......... stored
123456.78 .... 123456
123.56 ..........
2008-12-20 19:49:07 UTC in tDBF component for Delphi and BCB
-
Same issue. I just installed Money Manager Ex, created a new database, added new account and one payee. When I click in the account link, some window appears on the screen for a moment, then the program closes itself.
The terminal output as follow:
victor@ubuntu-desktop:~$ mmex.sh
starting Money Manager Ex ...
/usr/bin/mmex.sh: line 53: 1388 Segmentation fault ./mmex >...
2008-06-29 00:46:22 UTC in Money Manager Ex
-
When applying a filter expression to a numeric field - ftFloat, ftInteger and so on, - the error message 'Index based on unknown field "-"' is returned, if the expression is in the form, like
field=-1
field
2008-03-13 19:55:42 UTC in tDBF component for Delphi and BCB