15e99 What have I done wrong! - Page 2
Sign Up |  Live StatsLive Stats    Articles 37,319| Comments 177,169| Members 19,407, Newest Jasbirsuropada| Online 551
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




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:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/11200-what-have-i-done-wrong.html
> - did you spell the name of the field exactly correctly when put on the
> report?
> - is the report based on a query, rather than directly on the table, in
> 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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
>> 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
rpt, but anyway... go to the Queries tab in the Database Window, and see
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
if you can find that query listed there. If it is, go to the Design
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
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
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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
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.

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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11200
> could be either a field or a control.


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.


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
30 Day Amrit Vela -...
Yesterday 23:49 PM
45 Replies, 543 Views
How does Sikhi help you...
Yesterday 22:59 PM
19 Replies, 795 Views
What Do You Think of...
Yesterday 22:56 PM
39 Replies, 689 Views
Losing My Religion: Why...
Yesterday 22:47 PM
6 Replies, 146 Views
How Religions Change...
Yesterday 19:33 PM
0 Replies, 44 Views
Do you believe in...
Yesterday 12:00 PM
184 Replies, 3,878 Views
Thought of the Moment!
Yesterday 10:07 AM
109 Replies, 5,135 Views
Amrit
Yesterday 09:17 AM
5 Replies, 361 Views
What I believe Hukam to...
Yesterday 03:15 AM
13 Replies, 172 Views
Should SPN Keep the...
Yesterday 02:02 AM
19 Replies, 609 Views
Rozana Reports (ਪੰਜਾਬੀ...
Yesterday 01:46 AM
304 Replies, 7,492 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Yesterday 01:18 AM
173 Replies, 4,410 Views
Student Compares Toilet...
Yesterday 01:05 AM
1 Replies, 98 Views
Map shows world's 'most...
20-May-2013 18:58 PM
16 Replies, 290 Views
BHOOTS (Ghosts) and...
20-May-2013 13:08 PM
102 Replies, 13,896 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 00:02 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.51645 seconds with 32 queries
0