Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 2 of 2 total |
creating tables progress |
Wed, Oct 10 2007 9:27 AM | Permanent Link |
Andrej Bivic | I 've changed
ver2.12: TableToUpdate.OnRestructureProgress := TableToUpdateRestructureProgress to ver4.25: TableToUpdate.OnAlterProgress := TableToUpdateRestructureProgress; I am recieving an error: "Incompatible typs: 'Word' and 'Integer' " Please advise. |
Wed, Oct 10 2007 10:22 AM | Permanent Link |
Eryk Bottomley | Andrej,
> ver2.12: TableToUpdate.OnRestructureProgress := TableToUpdateRestructureProgress > to > ver4.25: TableToUpdate.OnAlterProgress := TableToUpdateRestructureProgress; > > I am recieving an error: "Incompatible typs: 'Word' and 'Integer' " I can't remember V2.x but the event handler signature for V4.x is: procedure TMainForm.DBISAMTable1AlterProgress(Sender: TObject; PercentDone: Word); begin end; ....your TableToUpdateRestructureProgress procedure has to have a matching parameter list. Apparently it is currently trying to pass a variable of type Integer in a position where the signature requires a variable of type Word. Change the definition of TableToUpdateRestructureProgress accordingly. Eryk |
This web page was last updated on Thursday, March 28, 2024 at 06:05 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |