Hi:
What's the point of declaring the TEdit locally? Use a string
instead. Additionally, in Delphi [and any other OOP language) if you
want to use objects, you instantiate them first, as in Edit1 :=
TEdit.Create(nil);
Regards,
Arthur
On 4/13/07, Bob Pawley <[EMAIL PROTECTED]> wrote:
I
On 13/04/2007 19:25, Raymond O'Donnell wrote:
PSQLQuery1.SQL.Add ('Where P_ID.Loops.Loop_Name = :Loop_Name');
PSQLQuery1.ParamByName('LoopNumberEdit').Value := Edit1.Text;
I meant to say also that the parameter name you're passing to the
ParamByName() function isn't the same as the one you've
On 13/04/2007 19:05, Bob Pawley wrote:
I am attempting to update a table using a value that
is displayed on a TEdit component. I am getting an
access violation error.
Hi Bob,
An access violation error means that some part of your code is trying to
access memory that it shouldn't. It most like
I am attempting to update a table using a value that is displayed on a TEdit
component. I am getting an access violation error.
Can someone tell me what I am doing wrong??
procedure TLoopBuilderForm.NewLoopButtonClick(Sender: TObject);
var Edit1 : TEdit ;
begin
PSQLQuery1.Close;{