HOW TO ADD ROW IN GRID  
Author Message
NILKAMAL





PostPosted: Visual FoxPro General, HOW TO ADD ROW IN GRID Top

HI!

PLEASE HELMP ME OUT FOR THIS PROBLEM

I CREATE FORM WITH GRID BUT WHEN I RUN FORM IT ASK ME TO ADD RECORD IN BOTH OR ONLY FORM OR ONLY GRID I WANT TO SKIP THAT QUESTION ALSO I WANT IN GRID MORE THAN ONE ROW BUT MY CURSOR MOVE IN SAME ROW

THANKS



Visual FoxPro1  
 
 
CetinBasoz





PostPosted: Visual FoxPro General, HOW TO ADD ROW IN GRID Top

Then don't ask that question in your code.

You do not add a row to a grid, you add row(s) to its underlying source. Check insert into in help.


 
 
NILKAMAL





PostPosted: Visual FoxPro General, HOW TO ADD ROW IN GRID Top

THANKS FOR YOUR REPLY BUT CAN WE MAKE GRID IN VFP LIKE A SUBFORM IN ACCESS COS MY MAIN FORM HAVE FEW FIELD AND CHILED FORM HAS DETAIL DATA FIELD

THANKS


 
 
Tracy H





PostPosted: Visual FoxPro General, HOW TO ADD ROW IN GRID Top

Look at the 'Display Child Records from a Relationship Sample' in the solutions.

...\Samples\Solution\Controls\Grid\1_many.scx

typically located in your home() path. You can try:

modi form (HOME()+'Samples\Solution\Controls\Grid\1_many.scx')

from the command window to look at the example.