Hello,
Often when I open one form, and (without closing it) open the form in its
design view, then all the caption value of the controls in this form
remained there in form's design view that is what I don't want. I wish the
caption value to be "". What can I do?
what is the form event from form view to design view?
Thanks in advance,
Paul 7 2437
PS: I used " Do Until rst.EOF ...loop" in the form's codes.
Is this the problem?
Paul
"Paul T. Rong" <et***@hotmail. com> дÈëÏûÏ¢ÐÂÎÅ
:DM************ ******@news.che llo.at... Hello,
Often when I open one form, and (without closing it) open the form in its design view, then all the caption value of the controls in this form remained there in form's design view that is what I don't want. I wish the caption value to be "". What can I do?
what is the form event from form view to design view?
Thanks in advance,
Paul
If your question is "How do I set the Forms Caption" the answer is to
go to the Forms Properties, select All, go to Caption and enter your
Caption, if you do not want a caption simply enter a space.
Patrick
On Tue, 19 Oct 2004 07:56:19 GMT, "Paul T. Rong" <et***@hotmail. com>
wrote: Hello,
Often when I open one form, and (without closing it) open the form in its design view, then all the caption value of the controls in this form remained there in form's design view that is what I don't want. I wish the caption value to be "". What can I do?
what is the form event from form view to design view?
Thanks in advance,
Paul
I didn't make myself understood. Ok, simply, I wish the caption value of all
labels of the form (which is actually a sub form) to be "", i.e, nothing
when it goes from the form view to design view or when it is closed. Is it
possible? What should I do?
Thanks,
Paul
"Patrick Fisher" <in**@psoftuk.c om>
??????:sr****** *************** ***********@4ax .com... If your question is "How do I set the Forms Caption" the answer is to go to the Forms Properties, select All, go to Caption and enter your Caption, if you do not want a caption simply enter a space. Patrick
On Tue, 19 Oct 2004 07:56:19 GMT, "Paul T. Rong" <et***@hotmail. com> wrote:
Hello,
Often when I open one form, and (without closing it) open the form in its design view, then all the caption value of the controls in this form remained there in form's design view that is what I don't want. I wish
thecaption value to be "". What can I do?
what is the form event from form view to design view?
Thanks in advance,
Paul
It might make easier if you can explain why you need to do this, your
user will not see it in design mode.
Patrickl
On Tue, 19 Oct 2004 11:07:30 GMT, "Paul T. Rong" <et***@hotmail. com>
wrote: I didn't make myself understood. Ok, simply, I wish the caption value of all labels of the form (which is actually a sub form) to be "", i.e, nothing when it goes from the form view to design view or when it is closed. Is it possible? What should I do?
Thanks,
Paul
"Patrick Fisher" <in**@psoftuk.c om> ??????:sr***** *************** ************@4a x.com... If your question is "How do I set the Forms Caption" the answer is to go to the Forms Properties, select All, go to Caption and enter your Caption, if you do not want a caption simply enter a space. Patrick
On Tue, 19 Oct 2004 07:56:19 GMT, "Paul T. Rong" <et***@hotmail. com> wrote:
>Hello, > >Often when I open one form, and (without closing it) open the form in its >design view, then all the caption value of the controls in this form >remained there in form's design view that is what I don't want. I wishthe >caption value to be "". What can I do? > >what is the form event from form view to design view? > >Thanks in advance, > >Paul >
On Tue, 19 Oct 2004 11:07:30 GMT, Paul T. Rong wrote: I didn't make myself understood. Ok, simply, I wish the caption value of all labels of the form (which is actually a sub form) to be "", i.e, nothing when it goes from the form view to design view or when it is closed. Is it possible? What should I do?
Thanks,
Paul
"Patrick Fisher" <in**@psoftuk.c om> ??????:sr****** *************** ***********@4ax .com... If your question is "How do I set the Forms Caption" the answer is to go to the Forms Properties, select All, go to Caption and enter your Caption, if you do not want a caption simply enter a space. Patrick
On Tue, 19 Oct 2004 07:56:19 GMT, "Paul T. Rong" <et***@hotmail. com> wrote:
Hello,
Often when I open one form, and (without closing it) open the form in its design view, then all the caption value of the controls in this form remained there in form's design view that is what I don't want. I wish thecaption value to be "". What can I do?
what is the form event from form view to design view?
Thanks in advance,
Paul
To change a label's caption to "" upon exiting a form, and having it
remain "" when opening the form the next time, it MUST be changed
while in design view.
You can do this using code:
DoCmd.OpenForm "YourForm", acDesign
Dim c As Control
For Each c In Forms!YourForm. Controls
If TypeOf c Is Label Then
c.Caption = ""
End If
Next c
DoCmd.Close acForm, "YourForm", acSaveYes
All the captions will be blank when the form is next opened.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Fred,
Thank you! But two questions:
1. "...it MUST be changed while in design view.", I didn't get you, what is
"it"? because I don't understand the it clause that I have problem to
understand the whole sentence.
2. the codes seem perfect and simple, but where, in which event, shall I put
the codes?
Paul To change a label's caption to "" upon exiting a form, and having it remain "" when opening the form the next time, it MUST be changed while in design view.
You can do this using code:
DoCmd.OpenForm "YourForm", acDesign Dim c As Control For Each c In Forms!YourForm. Controls If TypeOf c Is Label Then c.Caption = "" End If Next c DoCmd.Close acForm, "YourForm", acSaveYes
All the captions will be blank when the form is next opened.
-- Fred Please only reply to this newsgroup. I do not reply to personal email.
On Wed, 20 Oct 2004 07:13:21 GMT, Paul T. Rong wrote: Fred,
Thank you! But two questions:
1. "...it MUST be changed while in design view.", I didn't get you, what is "it"? because I don't understand the it clause that I have problem to understand the whole sentence.
From a previous post of yours: Ok, simply, I wish the caption value of all labels of the form (which is actually a sub form) to be "", i.e, nothing when it goes from the form view to design view or when it is closed. <
The "it" refers to changing the label captions to blank, which is what
you previously stated you wish to do. 2. the codes seem perfect and simple, but where, in which event, shall I put the codes?
Place it in the click event of a command button. Paul
To change a label's caption to "" upon exiting a form, and having it remain "" when opening the form the next time, it MUST be changed while in design view.
You can do this using code:
DoCmd.OpenForm "YourForm", acDesign Dim c As Control For Each c In Forms!YourForm. Controls If TypeOf c Is Label Then c.Caption = "" End If Next c DoCmd.Close acForm, "YourForm", acSaveYes
All the captions will be blank when the form is next opened.
-- Fred Please only reply to this newsgroup. I do not reply to personal email.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Yasutaka Ito |
last post by:
Hi folks!
I have a BaseForm class that inherits System.Windows.Forms.Form. It has a
property, whose value I need supplied by the class that inherits it. The
BaseForm usees the value supplied into this property in its Load event.
So, I gave the BaseForm and the property 'abstract' modifier, and put the
implementation of the property in the inherited class; say MyForm. However,
when I did this, I no longer can open MyForm in the design...
|
by: David Deacon |
last post by:
Hi i was given the following advise,below my OriginalQuestion
I am a little new to ADOX can you direct me to the following
Do i place the code behind a button on a form?
Or do i place it in the On Open event and have a the default 10% and
give the user the option to change it to 0%
I have referenced th appropriate library and the default value of the
field to change is 0.1
|
by: alan.rolfe |
last post by:
Using Access 2002 (in Access 2000 mode). Can anyone tell me how I can
alter the text size for the design view of tables etc.? I can adjust
the datasheet view by using 'options' but the design view text size
seems fixed at a very small value.
|
by: VB Programmer |
last post by:
When I go from HTML view (in a webform) to Design View I get the following
error:
Could not open in Design view. Quote values differently inside a '<% ...
"value" ... %>' block.
I know exactly where it is. All I did was change the PARAM value of an
OBJECT from this:
<PARAM NAME="MyValue" VALUE="20">
to this:
<PARAM NAME="MyValue" VALUE="<% = Request.QueryString("Value1") %>">
|
by: Donnie |
last post by:
Hello
I'm receiving the following error message when I try to view an aspx page in Design view
"Could not open in Design View. Quote values differently inside a '<%... "value" ... %>' block
Below is the html in the page using the <%..."value" ...%> syntax
<ItemTemplate><tr><td style="background:white;font-weight:bold;font-style:italic;" width="20%"><%# DataBinder.Eval(Container, "DataItem.ReportName") %></td><td...
| |
by: Saber |
last post by:
I've a repeater and here is a piece of HTML when I use, I can't switch back
to Design view:
<a href=default.aspx?id=<%#container.dataitem("id")%>Some Link</a>
I get this error message:
Could not open in design view. Place quotes around a '<% %>' used as an
attribute value or within a <SELECT> element.
well, actually I used <% %> as an attribute value, why I shouldn't?
would you suggest an alternative?
|
by: Raed Sawalha |
last post by:
I have the following table which i can not switcha to design view error
message said
Could not open in Design view. Quote values differently inside a '<%
...."value"... %>' block.
and the line which make the error is anchor but i cannot make it work.
<TABLE id="tblDocList" dir="<%#strLangDir%>" style="DISPLAY:inline"
|
by: Ken McCrory |
last post by:
I have a page with some inline server-side code. An example line is:
<input type="hidden" name="fmFirstName" value="<%=Session("FirstName")%> ">
The code and logic works and does what it is supposed to do BUT if I try to
change from HTML view to Design view I get this error message:
Could not open in Design view. Quote values differently inside a
'<%..."value"...%>' block.
|
by: Nogusta123 |
last post by:
Hi,
I have had a lot of problems getting web pages, master pages and
content pages to render in VS2005 design view the same as they would in
Internet Explorer. I did a lot of looking on the internet for answers
but didn't have much luck. Anyway I believe I have found the causes of
the problems and thought I should share them in case any one else is
feeling the pain and also to find out what other peoples opinions are,
on whether these...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |