Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mgauss

    changing values in a TTable

    You can change values in individual fields very easily. One way: form1.table1.Edit; //or form1.table1.Insert or Append; form1.table1YOURFIELDNAME.Value := 58 form1.table1.Post; or form1.table1.Edit; form1.table1YOURFIELDNAME.AsInteger :=58 form1.table1.Post; For a string: form1.table1.Edit...
  2. mgauss

    alignment of text

    azteroth Here is a way to create a right justified edit box. I copied liberally from the Jedi Code for the JVEdit component (free from their home page at: http://www.delphi-jedi.org) unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms...
  3. mgauss

    Console App and QApplication?

    What Units are listed in the USES clause of your console app?
  4. mgauss

    Saving To A Database

    Have you tried: f (Utility.Modified) then begin CallBackQ.Edit; CallBackQ.FieldByName('BACKCOMP').NewValue:=Utility.Text; CallBackQ.Post; end; BTW - the statement: StatBar.Panels[1].Text:='Modified'; is executed everytime regradless of the result of the "if" statement.
  5. mgauss

    Saving To A Database

    Trychanging the CallBackQ.FieldByName('BACKCOMP').NewValue:=Utility.Text; to: CallBackQ.FieldByName('BACKCOMP').AsString:=Utility.Text;
  6. mgauss

    writing a licensed app. for home PCs

    Some companies acually have the client contact them either by phone or email for an unlocking key code. Each time the program is re-installed, the user will have to contact you for the unlocking key code because the ariginal one won't work. The new unlocking code acually changes every day.
  7. mgauss

    Printer Select

    You're welcome ! :)
  8. mgauss

    Printer Select

    I wrote this combo box component that will give the user a drop-down list of all available printers. When the user selects the printer, it becomes the current printer. i used it in a Crystal Reports viewer program: unit PrintersCombo; interface uses Windows, Messages, SysUtils, Classes...
  9. mgauss

    Trying to close a form, EAccessViolation

    Perhaps one of the other forms are using variables (global?) found on Form 3...
  10. mgauss

    Data corruption writing to Access Db

    Do you receive any update errors back from the Provider after updates apply? What is the Result set that is returned? Also, check to see if the first time you apply the updates if all changes are applied correctly. If it always works the first time, but after that, errors occur, it might be...
  11. mgauss

    Data corruption writing to Access Db

    Do the app make an explicit Post after each edit, insert, delete? i.e. begin Table1.Edit; Table1.Post; end; Sometimes the implicit Posts are not handled properly, such as putting a record in edit mode and them moving to another record. This usually calls a posts, but is not always reliable.
  12. mgauss

    Data corruption writing to Access Db

    How are you inserting the records into Access? Are you using ODBC, ADO or?
  13. mgauss

    This has been bothering me for quite a while now ...

    Because a set cannot be directly assigned to an Pchar array. The array is looking for a PChar to go in each slot not a set of characters.
  14. mgauss

    Programming for Handheld PC's

    Haven't seen any support yet from Borland for the WinCE platform. There is "delphi"lke software for the Palm PC called Pocket Studio. http://www.pocket-technologies.com/
  15. mgauss

    Table Locked

    Are you using Paradox tables? If so, a lock was placed on the table whenever it is being used, even if you are the sole user. If for some reason, the table was not closed properly i.e. - the application froze, computer rebooted etc. the lock was not removed. Search for the file...
  16. mgauss

    Error calling DLL

    You might check out the short article on Delphi DLL's at: http://www.devx.com/dbzone/articles/hg0102/hg0102-1.asp It explains using the stdcall function rather than register to allow other app's to use the dll.
  17. mgauss

    String Grid-Help!!!

    HI, will you have a number more than once in either column? such as 1 2 1 3 2 5
  18. mgauss

    TClientDataSet & XML

    The WrapText function might be what you need. WrapText returns a copy of your string broken into multiple lines. Each line is broken whena a line reaches MaxCol characters. To create a line break, BreakSStr is inserted in the string after a series of BreakChars characters at the end of the...
  19. mgauss

    Browsing records from linked tables using 1 navigation object.

    Are your tables a master-detail relationship? For instance if you click on a master table record ( for instance, customer) all the details (such as orders) for that cusotomer will also be displayed?
  20. mgauss

    Paradox Index Out-Of-Date

    1. be sure to close the child tables first and then the master tables 2. sometimes if a program crashes while accessing the table it will leave the Table in a n unstable state. "Improperly closing files such as due to loss of power or restarting a workstation or the server without closing...

Part and Inventory Search

Back
Top