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...
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...
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.
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.
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...
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...
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.
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/
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.