![]() |
siguen los problemas con el campo auto incremento
gracias pero tengo un problema con lo del auto incremento me mas¿rca un error en :setautoinc
procedure TForm1.Button1Click(Sender: TObject); begin Table1.Close; SetAutoInc('C:\Delphi\Prueba.db',StrtoInt(edit1.text)); Table1.Open; end; Procedure SetAutoInc(filename : string; Value : Longint); var mystream : tfilestream; begin mystream := tfilestream.create(filename, fmOpenWrite + fmShareExclusive); try mystream.Seek(73, soFromBeginning); mystream.Writebuffer(Value, SizeOf(Value)); finally mystream.Free; end; end; |
No abras nuevos hilos para continuar un mensaje anterior, máxime cuando el texto es idéntico. Ya te respondí en el otro hilo y este queda cerrado.
// Saludos |
La franja horaria es GMT +2. Ahora son las 04:36:12. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi