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  

#Name?



 
 
Thread Tools Display Modes
  #1  
Old October 10th, 2004, 03:10 AM
Volta
external usenet poster
 
Posts: n/a
Default #Name?

I have a typical order entry form which has underlying tables: Order,
OrderDetail and Product. I want the form to display the default price from
the Product table but allow the user to override it and write the new price
to the OrderDetail table. I have set the Control Source for the UnitPrice
field on the form to the OrderDetail table and the default value is set to
get it's value from a query of the Product table. I can tell the query is
finding the default value from the Product table because the ExtendedPrice
field on the form has the correct value BUT the UnitPrice field on the form
displays #Name? and will not allow me to input anything into the field.


  #2  
Old October 10th, 2004, 05:21 AM
Volta
external usenet poster
 
Posts: n/a
Default

No need to reply. I've figured out my problem. I put an "After Update"
Event Procedure on the ProductID field of the form which set the default
value for the UnitPrice field on the form.

"Volta" wrote in message
...
I have a typical order entry form which has underlying tables: Order,
OrderDetail and Product. I want the form to display the default price

from
the Product table but allow the user to override it and write the new

price
to the OrderDetail table. I have set the Control Source for the UnitPrice
field on the form to the OrderDetail table and the default value is set to
get it's value from a query of the Product table. I can tell the query is
finding the default value from the Product table because the ExtendedPrice
field on the form has the correct value BUT the UnitPrice field on the

form
displays #Name? and will not allow me to input anything into the field.




 




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 01:40 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.