473,806 Members | 2,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ControlTipText on subform?

Is it possible to get ControlTipText on subforms?

frm2 is the main form
frm2TxPending is a subform Datasheet

[Form_frm2]
Private Sub Form_Current()
Forms!frm2!frm2 TxPending.Form! Entity_ID.Contr olTipText = "test"
End Sub

I've tried different syntax, as well as putting the code on the subform
itself, but cannot get this to work. Am I missing something, or is this not
possible?
Nov 12 '05 #1
6 6786
> Is it possible to get ControlTipText on subforms?

frm2 is the main form
frm2TxPending is a subform Datasheet

[Form_frm2]
Private Sub Form_Current()
Forms!frm2!frm2 TxPending.Form! Entity_ID.Contr olTipText = "test"
End Sub

I've tried different syntax, as well as putting the code on the subform
itself, but cannot get this to work. Am I missing something, or is this not
possible?


IIRC, controltips don't work with forms in datasheet view.

--
Bruce M. Thompson, Microsoft Access MVP
bt******@mvps.o rg (See the Access FAQ at http://www.mvps.org/access)
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<
Nov 12 '05 #2
> IIRC, controltips don't work with forms in datasheet view.

I see. I've found an acceptable work around using MsgBox.

I have a couple of other questions (they are unrelated to the previous issue
so I may repost separately, but here they are):

* Can I use the MSI installer to install MDEs? I have a database I want to
distribute to clients, but I'd like an installer to check the config of the
PC's Office Installation (the database integrates with Office XP) as well as
create a few directories. What Installer should I use?

* I need to integrate a phone dialer with my mdb. Can you point me in the
right direction? What I need to do is pretty basic - just dial the number
in a datasheet on click.

Thanks!
Nov 12 '05 #3
Hi Bruce,
there is a Form based Tooltip solution within the API Tooltip class on
my site that does work with Forms in Datasheet view.
http://www.lebans.com/tooltip.htm
ToolTip.zip is a database containing a custom ToolTip class for use in
A97 or higher.

A2KToolTip.zip is a database containing both an API and Form based
ToolTip solutions. The Form based solution can be used for forms in
DataSheet view.

Enhanced features include:

Selectable delay times for Toolltip to first appear
Selectable delay times for Tooltip to dissappear
Selectable Text Color
Selectable Background Color
Selectable Margins
Specify Tooltip size
Add a title to the Tooltip in Bold
Selectable Icon for the Tooltip
ToolTips for Lines, Boxes, any rectangular area on your Form

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Bruce M. Thompson" <bthmpson@big_N OSPAM_foot.com> wrote in message
news:10******** *****@corp.supe rnews.com...
Is it possible to get ControlTipText on subforms?

frm2 is the main form
frm2TxPending is a subform Datasheet

[Form_frm2]
Private Sub Form_Current()
Forms!frm2!frm2 TxPending.Form! Entity_ID.Contr olTipText = "test"
End Sub

I've tried different syntax, as well as putting the code on the subform
itself, but cannot get this to work. Am I missing something, or is this not possible?


IIRC, controltips don't work with forms in datasheet view.

--
Bruce M. Thompson, Microsoft Access MVP
bt******@mvps.o rg (See the Access FAQ at http://www.mvps.org/access) NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<


Nov 12 '05 #4
> > IIRC, controltips don't work with forms in datasheet view.

I see. I've found an acceptable work around using MsgBox.
**See Stephen Lebans' reply to your post.
I have a couple of other questions (they are unrelated to the previous issue
so I may repost separately, but here they are):

* Can I use the MSI installer to install MDEs? I have a database I want to
distribute to clients, but I'd like an installer to check the config of the
PC's Office Installation (the database integrates with Office XP) as well as
create a few directories. What Installer should I use?
**I don't know that answer to that question. You might want to post that
question
to one of the developer toolkit groups, such as m.p.a.devtoolki ts or
m.p.a.developer s.toolkitode.
* I need to integrate a phone dialer with my mdb. Can you point me in the
right direction? What I need to do is pretty basic - just dial the number
in a datasheet on click.


**Take a look at:

http://www.mentalis.org/apilist/ABA8...D28D674AB.html

This might give you something to start with. And I'd recommend using a command
button or, at least, the double-click event for the textbox.

--
Bruce M. Thompson, Microsoft Access MVP
bt******@mvps.o rg (See the Access FAQ at http://www.mvps.org/access)
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<

Nov 12 '05 #5
Thanks, Stephen. Once again, I failed to check your site before responding, but,
once again, you came through. <g>

--
Bruce M. Thompson, Microsoft Access MVP
bt******@mvps.o rg (See the Access FAQ at http://www.mvps.org/access)
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<
Nov 12 '05 #6
> **Take a look at:

http://www.mentalis.org/apilist/ABA8...D28D674AB.html

This might give you something to start with. And I'd recommend using a command button or, at least, the double-click event for the textbox.


Great! Thanks for the tip! I'm trying to customize the code for my
needs... right now I'm working on getting the code to use Dialing
Properties - also, don't want any windows to pop up - just dial and then
drop connection in 6 seconds (so the user has 6 seconds to pick up the
phone).

developing...

[Form_frm0Teleph one]
Option Compare Database
Option Explicit
Private Declare Function tapiRequestMake Call Lib "TAPI32.DLL " _
(ByVal Dest As String, ByVal AppName As String, _
ByVal CalledParty As String, ByVal Comment As String) As Long

Private Sub Telephone_Numbe rs_DblClick(Can cel As Integer)
Dim strDial As String
strDial = Forms!frm0!frm0 Telephone.Form! TelNumber
Call PhoneCall(strDi al, Me!Entity_ID)
End Sub

Private Sub PhoneCall(sNumb er As String, sName As String)
Dim lRetVal As Long
lRetVal = tapiRequestMake Call(Trim$(sNum ber), "whatever", Trim$(sName),
"")
If lRetVal <> 0 Then Exit Sub
End If
End Sub
Nov 12 '05 #7

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

Similar topics

15
24892
by: Rey | last post by:
Howdy all. Appreciate your help with several problems I'm having: I'm trying to determine if the Visit subform (subformVisits) has a new record or been changed, i.e. dirty. The form that contains the subform is named Clients. I have this code in the Add Client btn: If Forms!Clients.subformVisits!VisitDirty = True Then MsgBox "Visit subform is dirty!"
4
5981
by: Pieter Linden | last post by:
In Access 2000, I would have sworn I could see the controltiptext of a button without clicking on it. Can this still be done in AccessXP? If so, does someone have a code snippet showing how to do it? I can only get it to work by clicking the button... Thanks, Pieter
1
2051
by: Dalan | last post by:
I assume there is a method by which to disable or make invisible the ControlTipText feature on a form. After a period of time of having the help tips flash with mouse movements, users seem to get annoyed by it. In an effort to achieve a level of pacification, can someone enlighten me as to what is required. Thanks. Dalan I have made a few feeble attempts, but to no avail. Private Sub Form_Open(Cancel As Integer) DIM ControlTipText As...
6
2551
by: deko | last post by:
Is it possible to get ControlTipText on subforms? frm2 is the main form frm2TxPending is a subform Datasheet Private Sub Form_Current() Forms!frm2!frm2TxPending.Form!Entity_ID.ControlTipText = "test" End Sub
25
10277
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the data in each record, which includes the ID of the father and the mother (who also have records in the table). One record per form. I have a Tab Control in the form, and in one of the tabs I have a subform (sfmSiblings) in which I wish to list...
1
8523
by: John Michael | last post by:
I have a form that has a subform that has a subform. The subform loads a record based on a combo lookup box in the main form. I'm trying to set a value in the subform based on a value in a subform of the subform. the main Form is called Subform is called Subform in the subform is called
2
6420
by: jc | last post by:
Is there a way to speed up the display of the ControlTipText so that it appears to happen instantaneously rather than appear in a second or two? Or perhaps there is another tree I should be barking up? Thanks for any help you can offer.
4
7024
by: Dave Boyd | last post by:
Hi, I have two very similar forms each with a subform. The main form gets a few fields from the user and passes this back to a query that the subform is bound to. The requery is done when the user enters the last qualifying field on the main form. In one case this works fine, the subform shows the data the user wants to update -- which means showing all the data put in previously (ie showing this via the requery and the continuous...
6
5983
by: DMUM via AccessMonster.com | last post by:
Hello I am trying to pass the name of my subform to a function/sub but I can't seem to get it to work. I am using an autokey function (ctrl E) to unlock text boxes on a subform. I have a few forms in the database that will use this function, so I need to be able to tell the code which form to unlock. What I have is as follows: Public Function akeyEdit()
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
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,...
1
10374
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,...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
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...
2
3853
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
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...

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.