Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 9th, 2006, 06:56 AM
Friend of Wrox
 
Join Date: Dec 2005
Location: CHENNAI, TAMILNADU, India.
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anukagni Send a message via Yahoo to anukagni
Default Open & save 1 frm witout closing the prvs frm


 Hi,
    Here again i got an prob to save & retriving the data in an table
 I got two table Equipment Entry & Employee's Name . THe tbl Emp name is having relation with Eqp entry .I have created an from view for the both and i placed an command button in the Eqp entry from to goto Emp Name without closing the Eqp entry from,and when i store the data in the Emp Name and colsed the from after entering the name of the employee which is not in the table and when i had tried to retrive the name on Eqp Entry's (combo box of employee name),I am not able to found the data . When i closed & openning again the Eqp entry then i can found the data which i have stroed in previous.
  Any body in the group pls help me in this issue .,As soon as possible.
 Thanks in advance ,


 Bye,
 Your's
 pap
Reply With Quote
  #2 (permalink)  
Old January 9th, 2006, 09:02 AM
Friend of Wrox
 
Join Date: Aug 2004
Location: , , .
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
U should try entering on the properties window of ur Employees Name form clicking on the Event Tab, to write on the OnClose property after clicking on Code Builder the following code :
       Private Sub Form_Close()
           RefreshDatabaseWindow
       End Sub
Hope it helps,
P





Reply With Quote
  #3 (permalink)  
Old January 9th, 2006, 11:40 AM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would add code to the GotFocus event of the Eqp Entry's (combo box of employee name):

Me.ComboBoxName.Requery

using your ComboBoxName of course.

Reply With Quote
  #4 (permalink)  
Old January 10th, 2006, 02:42 AM
Friend of Wrox
 
Join Date: Dec 2005
Location: CHENNAI, TAMILNADU, India.
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anukagni Send a message via Yahoo to anukagni
Default

HI guy's

 i got the good result by giving refresh vb code.
 thanks 'P' . Then 'RG' the code u said me to add in the Eqp Entry 'Emp name' is not able to consume pls give me an reply then i can try & gain knowlodge in this area .
 thank you once again Penta.,

 Bye,
 I ill contact u if help needed,
 'Pap'
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
add & Remove frm Listbox hotshot_21 ASP.NET 1.0 and 1.1 Basics 1 June 21st, 2007 05:26 PM
Display Record Frm 2Diff Tables&Without Duplicate future Classic ASP Databases 3 November 12th, 2006 12:16 PM
Use a frm based on a qry to update a tbl Brucifier Access 1 August 8th, 2006 10:06 PM
get latest record frm transaction tbl jyopallavi SQL Server 2000 1 June 9th, 2005 08:11 AM
list of all controls within a .frm file arvindkrishnan VB Components 4 February 13th, 2004 05:48 PM



All times are GMT -4. The time now is 02:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.