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  

Updating a form if field has been removed so that I don't get a me



 
 
Thread Tools Display Modes
  #1  
Old December 16th, 2009, 05:45 AM posted to microsoft.public.access.forms
forest8
external usenet poster
 
Posts: 196
Default Updating a form if field has been removed so that I don't get a me

Hi

I have created a form. Due to modifications to the form, I no longer need a
field which I have included in the original form.

Before I deleted the field, I had made a back up of my database.

When I delete the field, let's call it "ProductCodeOld", whenever I open up
the database, I get a text box saying that the "ProductCodeOld" is not in the
form or words to that effect.

How do I remove a field from a form without this type of message appearing?

Thank you in advance.

  #2  
Old December 16th, 2009, 03:22 PM posted to microsoft.public.access.forms
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default Updating a form if field has been removed so that I don't get a me

Forest8 -

You may have code in the form that references the old field. Even if you
delete the field, it won't delete code that may reference the field. You can
go into the module for the form and search for the old fieldname. Then you
can comment out or delete any pieces of the code that are no longer needed.
Another place to check is in the properties for the form, something as simple
as a filter to the form that could have been based on the old field can cause
problems opening the form.

--
Daryl S


"forest8" wrote:

Hi

I have created a form. Due to modifications to the form, I no longer need a
field which I have included in the original form.

Before I deleted the field, I had made a back up of my database.

When I delete the field, let's call it "ProductCodeOld", whenever I open up
the database, I get a text box saying that the "ProductCodeOld" is not in the
form or words to that effect.

How do I remove a field from a form without this type of message appearing?

Thank you in advance.

 




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 06:57 AM.


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