Re: [DUG]: SQL Poser

2001-09-05 Thread Mark Howard
Neven   Thanks!  Rebuilt the Customer table and all was well. Wonder how long it would have taken me to get to that solution.  I thought screwed indexes always resulted in error messages.  This sort of symptom is much more worrisome (resulting in people not getting invoiced).   Appreciate yo

Re: [DUG]: SQL Poser

2001-09-05 Thread Maurice Butler
It pays to rebuild the indexes automatically on startup of the first instance. ie. if you can get exclusive use of the table when you start rebuild the indexes. This way any crashes, power offs etc are automatically recovered from. This seems to required more often with paradox then dbase. d

[DUG]: TRichEdit

2001-09-05 Thread Sandeep
I'm loading a text file into TRichEdit component, which is created at rutime and do some processing on text and then print the text. The text printed is not wrapped, although wordwrap is set to true. Am I missing something? Is there any other way to do this? Regards Sandeep Software Develope

RE: [DUG]: TRichEdit

2001-09-05 Thread Roser, Wayne
I have been trying but I haven't managed to duplicate this - could it be something to do with printer margins? I tried: Richedit1.Lines.LoadFromFile('c:\ATextFileWithLongLines.txt'); //Text wrapped to the Rich Edit RichEdit1.Print('RichEdit word wrap test'); //Text wrapped to the

[DUG]: Alternative reporting components (D5 Ent)

2001-09-05 Thread Cheng Wei
Morning all, Our customers need to dynamically generate -> preview -> print complex RTF documents from within our D5 Apps, the building blocks (RTF format) of these documents are stored in the DB tables as Blob fields. Due to the limitation of QuickReport (we use 3.8 Std) - e.g. QRRichText/QRDBR

Re: [DUG]: SQL Poser

2001-09-05 Thread Mark Howard
That's an interesting suggestion. But some questions: Is this recommended practice? Does it slow down startup significantly (26 tables) What code do you use to see if you have exclusive use of table? What do you use to rebuild the indexes - will DBIRestructure do it? Mark   - Original

RE: [DUG]: SQL Poser

2001-09-05 Thread James Sugrue
Title: Message Depends the size of the tables and the spec of the machine running on. A reasonably sizeable table on a <500MHz machine will take minutes - tens of minutes to rebuild, which probably isn't good on start up.   A better way would be to run a scheduler and have it rebuild in the

Re: [DUG]: SQL Poser

2001-09-05 Thread Neven MacEwan
Mark   Dump Paradox, This a perenial problem with ISAMs   Neven - Original Message - From: Mark Howard To: Multiple recipients of list delphi Sent: Thursday, September 06, 2001 10:40 AM Subject: Re: [DUG]: SQL Poser That's an interesting suggestion. But some

Re: [DUG]: Alternative reporting components (D5 Ent)

2001-09-05 Thread Neven MacEwan
Cheng When you find out - please enlighten us :-) For all it warts the Crystal VCL has been good to me it one limitation in you app is that you can't reference BLOBs in formulae, but it does directly write PDF's Its a great fat DLL but one the plus side it is widely used Neven - Original

Re: [DUG]: Alternative reporting components (D5 Ent)

2001-09-05 Thread Edward Aretino
FastReport (http://www.fastreport.ru/) is US$99 and is one of the lightest available. I started using it a while back & it's richtext support was one of the reasons. That price includes the user-level report builder. It connects to TDatasets (along with other methods), so it's compatible with

Re: [DUG]: SQL Poser

2001-09-05 Thread Mark Howard
Title: Message Scheduling a rebuild at night sounds better. I have TUtil32 but don't know if it runs with comand line parameters, which it would need to do if it were to run unattended.  If it does accept parameters would need to know the syntax. The alternative is to just write a console app

Re: [DUG]: Alternative reporting components (D5 Ent)

2001-09-05 Thread Edward Aretino
Oh yeah, and there's a free version of it out there as well. I think FastReport started off free and then forked into commercial FastReport vs. FreeReport. FreeReport is no longer connected to FastReport, but they seem to still be compatible.. http://www.adwin.ru/dinfo/eng/freereport/ At 11:

Re: [DUG]: Alternative reporting components (D5 Ent)

2001-09-05 Thread Mark Derricutt
Isn't this what FreeReport is being baased off? Something about the author no longer supporting it or something... not sure thou. --On Thursday, 6 September 2001 11:01 a.m. +1200 Edward Aretino <[EMAIL PROTECTED]> wrote: > FastReport (http://www.fastreport.ru/) is US$99 and is one of the > l

RE: [DUG]: Alternative reporting components (D5 Ent)

2001-09-05 Thread Cheng Wei
Thanks Edward, I'm looking at your recommendation at the moment, quite like its small footprint. > I started using it a while back & it's richtext support was > one of the reasons. >From your experience, how good does it handle richtext, especially for data spinning multiple Bands/Pages? Regar

RE: [DUG]: SQL Poser

2001-09-05 Thread Patrick Dunford
A very important point that can never be repeated too much:   It is absolutely imperative that when a table is posted a call is made to DbiSaveTable to flush the cache. On Windows 95 anyway, and there have been documented other issues on networks, and with Windows disk caching.   OTOH I hav

RE: [DUG]: SQL Poser

2001-09-05 Thread Patrick Dunford
To rebuild the indexes you can use the TTUtility component set from O2A www.o2a.com   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark HowardSent: Thursday, 6 September 2001 10:41To: Multiple recipients of list delphiSubject: Re: [DUG]: S

RE: [DUG]: Alternative reporting components (D5 Ent)

2001-09-05 Thread Edward Aretino
>Isn't this what FreeReport is being baased off? Something about the >author no longer supporting it or something... not sure thou. No, that was an earlier fork as far as I can tell, FastReport is very well supported - the last release was a week ago. There's even dbExpress support and a be

[DUG]: Property Editor for TQuery Descendant

2001-09-05 Thread Stacey Verner
I have a TQuery descendant and I want to put a Component editor on it (right click context menu option). To get the default behaviour I must inherit from TQueryEditor in BDEReg.pas.   When I build my design time only package I get the error Cannot find BDEReg.dcu.   I have found BDEReg.p

Re: [DUG]: System Tray app

2001-09-05 Thread Ross Levis
Thanks Patrick. I wasn't going to have a visible form at all but it turns out I do need one and your example was very useful. Cheers, Ross. Patrick Dunford wrote: >The one I have used which I am happy with is mdTrayIcon by Martin Djaernes. > >You can make an application autohide to the system

[DUG]: Trapping ctrl+v

2001-09-05 Thread vss
HI All. I have a need to trap when someone does a paste into a control, so I can add some comments above the newly pasted text. What I am currently doing is if the press ctrl+v I get the line pos where the text is about to pasted to, then insert some text at that pos-1 This does not quite wor

Re: [DUG]: Trapping ctrl+v

2001-09-05 Thread Andrew Little
Hi, This is a bit clugie, but it seems to work :) There is probably an API hidden away some where. FCtrl: Boolean; FVKey: Boolean; ... procedure TForm1.Memo1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin FCtrl := ssCtrl in Shift; end; procedure TForm1.Memo1KeyPress(Se

RE: [DUG]: SQL Poser

2001-09-05 Thread Stephen Barker
Title: Message Mark,   If you are using Paradox you only need to do like:   tbarchive := nil; try    Screen.Cursor := crHourglass;    tbArchive := TTable.create( nil );    with tbArchive do begin databasename := datadir; tablename    := 'arc

Re: [DUG]: SQL Poser

2001-09-05 Thread Mark Howard
Title: Message Hey thanks Stephen! That'll save me a bit of time.  I guess I just cycle through my tables replacing your 'archive.db' with each in turn?   Regarding the conversion to C/S, the IBO components have a set that directly replace existing TQuery's and TTables as a halfway house befor