156a2 What have I done wrong! - Page 2
Sign Up |  Live StatsLive Stats    Articles 37,330| Comments 177,232| Members 19,409, Newest tanu sandhu| Online 498
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

What have I done wrong!

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
How wrong am I? harry haller Sikh Sikhi Sikhism 18 22-Sep-2011 02:23 AM
Is Everything Going Wrong? poundsasson Inspirational Stories 1 14-Nov-2006 09:36 AM
What am I doing wrong! Bob Information Technology 3 28-Jul-2006 08:32 AM
What's wrong with this VBA ? Martin \(Martin Lee\) Information Technology 4 28-Jul-2006 08:13 AM
What am I doing wrong?? Suzy Information Technology 11 16-Nov-2005 14:51 PM


Tags
done, wrong
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #10 (permalink)  
Old 28-Jul-2006, 08:19 AM
Bob's Avatar Bob
Guest
 
Posts: n/a
   
   
Re: What have I done wrong!

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Steve on my form should it be a text box or list box?
It is just for showing what I have entered into another form no more than 50
letters...Regards Bob
Should be spelt in Name or Control source window?

"Steve Schapel" wrote in message
news:%23t8FNUPjGHA.3848@TK2MSFTNGP04.phx.gbl...
> Bob,
>
> First two things to check:
> - did you spell the name of the field exactly correctly when put on the
> report?
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/11200-what-have-i-done-wrong.html
> - is the report based on a query, rather than directly on the table, in
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
> which case the field will have to be included in the query?
>
> --
> Steve Schapel, Microsoft Access MVP
>
> Bob wrote:
>> Added a new Field to my Table, Put a text box on the form, all good, then
>> tried to add a text box to the Report linked the that field, But now when
>> I try to open the Report I get this error
>> Enter parameter Value and below my field BottomTaxLabel
>>
>> Thanks in advance.........Bob Vance





Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #11 (permalink)  
Old 28-Jul-2006, 08:19 AM
Steve Schapel's Avatar Steve Schapel
Guest
 
Posts: n/a
   
   
Re: What have I done wrong!

Bob,

Well, if that is the Record Source of the report, then it sounds like it
must be a Query... unusual to have a query with its name starting with
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
rpt, but anyway... go to the Queries tab in the Database Window, and see
if you can find that query listed there. If it is, go to the Design
view of the query. I would assume that the CompanyInfo table is part of
the query. You will need to include the new field BottomTaxLabel into
the grid, which defines which fields are returned by the query. The
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
report can't show a textbox bound to a field which doesn't exist in its
record source. Hope that makes sense.

--
Steve Schapel, Microsoft Access MVP

Bob wrote:
> Got it "rptInvoiceModify"
>

Reply With Quote
  #12 (permalink)  
Old 28-Jul-2006, 08:19 AM
Rick Wannall's Avatar Rick Wannall
Guest
 
Posts: n/a
   
   
Re: What have I done wrong!

On naming the control the same as the controlsource it is bound to: Don't.
Either don't name the control at all or give it a name similar but not
identical to the controlsource.

If you're never using VBA then this may not matter, but Access is unhappy
when a code reference refers to something on a form, and that something
could be either a field or a control. Many developers prefix control names
with things like "txt", "cbo", "lbo" to indicate text box, combo box, or
list box respectively. There are many systems Choose one and stick with
it.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
But in general, having a control name with the same name as its control
source will eventually bring you grief.

Think in your own mind: If I refer to Me.BottomTaxLabel, am I referring to
the field within my recordset or the control on my form? It matters. The
moment you type a character into the control, and until you save the record,
the control and the field hold different values. If you refer to
Me.txtBottomTaxLabel, there is no ambiguity.
Reply With Quote
  #13 (permalink)  
Old 28-Jul-2006, 08:19 AM
Steve Schapel's Avatar Steve Schapel
Guest
 
Posts: n/a
   
   
Re: What have I done wrong!

  Donate Today!  
Rick,

Rick Wannall wrote:
> ... but Access is unhappy
> when a code reference refers to something on a form, and that something
> could be either a field or a control.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200

I don't really think this is true.

> Many developers prefix control names
> with things like "txt", "cbo", "lbo" to indicate text box, combo box, or
> list box respectively.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200

This is correct. On the other hand, many developers do not.

> There are many systems Choose one and stick with it.


Yep. I do. I use this system: "always name a bound control the same as
the field it is bound to". Works for me.

--
Steve Schapel, Microsoft Access MVP
Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Man Driving Without...
Today 00:28 AM
3 Replies, 60 Views
Do you believe in...
Today 00:25 AM
192 Replies, 4,001 Views
Keeping Amrit Vela
Yesterday 23:38 PM
10 Replies, 846 Views
How does Sikhi help you...
Yesterday 22:54 PM
22 Replies, 872 Views
Losing My Religion: Why...
Yesterday 22:18 PM
12 Replies, 274 Views
Request for assistance...
Yesterday 21:53 PM
5 Replies, 45 Views
Panjabi
By Ishna
Yesterday 17:56 PM
12 Replies, 259 Views
Parkash Guru Amar Das ji...
Yesterday 17:07 PM
3 Replies, 32 Views
Serious challenges to...
Yesterday 16:49 PM
0 Replies, 55 Views
Sikh man fights for his...
Yesterday 16:46 PM
0 Replies, 57 Views
Sikhs Rights Group to...
Yesterday 16:44 PM
0 Replies, 36 Views
Haryana Sikh body bans...
Yesterday 16:39 PM
0 Replies, 37 Views
Health Exercise And...
Yesterday 13:30 PM
0 Replies, 55 Views
SSGS with English...
Yesterday 12:55 PM
9 Replies, 119 Views
Rozana Reports (ਪੰਜਾਬੀ...
Yesterday 01:44 AM
310 Replies, 7,559 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 00:47 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.37785 seconds with 32 queries
0