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  

Continuous forms



 
 
Thread Tools Display Modes
  #1  
Old August 24th, 2006, 10:34 PM posted to microsoft.public.access.forms
Gazza
external usenet poster
 
Posts: 26
Default Continuous forms

I have a continuous form that i use to add partno`s for a price check. i use
dlookup to pull the description and other details into text boxes but wheni
add a second partno itchanges the description field a on all lines.

Is there a way to stop this or can someone tell me another way of adding
multiple order lines.

Thank in advance

  #2  
Old August 24th, 2006, 10:43 PM posted to microsoft.public.access.forms
Barry Gilbert
external usenet poster
 
Posts: 379
Default Continuous forms

When you assign a value to a control in a continuous form, it does so for all
records. Assuming your form is based on a query, move the DLookup function to
the field in the query. Better yet, do a join in the query to pull the
description.

Barry

"Gazza" wrote:

I have a continuous form that i use to add partno`s for a price check. i use
dlookup to pull the description and other details into text boxes but wheni
add a second partno itchanges the description field a on all lines.

Is there a way to stop this or can someone tell me another way of adding
multiple order lines.

Thank in advance

  #3  
Old August 24th, 2006, 10:58 PM posted to microsoft.public.access.forms
Gazza
external usenet poster
 
Posts: 26
Default Continuous forms

Not quite sure what you mean by a join in the query.

the subform is based on a single table

"Barry Gilbert" wrote:

When you assign a value to a control in a continuous form, it does so for all
records. Assuming your form is based on a query, move the DLookup function to
the field in the query. Better yet, do a join in the query to pull the
description.

Barry

"Gazza" wrote:

I have a continuous form that i use to add partno`s for a price check. i use
dlookup to pull the description and other details into text boxes but wheni
add a second partno itchanges the description field a on all lines.

Is there a way to stop this or can someone tell me another way of adding
multiple order lines.

Thank in advance

  #4  
Old August 24th, 2006, 11:04 PM posted to microsoft.public.access.forms
Barry Gilbert
external usenet poster
 
Posts: 379
Default Continuous forms

You should create a query based on the table. Then add the table that
contains the descriptions. You then join the two tables via the partno field.

Look in Access help about queries and joins for more help on this. It would
take too much to explain it in a newsgroup.

Barry

"Gazza" wrote:

Not quite sure what you mean by a join in the query.

the subform is based on a single table

"Barry Gilbert" wrote:

When you assign a value to a control in a continuous form, it does so for all
records. Assuming your form is based on a query, move the DLookup function to
the field in the query. Better yet, do a join in the query to pull the
description.

Barry

"Gazza" wrote:

I have a continuous form that i use to add partno`s for a price check. i use
dlookup to pull the description and other details into text boxes but wheni
add a second partno itchanges the description field a on all lines.

Is there a way to stop this or can someone tell me another way of adding
multiple order lines.

Thank 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 08:28 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.