Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 2nd, 2005, 01:10 AM
ranbir singh ranbir singh is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 24 ranbir singh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 20 m 18 sec
Reputation Power: 0
refresh the text fields

i have created a form which ask for first name and last name and two buttons which are like

-------------- main form --------------------------


first name ................... last name .................

add new record >> [command button], it goes to candidate profile form for adding
edit this record >> [command button], it goes to candidate profile form for editing

---------------------------------------------------

if i type in first name and last name and then press the add new record button, candidate profile forms comes up wherein i feed the rest of the data related to the concerned candidate record. same is with edit this record.

the problem is : after feeding in the data and pressing the save & close button, the forms comes back to this form (main form, as above).. but the first name and the last name still show the name i have just typed... i want these two to get refreshed up after i typed in the data and save&close and come back to this form (main form).. or else i have to overwrite the names and then press the add this record.. (this does not look good, for you see, its like working in hand made forms )

help me please

Reply With Quote
  #2  
Old February 2nd, 2005, 10:04 PM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 5
Just add the additional code at the end of the procedure to nullify what was entered.

txtFirstName.Value = Null
txtLastName.Value = Null

lwells

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > refresh the text fields


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT