Hello,
Thanks for your help Jan.
I implemented the property command and it does the trick as far as
adding my new rows to the list! However, there are a couple of flaws
that I must resolve:
-If I click on any row in the ListView, all the rows disappear.
(They are not deleted from the table...it's just that the ListView
blanks out.)
-Also, there is a lag for processing time that is a bit unreasonable
(2-3 seconds per item after clicking my save row button) for a fast data
entry employee.
-I wanted to be able to edit a row in the form by clicking on it in
the ListView - this won't work since the rows disappear when I click on them
I have a feeling that I'm approaching this function from the wrong angle
altogether...
Alex Sisk
jan johansen wrote:
Alex,
Make sure that your list view has a ComponentID.
Then at the end of your "Add" routine, place
PROPERTY yourlistcomponent REFRESHLIST TRUE
Based on what you say about showing variables
you may need a RECALC VARIABLES also.
Jan
-----Original Message-----
From: Alex Sisk <[EMAIL PROTECTED]>
To: [email protected] (RBASE-L Mailing List)
Date: Mon, 17 Nov 2008 08:59:07 -0500
Subject: [RBASE-L] - Data Entry Form with Live-Updating List
Hello,
I have a data entry form with a Variable Lookup ListView, and I would
like the ListView to be interactive with the form. (Ex: If I click
on a
row in the list, that data is immediately displayed in the form
fields
to edit...or as soon as I add a row, it shows up in the list.
I have seen something similar to what I am looking for in the
DBGridListBox Sample Application (dbgridlb). The difference is that I
process my data entry in batches, so the ListView must use a where
clause specifying a batch name variable.
Right now I have this set up to the point where it functions
almost as I
described, except that I must close and reenter the form for the
ListView to update.
Thanks for any assistance!
--
Alex Sisk
DiMark, Inc.
1076 West SR 436, Suite A
Altamonte Springs, FL 32714
(407) 786-4321
--
Alex Sisk
DiMark, Inc.
1076 West SR 436, Suite A
Altamonte Springs, FL 32714
(407) 786-4321