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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Showing Unbound fields in form to report.



 
 
Thread Tools Display Modes
  #1  
Old August 8th, 2007, 09:42 PM posted to microsoft.public.access.reports
Sohn
external usenet poster
 
Posts: 8
Default Showing Unbound fields in form to report.


Hi,

Is there anyway to display some unbound fields in a form to report?

To be more specific, this is the situation.

There is a quotation form which has discount field (unbounded) that
subtracting its value from total amount field (bounded).

My question is that how to show that discount field in report view.

Many thanx in advance.


  #2  
Old August 8th, 2007, 10:12 PM posted to microsoft.public.access.reports
Ofer Cohen
external usenet poster
 
Posts: 1,683
Default Showing Unbound fields in form to report.

If the form is sill open , try

=[Forms]![FormName]![TextBoxName]

--
Good Luck
BS"D


"Sohn" wrote:


Hi,

Is there anyway to display some unbound fields in a form to report?

To be more specific, this is the situation.

There is a quotation form which has discount field (unbounded) that
subtracting its value from total amount field (bounded).

My question is that how to show that discount field in report view.

Many thanx in advance.


  #3  
Old August 8th, 2007, 10:24 PM posted to microsoft.public.access.reports
Sohn
external usenet poster
 
Posts: 8
Default Showing Unbound fields in form to report.


Dear Mr.Cohen,

I have placed following to control source for the report field in report,
but it returns #Name?

value.

=[Forms]![FormName]![TextBoxName]

Would you mind to tell me where I made mistake?


  #4  
Old August 8th, 2007, 10:56 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Showing Unbound fields in form to report.

I would expect that your first mistake was not providing the form and control
name. This limited Ofer's reply to made up form and control names that you
should have replaced with your actual form and control name.
--
Duane Hookom
Microsoft Access MVP


"Sohn" wrote:


Dear Mr.Cohen,

I have placed following to control source for the report field in report,
but it returns #Name?

value.

=[Forms]![FormName]![TextBoxName]

Would you mind to tell me where I made mistake?


  #5  
Old August 8th, 2007, 11:32 PM posted to microsoft.public.access.reports
Sohn
external usenet poster
 
Posts: 8
Default Showing Unbound fields in form to report.


Dear Mr.Hookom,

I didn't use the exact expression but my form name, and textbox name, but it
returned #Name?.

I double checked whether the form is loaded, but the form is opened.

Thank you so much for your help.

"Duane Hookom" wrote:

I would expect that your first mistake was not providing the form and control
name. This limited Ofer's reply to made up form and control names that you
should have replaced with your actual form and control name.
--
Duane Hookom
Microsoft Access MVP


"Sohn" wrote:


Dear Mr.Cohen,

I have placed following to control source for the report field in report,
but it returns #Name?

value.

=[Forms]![FormName]![TextBoxName]

Would you mind to tell me where I made mistake?


  #6  
Old August 8th, 2007, 11:52 PM posted to microsoft.public.access.reports
Ofer Cohen
external usenet poster
 
Posts: 1,683
Default Showing Unbound fields in form to report.

Would make a different if you posted what you wrote, we can't see what
possible mistake you made, like

Missing equal sign from
=[Forms]![FormName]![TextBoxName]

will give an #Name error

Or, writing Form instead of forms

--
Good Luck
BS"D


"Sohn" wrote:


Dear Mr.Hookom,

I didn't use the exact expression but my form name, and textbox name, but it
returned #Name?.

I double checked whether the form is loaded, but the form is opened.

Thank you so much for your help.

"Duane Hookom" wrote:

I would expect that your first mistake was not providing the form and control
name. This limited Ofer's reply to made up form and control names that you
should have replaced with your actual form and control name.
--
Duane Hookom
Microsoft Access MVP


"Sohn" wrote:


Dear Mr.Cohen,

I have placed following to control source for the report field in report,
but it returns #Name?

value.

=[Forms]![FormName]![TextBoxName]

Would you mind to tell me where I made mistake?


  #7  
Old August 8th, 2007, 11:52 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Showing Unbound fields in form to report.

Could you provide the exact expression you used? Did you use the expression
builder to enter the expression?
--
Duane Hookom
Microsoft Access MVP


"Sohn" wrote:


Dear Mr.Hookom,

I didn't use the exact expression but my form name, and textbox name, but it
returned #Name?.

I double checked whether the form is loaded, but the form is opened.

Thank you so much for your help.

"Duane Hookom" wrote:

I would expect that your first mistake was not providing the form and control
name. This limited Ofer's reply to made up form and control names that you
should have replaced with your actual form and control name.
--
Duane Hookom
Microsoft Access MVP


"Sohn" wrote:


Dear Mr.Cohen,

I have placed following to control source for the report field in report,
but it returns #Name?

value.

=[Forms]![FormName]![TextBoxName]

Would you mind to tell me where I made mistake?


  #8  
Old August 9th, 2007, 12:28 AM posted to microsoft.public.access.reports
Sohn
external usenet poster
 
Posts: 8
Default Showing Unbound fields in form to report.


I am sorry not to be cleared.

Here is the situation

There is an unbounded discount field in form "frm_invoice_detail"

I have put "discount" textbox in my report, rpt_invoice.

In the textbox, I directed the control source as following:

=[forms]![frm_invoice_detail]![discount]

I hope this describe my problem.

Many thanx.

"Ofer Cohen" wrote:

Would make a different if you posted what you wrote, we can't see what
possible mistake you made, like

Missing equal sign from
=[Forms]![FormName]![TextBoxName]

will give an #Name error

Or, writing Form instead of forms

--
Good Luck
BS"D


"Sohn" wrote:


Dear Mr.Hookom,

I didn't use the exact expression but my form name, and textbox name, but it
returned #Name?.

I double checked whether the form is loaded, but the form is opened.

Thank you so much for your help.

"Duane Hookom" wrote:

I would expect that your first mistake was not providing the form and control
name. This limited Ofer's reply to made up form and control names that you
should have replaced with your actual form and control name.
--
Duane Hookom
Microsoft Access MVP


"Sohn" wrote:


Dear Mr.Cohen,

I have placed following to control source for the report field in report,
but it returns #Name?

value.

=[Forms]![FormName]![TextBoxName]

Would you mind to tell me where I made mistake?


  #9  
Old August 9th, 2007, 03:26 AM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Showing Unbound fields in form to report.

The other cause of an error like this is if the control name is also the name
of a field.

Is there a reason why you need to create a report that depends on pulling
data from a form control? Something like this generally relies on values from
records in a table, not a value from a form control.

--
Duane Hookom
Microsoft Access MVP


"Sohn" wrote:


I am sorry not to be cleared.

Here is the situation

There is an unbounded discount field in form "frm_invoice_detail"

I have put "discount" textbox in my report, rpt_invoice.

In the textbox, I directed the control source as following:

=[forms]![frm_invoice_detail]![discount]

I hope this describe my problem.

Many thanx.

"Ofer Cohen" wrote:

Would make a different if you posted what you wrote, we can't see what
possible mistake you made, like

Missing equal sign from
=[Forms]![FormName]![TextBoxName]

will give an #Name error

Or, writing Form instead of forms

--
Good Luck
BS"D


"Sohn" wrote:


Dear Mr.Hookom,

I didn't use the exact expression but my form name, and textbox name, but it
returned #Name?.

I double checked whether the form is loaded, but the form is opened.

Thank you so much for your help.

"Duane Hookom" wrote:

I would expect that your first mistake was not providing the form and control
name. This limited Ofer's reply to made up form and control names that you
should have replaced with your actual form and control name.
--
Duane Hookom
Microsoft Access MVP


"Sohn" wrote:


Dear Mr.Cohen,

I have placed following to control source for the report field in report,
but it returns #Name?

value.

=[Forms]![FormName]![TextBoxName]

Would you mind to tell me where I made mistake?


 




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 12:56 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.