Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 3 of 3 total |
Import in a Table |
Thu, May 15 2008 8:47 AM | Permanent Link |
Bruno | Hi,
I'm using the fonction ImportTable to import a text file in my table like this T1.TableName := 'TBIFC'; T1.ImportTable('C:\import.txt' ,#9); The import is working good so now I want to know how to use the ImportProgress function to view the pourcentage of the importation. Can you help me ? Thanks a lot |
Thu, May 15 2008 9:04 AM | Permanent Link |
Bruno | Bruno <br@ajsoft.fr> wrote:
Hi, I'm using the fonction ImportTable to import a text file in my table like this T1.TableName := 'TBIFC'; T1.ImportTable('C:\import.txt' ,#9); The import is working good so now I want to know how to use the ImportProgress function to view the pourcentage of the importation. Can you help me ? Thanks a lot I have found how to do this with using PercentDone |
Thu, May 15 2008 4:03 PM | Permanent Link |
"Jeff Cook" | Bruno wrote:
> Hi, > > I'm using the fonction ImportTable to import a text file in my table > like this > > T1.TableName := 'TBIFC'; > T1.ImportTable('C:\import.txt' ,#9); > > The import is working good so now I want to know how to use the > ImportProgress function to view the pourcentage of the importation. > > Can you help me ? > > Thanks a lot Kia Orana Bruno 1. Add a progress bar to your form. 2. Set Max = 100, Min = 0 3. Create an OnImportProgress event on your table Then procedure TMyForm.MyTableImportProgress(Sender: TObject; PercentDone: Word); begin MyProgressBar.Position := PercentDone; end; Cheers Jeff -- Jeff Cook Aspect Systems Ltd www.aspect.co.nz + Joan and Jeff Cook The Cooks Oasis www.cookislandsoasis.com |
This web page was last updated on Wednesday, June 12, 2024 at 01:54 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |