Information générale
Titre:
Grid can't be empty when adding data
hi to all..
im beginner programmer in foxpro. i made a form which has a header and detail.
the header i had a code like this.
thisform.txtdate.Value = {}
thisform.txtcode.Value = ""
thisform.txtname.Value = ""
thisform.txtcash.Value = 0
thisform.txtchkno.Value = ""
thisform.txtchkdate.Value = {}
thisform.txtchkamnt.value = 0
thisform.txtbank.Value = ""
thisform.txtremarks.Value = ""
thisform.txtamount.Value = 0
this code is for the header table.
the detail table i used a grid.i make a builder and a relation.
my problem is when i add a new data the grid will not empty.the previous data i made still there. no problem with the header during when i add it will empty.i also bind the header table to the textbox .
pls help me.
john
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement