473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Changing a Label Caption in a report

I've searched through the posting and found what should be the solution
to changing the value of a label....

Private Sub Report_Open(Cancel As Integer)
Me.lblTest.Caption = "I love Access"
End Sub

However, when I go to type a similiar thing into the code underlying my
Access report, it doesn't offer the option of 'Caption' after the
'lblTest.'. I notice that at the start (after Me.), 'Caption' is on the
list. Once I put in the label name, it isn't there. I report form
opens. The obvious conclusion....I believe I have a poltigeist running
around in my database hiding things that I need. So my question is, how
does one kill (or maim) a cyber-poltigeist??

Nov 13 '05 #1
2 9475
Regnab wrote:
I've searched through the posting and found what should be the
solution to changing the value of a label....

Private Sub Report_Open(Cancel As Integer)
Me.lblTest.Caption = "I love Access"
End Sub

However, when I go to type a similiar thing into the code underlying
my Access report, it doesn't offer the option of 'Caption' after the
'lblTest.'. I notice that at the start (after Me.), 'Caption' is on
the list. Once I put in the label name, it isn't there. I report form
opens. The obvious conclusion....I believe I have a poltigeist running
around in my database hiding things that I need. So my question is,
how does one kill (or maim) a cyber-poltigeist??


Sometimes the intellisense list doesn't show everything it should. Just type
the entry and it will work.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
Yeah - I've tried doing it manually, but still no luck. I figured there
was something I was doing wrong.... not to worry - I'll just use text
boxes instead...

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Pavan Arise | last post by:
Hi all.. This may seem simple..but I am stuck here! I have a frame in which I have a label. I was trying to change the caption of that label via code (I mean at runtime & not design time). But...
1
by: Steve | last post by:
I have a button on a form that opens a report. I need to set the caption of several labels on the report equal to the value of a columns in comboboxes on the form something like: ...
2
by: (Pete Cresswell) | last post by:
I'm delivering a filter-on-the-fly report to my main client. It's a report that, as part of the Open() event, opens up a little floater screen that lets the user choose various filtering criteria...
1
by: Howie | last post by:
Hi I'm producing a Report of electrical devices tested during a long job. I have a Sub report of Devices inspected visually. If there are no devices with problems the Sub report is Blank with just...
6
by: Joe | last post by:
I know that the Literal control will not render a <span> tag so I can not format its text. Other than this, what is the difference betwen the Literal control and the LiteralControl Control? How...
4
by: Henrootje | last post by:
I have a REPORT with in it a subFORM Now I have this label (lblMonth) that I want to change. How should I do this? What would be the proper event to do this? The lblMonth should contain the...
6
by: andrew.ames | last post by:
Hi I have a pretty basic windows application created in Visual Studio 2005 and VB.NET. I set my Form's font to Arial 8.25pt, so when i added a label and a button they automatically have a...
1
by: jkdudhatra | last post by:
How To Change Report Caption Label Property Of Data Report In Visual Basic 6 ?
4
by: wassimdaccache | last post by:
Hello everybody, I have a report (invoice) I made module called "number2string"(int double) as string My module takes the number and return to me the number written as string. Example...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.