Delph7 我现在需要用程序生成一个dbf的表,但这个表有120个字段,我发现只要到了40个字典,就会报错delphi record size is too big for table table dose not exist 请问下这个问题该如何解决? function DataExports(NZYH: string; NDataset: tadodataset): Boolean; //雕龙病案首页医保导出 var
NConStr: string; NPath: string; NStr: string; BaseName: string; TableName: string; table: Ttable; begin try table := TTable.Create(nil); table.Close; table.Active := false; table.Exclusive := true; table.TableName := NZYH; table.TableType := ttFOXPRO; with table.FieldDefs do begin Clear; with AddFieldDef do begin Name := 'USERID_'; DataType := ftString; Size := 60; end;
with AddFieldDef do begin Name := 'USERNAME'; DataType := ftString; Size := 60; end; ......... 创建的字段超过40个就会报错
----------------------------------------------
-敢于学习,谦虚学习,鼓励批评!!