|
Dennis: I know
that the List has been very slow the last week but I believe that you will find
a solution to your problem. I originally developed the concept of PREVROW,
NEXTROW a while back for 6.5++; with the introduction of PROPERTY TABLE
your-table ‘REFRESH’ I have not had the need to use the previous method since. I have a
Work Order Main table that has a one-to-many relationship with a Procedure
table; in turn, the Procedure table ahs a one-to-many relationships with the Labor
and Parts tables. I have no problem keeping the table ‘refreshed’ >>> DELETE ROWS FROM tableA WHERE tk_nbr =
.tknbr I noticed
that you use the code above to delete the row from a table and I assume that
tableA is the main table and tableB is the sub-table and that they have a
one-to-many relationship. If this is the case, I see a problem: You should
always delete the rows from the sub-table (many) first, and then the rows from
the main table. If you are
doing the procedure above and it is letting you that, then you probably do not
have your PK and FK defined other wise it would not let you delete the rows
from the main table (one) first as long as there are row on the sub-table
(many) and this is why you might not be displaying the data correctly. I know
that some user like to add the data to a temporary table and the transfer it to
the actual table. I prefer to use the actual table; however, I always use speed
button to add and delete rows using code rather than the insert, delete roe
native functions. For example to enter a new row in a sub-table, I prompt the user
for some minimum data, add some default values, insert the data into the table
and then use the PROPERTY ….’REFRESH’ to update the form; it work beautifully.
New records to them main table are always added with code outside of the form and
the then the form is opened in the EDIT mode; as I said, I do not use form in
the ENTER mode at all…juts a personal preference that has serve me well. Maybe you
can see if you can duplicate your problem using the Concomp database and post
the code, so we might be able to better see what you are trying to accomplish. Javier, Javier Valencia, PE President Valencia
Technology Group, L.L.C. 14315 S.
Twilight Ln, Suite #14 Olathe, Kansas
66062-4578 Office
(913)829-0888 Fax (913)649-2904 Cell
(913)915-3137 ================================================ Attention: The information
contained in this message and or attachments is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material. Any
review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this information
by persons or entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and delete the
material from all system and destroy all copies. ====================================================== -----Original
Message----- Thanks again
Dawn. Dennis, From: Dennis Fleming [mailto:[EMAIL PROTECTED]
] Dennis, From: Dennis Fleming [mailto:[EMAIL PROTECTED] ] Dennis,
Dennis Fleming
IISCO
Phone: 570 775-7593
Mobile: 570 351-5290
|
- [RBG7-L] - RE: Refreshing multi table screens Dennis Fleming
- [RBG7-L] - RE: Refreshing multi table screens Dawn Oakes
- [RBG7-L] - RE: Refreshing multi table screens Dawn Oakes
- [RBG7-L] - RE: Refreshing multi table screens Dennis Fleming
- [RBG7-L] - RE: LMAX Function Steve Vellella
- [RBG7-L] - RE: LMAX Function Steve Vellella
- [RBG7-L] - RE: LMAX Function A. Razzak Memon
- [RBG7-L] - RE: LMAX Function Steve Vellella
- [RBG7-L] - RE: Refreshing multi table screens Dawn Oakes
- [RBG7-L] - RE: Refreshing multi table screens Dennis Fleming
- [RBG7-L] - RE: Refreshing multi table screens Javier Valencia
- [RBG7-L] - RE: Refreshing multi table screens Dennis Fleming
- [RBG7-L] - RE: Refreshing multi table screens Javier Valencia
- [RBG7-L] - RE: Refreshing multi table screens Jan Johansen
- [RBG7-L] - RE: Refreshing multi table screens A. Razzak Memon
- [RBG7-L] - RE: Refreshing multi table screens ELOEN
- [RBG7-L] - RE: Refreshing multi table screens Javier Valencia
