I've got a bound report with a query as the record source. I'm adding
a total to the footer and have inserted a text box to display it. I'm
attempting to set the control source of the text box to a different sum
aggregate query using the expression builder. When I select the query
and it's single field, single row field it inserts the following in the
control source box for the text box.
I've tested the query ( Qrydetsum_offtotal ) independently and it runs
and returns a single value each time for the calculated field,
Office_total. But when the report runs it simply displays #error.
As an alternative I've tried to load the result of the query into a
variable and then reference the variable in the control source of the
text box, but when I do that, nothing seems to happen.
I'm sort of new to VBA, so if anyone has suggestions about how to do
this or a simpler way, I'd appreciate the input.
If you are looking up a single value then the DLookup function will probably
work. There is also a DSum function when you need to calculate a sum from a
table or query different from the record source. Information on both of
these can be found in Access Help.
This response is supplied "as is" without any representations or warranties.
"Bob" <firstname.lastname@example.org> wrote in message
news:111768...Re: How can labview update the string control (text-edit box) after we have pressed the carriage return key on the keyboard during text-editing within that box?
I have trouble to edit an exited text file and save it after the content changed. Can you please help me out?
...Control visiblilty of a text box on a Tab Control
Hey, thanks for reading my question.
I'm using a combo box to control the visibility of a text box. When I
make a change to the combo box it will set the visible property to
true on a text box. When I had these objects not on the Tab Control
everything worked great. Now with these object on the tab control and
I open the form the vicinity works but when I change the combo box
which set the visibility nothing changes.
What am I missing? Any one got any suggestions.
N. Graves wrote:
> Hey, thanks for reading my question.
> I'm using a combo box to control the visibility of a text box. When I
> make a change to the combo box it will set the visible property to
> true on a text box. When I had these objects not on the Tab Control
> everything worked great. Now with these object on the tab control and
> I open the form the vicinity works but when I change the combo box
> which set the visibility nothing changes.
> What am I missing? Any one got any suggestions.
Is your code behind your combobox still there? When you move an object
(cut and paste) to a tab control the event procedure code is "lost". You
may note that your Event Procedure is not there anymore in your combobox
properties.. but when you click on the build button it will bring up the
code... and upon returning the Event Procedure reappears!
An Access quirk:)
Is it possible that your text box is behind the tab control?
Peter De Bae...How can I set the tab order of text box controls on each page of a tab control?
I need to be able to select the tabbing order of individual controls
on a single page of a tabbed control. How??
In LV 6.1 an up you should be ablel to right click on the edge of the
tab control when the tab-page in question is selected.
The bttom selcetion in the pop-up is "Reoder controls in page..."
selecting this option will switch editing modes to allow you to
specify the ored, just like in a cluster.
I seem to remeber in older versions you had to drag the tabable
controls off the tab control, specify the tabbing oder and then drag
them back on. The oldest version I have on ...Highlight text and Text Box Control
C5.0b PE legacy
I have one invoice application with the text area for variable
customer announcement. It is now filled and printed using
the standard Arial characters.
Is there any easy and cheap method to highlight these
messages? (Compare "Word text")
...Consecutive Numbering of Text Box Names or Control Properties in Access
Anyone know a quick and simple way of consecutively naming text box
names (eg RR1, RR2, RR3 etc) or control source calculations? For
example, the following calculation is for month 1:
=IIf([m1rr] And [m1dbed] And [m1vd]=-1,1,IIf([m1rr]=-1 And [m1dbed]=-1
And [m1vd]=0,2,IIf([m1rr]=-1 And [m1dbed]=0 And
[m1vd]=0,3,IIf([m1rr]=0 And [m1dbed]=-1 And [m1vd]=-1,4,IIf([m1rr]=0
And [m1dbed]=-1 And [m1vd]=0,5,IIf([m1rr]=0 And [m1dbed]=0 And
[m1vd]=0,6,IIf([m1rr]=-1 And [m1dbed]=0 And [m1vd]=-1,7)))))))
For month 2 I want to change m1rr for m2rr and so on - quite time
consuming if you have to go and do each one manually.
There are a couple of ways.
1. Create a template for the expression, and set the control source based on
replacing a special substring. For example...
Public Sub SetupMonthlyCalcs() ' Call this from Form_Open
Const cstrCalcTemplate = "=IIf([m~rr] And [m~dbed] And [m~vd]=-1" & _
",1,IIf([m~rr]=-1 And [m~dbed]=-1 And " & _
"[m~vd]=0,2,IIf([m~rr]=-1 And [m~dbed]=0 " & _
"And [m~vd]=0,3,IIf([m~rr]=0 And " & _
"[m~dbed]=-1 And [m~vd]=-1,4,IIf([m~rr]=0" & _
"And [m~dbed]=-1 And [m~vd]=0,5," & _
"IIf([m~rr]=0 And [m~dbed]=0 And " & _
"[m~vd]=0...Formatting within Access report text controls - OR
tblCourses one to many to tblEvents.
A course may have an intro workshop (a type of event), a mid course
workshop, a final exam. Or any combination. Or something different in the
At the moment the printed output is usually going to Word. It's turning into
an unholy mess, because I'm having to prepare umpteen different Word
templates, and the queries that drive them, depending on what events a
So I'd rather use Access reports. Group on CourseID, detail is events
attached to that Course, Bob's your uncle.
The clients at the moment have a small amount of fo...Can a Combo Box control a Tab Control, like an Enumerated Ring control can
Is there any way to have a Combo Box control a Tab Control. An Enumerated Ring control can if all the names match "Exactly", question is can a Combo Box do the same, especially within an Event Structure?
I haven't been able to figure it out. Enclosed is a test VI that has an enumerated ring example, and a combo box with the same data. Thanks for your help...
Test Tab Control .vi:
http://forums.ni.com/attachments/ni/170/215375/1/Test Tab Control .vi
A tab control can be treated like an enum, so your question comes down to: "Can I map a ...I have a Text control string box with some initial text. I...
I have a Text control string box with some initial text. I would like
to highlight old text with click of mouse and type in new data from
I have a text control string box with some initial text (says: Please
enter Name). I would like the operator to click on the text control
box and have it automatically highlight so that when new data is typed
in the old erases (all at once) and the new data is now in the text
I tried using the "Text.Selection" property node and when I run it and
put the mouse inside the text box the initial text is highlighted and
if I press "de...Invisible control within a custom control
I have a custom control made up of a cluster that (somehow) contains invisible controls within it. These are enums that were not typedef'ed and I now need to change them. Can I access the properties of an invisible control inside a custom control so I can view them adn change them?
Create a property node for your cluster and get property "controls".
Now iterate over the array of control references and set them to visible via another property node. (see image for a simple code draft)
Message Edited by altenbach on 04-20-2007 01:51 PM
Nice! :smileyvery-happy: :smileyhappy: :smileytongue:
...I get type mismatch errors sometimes. Why does Access think it knows what data type a text box control is?
Runtime error 13 - type mismatch.
I get the above error when I create a text box
control on a form named [UserID] and I run
the following code in a sub on that same form...
If DLookup("[UserID]", "tblUsers", "[UserID]=Forms!Form10!UserID")
tblUsers has a 6-char text field in it named [UserID]. What can Access
be thinking to tell me the data in the textbox and the data in the
table field cannot be compared because of incompatible data types?
This has always bugged me about Access. I believe it should be
possible to compare the string in Forms!Form10!UserID with those
in the table field tblUsers.[UserID].
Access is just stubborn, just like you seem to be with your long =
I don't think I am the only person having a problem with this ??
"MLH" <CRCI@NorthState.net> schreef in bericht =
> Runtime error 13 - type mismatch.
> I get the above error when I create a text box
> control on a form named [UserID] and I run
> the following code in a sub on that same form...
> If DLookup("[UserID]", "tblUsers", "[UserID]=3DForms!Form10!UserID")
> tblUsers has a 6-char text field in it named [UserID]. What can Access
> be thinking to tell me the data in the textbox and the data in the
> table field cannot be compared because of incompatible data types?
> This has always ...Replace Function in Access 2000 Report Text Box Control Source Expression Quits Working in Windows 2000
I've had an Access 2000 app running successfully for many months on
both Windows XP and Windows 2000. Recently when my Windows 2000 users
call a particular report, they get first a dialog requesting a
"Replace" parameter. If the user clicks OK, the report opens, but only
displays #Error. When the user tries to close the report, he is next
presented with the choice of halting the code in break mode or not.
Regardless of his choice, the app locks up and the user has to close
the app with Task Manager.
There is a text box on this report with the following expression in
the control ...text control box
This is going to be an easy question, but it's been troubling me for a while.
I have a boolean switch which activates a true/false program. I want a text box to appear, saying ."please select approopiate input" (or something like that). If the user clicks ok, i.e. selecting the input, the boolean swicth runs the program. If the user clicks cancel, the boolean swicth remains false. I can create the dialog box to appear when the switch is pressed, but when i click ok or cancel, it closes then opens again creating a loop of these boxes. I don't know what to do? Any help wouild b...how to access database control of many oracle10g database instances on same server
I am on Redhat Linux 9 and using Oracle 10G (10.0.1.3?).
I know how to create a Oracle database instance and use
EM database control to administer the database.
To access database control from a browser, Oracle asks to enter
The URL does not specify the ORACLE_SID.
I however want to create several database instances on the same box.
Will Oracle automatically set up a different port (e.g., 5501) for
All the documentation I have found on Oracle's web site refers to a
single database instance on a server.
Appreciate any pointers.
Thanks a lot,
You need to read about Grid Control. Actually when you create your
database using DBCA, it should ask you whether you want to use Grid
Control or DB Console.
Jining Han wrote:
> You need to read about Grid Control. Actually when you create your
> database using DBCA, it should ask you whether you want to use Grid
> Control or DB Console.
> Jining Han
I hae read about Grid Control, but I think there is still a way to
access many instnaces on the same server using database control.
Of course you can, a DB Console for each database, and you can choose
that as your preferred approach, too. But I really think it's a waste
of resources and a big inconvenience. You are probably better off
with the "tradictional" desktop console.
Just my 2 cents.
<email@example.com> wrote in message
Hello, I am still trying to figure out a method of controlling a discharge valve for compressor testing. The valve is controlled by a slider, but when it hits a certain point of being closed, the compressor surges. At that surge point, I want the user to click a button, and then have the valve slowly open while the data is being sent to a file. This way, the data is recorded and the valve opens to prevent damage to the compressor all at the click of one button. I have the VI up and running, all except for the opening part of the valve. I have included a simple example of where I am going with the valve control. Any advice would be appreciated, for then I can implement that code for the valve opening into the rest of my programming.
...Tab control within another tab control
I am creating a form with a tab control containing 10 tabs. and what I
want to do is on only on of the tabs, I want a sub section of tabs.
So what it ends up being is one main tab control with another tab
control embedded into only one of the tab pages. The problem I am
getting is when I insert the sub section tab control into one of the
tabs from the main tab control, the sub section tab control appears in
every tab in the main tab control. Can anyone help? What do I need
to do so it only appears in one tab, not all.
As you found, you cannot place a tab control on one of the pages...OT: MS Access runtime wants to control all MS Office charts
Office 97, Access 97, Sagekeys scripts. In addtion of Access 97, my
runtime package is installed too.
This is an old application that has been running since 1998. The
customer is happy with it.
I have a glitch in.... Powerpoint 97.
When an user double-clicks a chart, it starts my Ms Access Runtime
Installer! It will do the same if he right-clicks and uses 'Edit'.
If he selects 'Open', it will do it in a separate windows and it is
Ok. Thius probably comes because MS Chart is shared among office
I would really like to have this problem even if there is a turnaround
and I have the feeling that the solution should be in the registry,
but I can't find where.
Any help appreciated. TIA.
"firstname.lastname@example.org" <email@example.com> wrote in
> Office 97, Access 97, Sagekeys scripts. In addtion of Access
> 97, my runtime package is installed too.
> This is an old application that has been running since 1998.
> The customer is happy with it.
> I have a glitch in.... Powerpoint 97.
> When an user double-clicks a chart, it starts my Ms Access
> Runtime Installer! It will do the same if he right-clicks
> and uses 'Edit'. If he selects 'Open', it will do it in a
> separate windows and it is Ok. Thius probably comes because
> MS Chart is shared among office apps.
> I would really like to have thi...Access Controls in Access
How on access can you set access controls to your users?
If they log in with one username and password they can just read
information and if they log in with another username and password they
can read and write?
I have no idea how to do this, is it even possible??
Try playing with the access security tool, you can add users, groups,
passwords, read/write allowances etc. to your database using that.
Its under the 'Tools' menu of Access.
> Try playing with the access security tool, you can add users, groups,
> passwords, read/write allowances etc. to your database using that.
> Its under the 'Tools' menu of Access.
Playing is not the proper word for it. I would never "play" with
installing security without a backup copy of the System.mdw file or a
backup of the application.
You should also recommend the SecFaq when "playing" with security.
Yeah i suppose playing wasn't the correct word for it.
Thanks for both your help. I'll try that.
"Hanny J" <firstname.lastname@example.org> wrote
> Thanks for both your help. I'll try that.
Note that a well-versed author and authority, Roger Jenkins, back in the
days of Access 2.0, characterized Access' Security as "labrynthine". It has
not gotten any less complex, and I caution that, while it is "doable&qu...Unbound text box, text>255, MS Access/PostgreSQL
I have the following problem with MS Access/PostgreSQL combination:
There is a form in Access that has an unbound text box, used for entering a
commentary of a batch of records.
There is a DAO Append Query that has a parameter that is passed from the
text box using parameter of DAO QueryDef object.
I adjusted B7 parameter (Text as LongVarchar) in connection string (ODBC
driver) to 1, so that Access links PostgreSQL Text fields as Memo fields in
Access. The intention was to be able to enter unlimited length commentary
into the field.
But, although I can enter unlimited text by using bound text box in some
other forms, in this particular form I can't use bound control, so I need to
pass text from UNBOUND control to the linked table by using DAO or ADO
code. It seems that DAO query can't accept Memo as parameter, but only text.
If my text exceeds length of 255, I have an VBA error 3271. If text in
unbound text box is shorter that 255 everything is OK.
So, is there any way to pass text of length >255 from unbound text box to
Memo field of linked PostgreSQL table, by using DAO or ADO ?
Thanks in advance,
On Mon, 3 Oct 2005 01:15:54 +0200, "Zlatko Mati�" <email@example.com>
>I have the following problem with MS Access/PostgreSQL combination:
>There is a form in Access that has an unbound text box, used for entering a
>commentary of a batch of records.
>There is a DAO Append Query tha...[rfc-dist] RFC 5417 on Control And Provisioning of Wireless Access Points (CAPWAP) Access Controller DHCP Option
A new Request for Comments is now available in online RFC libraries.
Title: Control And Provisioning of Wireless
Access Points (CAPWAP) Access Controller DHCP
Author: P. Calhoun
Status: Standards Track
Date: March 2009
I-D Tag: draft-ietf-capwap-dhc-ac-option-02.txt
The Control And Provisioning of Wireless Access Points Protocol
allows a Wireless Termination Point to use DHCP to discover the
Access Controllers to which it is to connect. This document
describes the DHCP options to be used by the CAPWAP Protocol.
This document is a product of the Control And Provisioning of Wireless
Access Points Working Group of the IETF.
This is now a Proposed Standard Protocol.
STANDARDS TRACK: This document specifies an Internet standards track
protocol for the Internet community,and requests discussion and suggestions
for improvements. Please refer to the current edition of the Internet
Official Protocol Standards (STD 1) for the standardization state and
status of this protocol. Distribution of this memo is unlimited.
This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe ...Access 2003 post SP3 hotfix
"Combo box controls and list box controls display no value or
incorrect values in Access 2003 after you install Office 2003 Service
Pack 3." And a few more problems SP3 introduced.
Description of the Access 2003 post-Service Pack 3 hotfix package:
December 18, 2007
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Tony Toews [MVP] wrote:
> "Combo box controls and list box controls display no value or
> incorrect values in Access 2003 after you install Office 2003 Service
> Pack 3." And a few more problems SP3 introduced.
> Description of the Access 2003 post-Service Pack 3 hotfix package:
> December 18, 2007
Maybe SP3 was released to get people to move to A2007.
On Thu, 27 Dec 2007 17:25:21 -0800, Salad <firstname.lastname@example.org> wrote:
No, that was A2007 SP1.
It's no conspiracy theory to think that many people wait until the
first service pack before they adopt a new version. The same is
happening with Vista.
>Maybe SP3 was released to get people to move to A2007.
Tom van Stiphout wrote:
> On Thu, 27 Dec 2007 17:25:21 -0800, Sala...tabulate: using BOX=<<varname>> to control box text
I've got a dset I'm summarizing w/a TABULATE call similar to this:
proc tabulate ;
class x y z ;
table x, y, z / box = box_text_var ;
This causes the *label* attached to the box_text_var to appear in the box. What I want is for the *values* of box_text_var to appear in there. (The values of x and box_text_var are coordinated such that there is one and only one value of box_text_var per unique value of x.)
Is this possible to do & if so how?
Group Health Center For Health Studies (Cancer Research Network)
Google Talk: rpardee
...Renamaing Text Boxes or Controls
Should text boxes or combo boxes be renamed on bound forms?
In other word should the Department Name property be the same as
Control Source property?
I never rename them, but my IT manager seems to think they should be.
My IT manager is afraid he will be updating the Department column,
when he is trying only display a value in the text box without
changing the value in the table.
>Should text boxes or combo boxes be renamed on bound forms?
>In other word should the Department Name property be the same as
>Control Source property?
>I never rename them, but my IT manager seems to think they should be.
>My IT manager is afraid he will be updating the Department column,
>when he is trying only display a value in the text box without
>changing the value in the table.
I think your IT manager has the right idea for the wrong
reason. If you assign a value to a bound control or its
field, regardless of their names, you will change both of
IMO, you should rename a control whenever you reference it
in a control source expression or in an event procedure. A
common practice is to prefix the field name with three
characters that indicate the type of the control. E.g. a
text box bound to the field ABC would be named txtABC.
In general, if a name could be either a contol or a field, a
reference will be to the control, but, personally, I don't
want to rely on that.
Note that a control source expression can not refer itsel...Re: tabulate: using BOX=<<varname>> to control box text
Ah, that gets me there--thanks Ya!
The other piece of the solution is to make box_text_var my page dimension var. that is:
proc tabulate ;
class box_text_var y z ;
table box_text_var, y, z / box = _page_ ;
From: Ya Huang [mailto:ya.huang@AMYLIN.COM]
Sent: Friday, March 20, 2009 12:13 PM
To: SAS-L@LISTSERV.UGA.EDU; Pardee, Roy
Cc: Ya Huang
Subject: Re: tabulate: using BOX=<<varname>> to control box text
Try box = _page_;
On Fri, 20 Mar 2009 11:53:49 -0700, Pardee, Roy <pardee.r@GHC.ORG> wrote:
>I've got a dset I'm summarizing w/a TABULATE call similar to this:
> proc tabulate ;
> class x y z ;
> table x, y, z / box = box_text_var ;
>This causes the *label* attached to the box_text_var to appear in the
box. What I want is for the *values* of box_text_var to appear in there.
(The values of x and box_text_var are coordinated such that there is one and only one value of box_text_var per unique value of x.)
>Is this possible to do & if so how?
>Group Health Center For Health Studies (Cancer Research Network)
>Google Talk: rpardee