Hi, all,
 
I have a subtable called "SUBTABLE" on FORM1 that is displayed as a  dbGrid.
 
I have a button next to the dbGrid that, when clicked, pops up another  form, 
FORM2.  FORM2 lets the user enter one row of data into  SUBTABLE through 
variable edit fields (which are error-checked and processed in  other ways that 
I 
can't do in a dbGrid).
 
After one row of data is entered on FORM2, the user clicks a button "ADD  
RECORD." In the "ADD RECORD" On Click EEP, the data in the variable edit  
fields 
are then inserted into table "SUBTABLE" on FORM1.  If  the user wants to add 
another row on FORM2, the variable fields are cleared  so that the next record 
can be added on FORM2.
 
What I want to do is to have each row that is added through FORM2 into  table 
SUBTABLE be displayed on FORM1 right after it is inserted into the table,  
through FORM2's On Click EEP for the ADD RECORD button.  
 
In other words, if a person enters more than one record on FORM2, I want  
each new record to be displayed in the FORM1 dbGrid right after it has been  
entered and saved in FORM2 without having to close FORM2.
 
In FORM2's "ADD RECORD" On Click EEP, I've tried setting the  focus to FORM1 
and then refreshing table SUBTABLE using PROPERTY TABLE  SUBTABLE 'REFRESH'; 
but that doesn't seem to work.  Does anyone know how to  do this?  I think I am 
overlooking something simple.
 
Diane DeMers
Sugarloaf Software
**************A Good Credit Score is 700 or Above. See yours in just 2 easy 
steps! 
(http://pr.atwola.com/promoclk/100000075x1215855013x1201028747/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bcd=De
cemailfooterNO62)

Reply via email to