Code difference for single form versus continuous form

F

Fox

Is the code different for a form that is default view single form and a form
that is default view continuous form....
i.e. this code:
WHERE (((unitpriceqry.JeweryComponent)=[Forms]![New My Beading Project
frm]![NewAddComponentSub].[Form]![AddComponent]));

The line of code above works find on the form if it is a single view but
when I make the form a continuous form it seems to be treating each line as
the same record...
any help would be apprieciated.

Thanks,
 
J

John W. Vinson

Is the code different for a form that is default view single form and a form
that is default view continuous form....
i.e. this code:
WHERE (((unitpriceqry.JeweryComponent)=[Forms]![New My Beading Project
frm]![NewAddComponentSub].[Form]![AddComponent]));

The line of code above works find on the form if it is a single view but
when I make the form a continuous form it seems to be treating each line as
the same record...
any help would be apprieciated.

Thanks,

What result do you expect? Referring to the name of a control on a form
(continuous or single, or even datasheet) will refer to a single value - that
control on the currently active (selected) record.
 
F

Fox

hm...
I see that it accually didn't work on the single form ...just not as
noticeable...
When I change the combo the price field updates but it is updating the
combo's for all records with the same data....
--
Foxy


John W. Vinson said:
Is the code different for a form that is default view single form and a form
that is default view continuous form....
i.e. this code:
WHERE (((unitpriceqry.JeweryComponent)=[Forms]![New My Beading Project
frm]![NewAddComponentSub].[Form]![AddComponent]));

The line of code above works find on the form if it is a single view but
when I make the form a continuous form it seems to be treating each line as
the same record...
any help would be apprieciated.

Thanks,

What result do you expect? Referring to the name of a control on a form
(continuous or single, or even datasheet) will refer to a single value - that
control on the currently active (selected) record.
 
J

John W. Vinson

hm...
I see that it accually didn't work on the single form ...just not as
noticeable...
When I change the combo the price field updates but it is updating the
combo's for all records with the same data....
--

I'm not visualizing what you're doing. Is this an Unbound combo box or
textbox? If so it's not updating anything, it's just displaying the same value
in all records on the form; the data exists only on the screen and isn't
stored anywhere.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top