local aFields := { { "ID", "+", 4, 0 },;
{ "FIRST", "C", 20, 0 },;
{ "LAST", "C", 20, 0 },;
{ "STREET", "C", 30, 0 },;
{ "CITY", "C", 30, 0 },;
{ "STATE", "C", 2, 0 },;
{ "ZIP", "C", 10, 0 },;
{ "HIREDATE", "D", 8, 0 },;
{ "MARRIED", "L", 1, 0 },;
{ "AGE", "N", 2, 0 },;
{ "SALARY", "N", 9, 2 },;
{ "NOTES", "C", 70, 0 } }
where did this type of non-standard file come out now if the dbf is an old format?
what other types exist?
there is an error in fwdbu when I try to change the field type to the ID field
Code: Select all
Application
===========
Path and name: C:\Work\Bin\fivedbu.exe (32 bits)
Size: 6,458,880 bytes
Compiler version: Harbour 3.2.0dev (r1803161710)
FiveWin version: FWH 18.02
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
Windows version: 6.1, Build 7601 Service Pack 1
Time from start: 0 hours 0 mins 44 secs
Error occurred at: 26/10/2018, 10:54:26
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... } length: 5
[ 2] = N 0
Stack Calls
===========
Called from: fivedbu.prg => (b)NEW( 2209 )
Called from: fivedbu.prg => (b)NEW( 2280 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:LDBLCLICK( 2009 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:LDBLCLICK( 1744 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:LDBLCLICK( 4789 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 10514 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3368 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 298 )
Called from: fivedbu.prg => NEW( 2307 )
Called from: fivedbu.prg => (b)BUILDSTRUCTBAR( 2068 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 693 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 944 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1909 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3368 )
Called from: => DIALOGBOXINDIRECT( 0 )
there is also another error when I try to save a record ( it not Know the new field type)