Be patient, a solution to this is probably being developed.....

-- Original Message ----- 
From: "ArminThoma" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 29, 2004 11:38 AM
Subject: [RBG7-L] - property RBASE_FORM rebuild 'true'


Hi all
(Have a look to Doug Hamilton's mail from 11/3/04, too)

I know the upper PROPERTY-Command doesn't exist. But it would be nice if ...

Reason:
I have one form with a
--> Variable Lookup ListBox (in order to choose the CustId --> vCustId)  and
some
--> DbEdit - Fields (in order to edit CustName... that belong to the CustId).
I'm looking for a possibility to choose the CustId out of the  ListBox and
directly (without any other form)  edit the record that belongs to that chosen
CustId.
I don't want to use a CHOOSE-Command before, I dont want to use temp. table.

Solution (not the best one, but it works)

--Call the Form
SET VAR vCustId INTEGER = 1  (first record is to see)
WHILE vCustId > -1 THEN
  EDIT USI FCustEdit WHE CustId = .vCustId
ENDWHILE
RETURN

--OnClick-EEP in VarListBox
CLOSEWINDOW
RETURN

-- BitButton to CLose the form
SET VAR vCustId = -1
CLOSEWINDOW
RETURN

-- BitButton to add a new row
property table Customers 'append'
saverow
property CustIdList refreshlist 'true'
RETURN

Well, it works, but I'm looking for an elegant solution. With an
property-command like
                   property RBase_Form rebuild 'true'

one could reach that goal elegant.

Regards

Armin

Reply via email to