Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-02-2002, 11:19 AM   #1
Member (7 bit)
 
Join Date: Feb 2002
Posts: 67
Adding to a database in VB

I have a small problem with a database program I'm making in Visual Basic. The program is on two separate forms, one for adding, one for searching. When the user adds a record on the add form, then goes to view the record on the search form, it isn't there. If they close and open the program again, the data is there. Does somebody know of a quick fix to this problem?

Ta,

Keys
skeletonkeys is offline   Reply With Quote
Old 10-02-2002, 11:41 AM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
You need to manually requery the recordset that the search form is based upon. Just use the requery method.
doctorgonzo is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:24 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2