| |
|
|
| Hello Frank,
I try straight one Prg. To write, with the I DBF-Files modify can: 1. DB reading 2. boxes (Split) Remove / add 3. as new DB abspeichern
1. and 2. klappen well. If I The geänderte DB with ListViewToDBF abspeichere, lose I almost any Feldbeschreibungen: Feldname - ok Feldtyp - C,n etc. ok Feldlänge - mere random ( 1 - 59... yet) Anz.Dezimalstellen with n-Feldern isn't To settle, therefore always 0 - pity, no Centbeträge More have You a idea, How to the settle can?
thanks ThomasP |
|
|
| |
|
|
|
| Hi Thomas,
in the guide is under ListviewToDbf() an example posted. Klappt it lest ?
bytes&=GetNeededMemory(listview&,2) Dim area#,bytes&
bytes&=ListviewToDbf(listview&,area#,bytes&,0) Char area#,43=N Char area#,(43+32)=C really unnecessary, contains already C Char area#,(43+64)=C really unnecessary, contains already C Char area#,(43+96)=N Char area#,(43+128)=N
Text$=Datei.dbf WriteFileQuick(addr(Text$),area#,0,bytes&)
Dispose area#
Greeting, Frank |
|
|
| |
|
|
|
| Hello Frank,
the example works correct: > Feldtyp - C,n etc. ok
what I do not knows, is How one The Feldparameter Feldlänge and amount Dezimalstellen einstellt. in example Feldname: MeinGeld Feldtyp: Numerisch Feldlänge : 11 (one is Optimist!) Dezimalstellen: 2
yields 12345678.90
mfG ThomasP |
|
|
| |
|
|
|
| Hi,
I seh me the into next Meet on. today have I unfortunately no Time.
Greeting, Frank |
|
|
| |
|
|
|
| Hi,
the Feldtyp ought to Yes clear his (Offset 43):
Char area#,43=N
and for each slot 32 add
Char area#,(43+32)=C Char area#,(43+64)=C Char area#,(43+96)=N
The Feldlänge (one byte !) has whom Offset 48. The Dezimalstellen (too one byte !) whom Offset 49.
for example:
byte area#,48=11 byte area#,49=2
so can you Yes test times and message say, whether You so zurecht come or whether I the in the Dll solid anchoring ought to.
Greeting, Frank |
|
|
| |
|
|
|
| Hello Frank,
Have unfortunately z.Zt. VERY little Time.
will be but your suggestion soon try and you then telling for.
fundamentally would find I it well, if it solid into DLL installed would.
Greeting ThomasP |
|
|
| |
|
|