A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Lookup form



 
 
Thread Tools Display Modes
  #1  
Old June 8th, 2004, 03:11 PM
Philip
external usenet poster
 
Posts: n/a
Default Lookup form

I have a form that has a look up field. When a serial number is search the pcname and the owner are populated in a form. We add info in the notes text box and the form is saved to a history table. If the fields with the serial number and owner are not clicked on they are not saved in the history table. I can click on both of these fields and Access saves the data. Any ideas??
  #2  
Old June 8th, 2004, 03:22 PM
Rick B
external usenet poster
 
Posts: n/a
Default Lookup form

Not sure what your question is. If you click on both fields the data is
saved? You have to page up or page down to save the data unless you have
code on the form to do it.

What is your question?

Rick B

"Philip" wrote in message
...
I have a form that has a look up field. When a serial number is search the
pcname and the owner are populated in a form. We add info in the notes text
box and the form is saved to a history table. If the fields with the serial
number and owner are not clicked on they are not saved in the history table.
I can click on both of these fields and Access saves the data. Any ideas??


  #3  
Old June 8th, 2004, 04:16 PM
Philip
external usenet poster
 
Posts: n/a
Default Lookup form

the look up field populates two other fields on the form (field1 and field2) which is pulled from Table A. after the notes field is filled out, field1 field 2 and the notes field is saved to Table B. If nothing by the notes field is clicked on then field1 and field2 are NOT saved. If I click on field 1 and field2 before saving then they are saved as well. What code do I use to get them to save without having to manually click on them?
  #4  
Old June 8th, 2004, 06:23 PM
John Vinson
external usenet poster
 
Posts: n/a
Default Lookup form

On Tue, 8 Jun 2004 08:16:05 -0700, Philip
wrote:

the look up field populates two other fields on the form (field1 and field2) which is pulled from Table A. after the notes field is filled out, field1 field 2 and the notes field is saved to Table B. If nothing by the notes field is clicked on then field1 and field2 are NOT saved. If I click on field 1 and field2 before saving then they are saved as well. What code do I use to get them to save without having to manually click on them?


ummm... why would you want to store these fields redundantly in both
TableA and TableB in the first place!? It sounds like your table
design may be at fault here!

John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
  #5  
Old June 9th, 2004, 10:21 PM
Philip
external usenet poster
 
Posts: n/a
Default Lookup form

This is a rather simplified version of the problem. The root of the problem is the fact that the fields are not being saved with manually clicking on the them.
 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.