|
-
August 15th, 1999, 12:34 AM
#1
dblist
Hi everyone,
I am having a problem resetting the listfield in the dblist after either adding a customer to the database or after deleting one. Sometimes it works sometimes it doesn't.
BTW i am using VB6sp3 Access2000 and using ADO2.1sp2
To reset the dblist this is what I am doing
I am opening the recordset, requerying it, then close it.
Here is the code.
With Dataenv.rscustomer
if .state = adstateopen then .close
.open
.requery
.close
end with
dblist.rowmember = ""
dblist.rowmember = "customer"
dblist.refill
Any help would be appreciated.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|