Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Grid - Unable to add New Records ?

Status
Not open for further replies.

Cap2010

Programmer
Mar 29, 2000
196
CA
hi,

unable to add new records in datagrid
what it does is on click to List box
it retrieves data from list box and
it replaces the previous record.
how to add new record with the previous record existing

How to.

Regards,

Lad
 
try this if you use a bound datagrid to a datacontrol:

1. define the recordsource of the data control, the grid will be automatically filled with all records

2. by clicking on the list box, add a new record to your table, fill in the fields of that record, and "refresh" the data control recordset, the grid will be automatically filled with all records including the new record (if it meets the query definition)

good luck
vincent
acady@yucom.be
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top