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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deleting records

Status
Not open for further replies.

ionutdinulescu

Programmer
Jun 11, 2002
59
GB
I have a form with a listbox filled with records from a table. When I click on a record, a new form appears, where I can delete this record. After I invoke :
List.Recordset.Requery
List.Requery
the deletion is reflected, but the record is not gone, only filled with #deleted.
Is there any workaround for this ?
 
And this ?
List.RecordSource = List.RecordSource

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
And this ?
Application.Echo False
List.RecordSource = ""
DoEvents
List.RecordSource = List.RecordSource
Application.Echo True

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Am I stupid ? :( I forgot to specify acDialog when opening the second form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top