f



How do you refer to a control on subform inside a tab control?

Hi,

(Using Access 2000)

I have two tables, similar to Customers and Orders. (Not an exact
parallel, but works for this example.)

On a form showing customer data, there is a tab control. One of the
tabs has a subform showing order data (in datasheet view). On the same
tab there is an unbound textbox (next to the datasheet). I placed a
command button that runs code to add the QTY from each line in the
subform and put the sum in the unbound textbox. That works, but when
you edit the QTY the total does not change until you click the button
again. I tried using AfterUpdate on the QTY field in the subform, but
an error always occurs when I try refer to the textbox.

I have tried about 9 different implicit/explicit references to the
textbox, but the procedure is just not recoginzing it.

Is it possible to refer to a control within the tab control of a form
from a subform inside the same tab control? How?!

Any help is greatly appreciated!

Thanks,

~Joshua Ammann
0
9/8/2004 7:17:25 PM
comp.databases.ms-access 42670 articles. 0 followers. Post Follow

3 Replies
931 Views

Similar Articles

[PageSpeed] 24

From code in the Form embedded in a Subform Control, to refer to a Control,
txtX, on the main (parent) Form:

   Me.Parent!txtX = <the value you want to set>

For Controls on a Tab, you don't have or need a reference to the Tab Control
or Tab Page.

  Larry Linson
  Microsoft Access MVP

"Joshua Ammann" <joshua@ammann.com> wrote in message
news:328b5d2d.0409081117.3401162e@posting.google.com...
> Hi,
>
> (Using Access 2000)
>
> I have two tables, similar to Customers and Orders. (Not an exact
> parallel, but works for this example.)
>
> On a form showing customer data, there is a tab control. One of the
> tabs has a subform showing order data (in datasheet view). On the same
> tab there is an unbound textbox (next to the datasheet). I placed a
> command button that runs code to add the QTY from each line in the
> subform and put the sum in the unbound textbox. That works, but when
> you edit the QTY the total does not change until you click the button
> again. I tried using AfterUpdate on the QTY field in the subform, but
> an error always occurs when I try refer to the textbox.
>
> I have tried about 9 different implicit/explicit references to the
> textbox, but the procedure is just not recoginzing it.
>
> Is it possible to refer to a control within the tab control of a form
> from a subform inside the same tab control? How?!
>
> Any help is greatly appreciated!
>
> Thanks,
>
> ~Joshua Ammann


0
bouncer (4168)
9/8/2004 8:27:45 PM
Thanks Larry, but I guess I was not so clear in my explanation. The
control I want to set is not on the main form. It is on a page of the
tab control, beside a datasheet subform.

Here is the actual code that works on the main form's "On Current"
event. When I place it on the "After Update" event of the Qty field in
the datasheet subform, it gets to the point noted below and can't find
the controls inside the tab control.

Like I said, I've tried every reverence path I can think of and no
dice.

Any ideas? Anyone?

'Code Start
Private Sub Form_Current()
Dim qdf As QueryDef, dbs As Database, rst As Recordset
Dim iON, iOFF As Integer
    iON = 0
    iOFF = 0
    Set dbs = CurrentDb
    Set qdf = dbs.QueryDefs("qryCount")
         'Query contains [SiteIndex], [ON-or-OFF_System] and [Qty]
    Set rst = qdf.OpenRecordset(dbOpenDynaset)
    rst.MoveFirst
    Do While Not rst.EOF
        'Check if the row in query matches the record on main form
        If rst![SiteIndex] = Me![SiteIndex] Then
            'Check either ON or OFF System
            If rst![ON-or-OFF_System] = "ON-System" Then
                'Add Qty from query to variable to count ON Sys
                iON = iON + rst![Qty]
            Else
                'Add Qty from query to variable to count ON Sys
                iOFF = iOFF + rst![Qty]
            End If
        End If
        rst.MoveNext
    Loop
    'Assign the variables to unbound controls on the form
    'The controls below are on "Page2" of control "TabSubform1"
    'on form "frmSurveyData"
    '*****This is where the error occurs with AfterUpdate*****
    CountON = iON
    CountOFF = iOFF
    CountALL = iON + iOFF
End Sub
'Code End

Thanks,
~Joshua Ammann



"Larry  Linson" <bouncer@localhost.not> wrote in message news:<5XJ%c.52$tJ1.37@trnddc04>...
> From code in the Form embedded in a Subform Control, to refer to a Control,
> txtX, on the main (parent) Form:
> 
>    Me.Parent!txtX = <the value you want to set>
> 
> For Controls on a Tab, you don't have or need a reference to the Tab Control
> or Tab Page.
> 
>   Larry Linson
>   Microsoft Access MVP
> 
> "Joshua Ammann" <joshua@ammann.com> wrote in message
> news:328b5d2d.0409081117.3401162e@posting.google.com...
> > Hi,
> >
> > (Using Access 2000)
> >
> > I have two tables, similar to Customers and Orders. (Not an exact
> > parallel, but works for this example.)
> >
> > On a form showing customer data, there is a tab control. One of the
> > tabs has a subform showing order data (in datasheet view). On the same
> > tab there is an unbound textbox (next to the datasheet). I placed a
> > command button that runs code to add the QTY from each line in the
> > subform and put the sum in the unbound textbox. That works, but when
> > you edit the QTY the total does not change until you click the button
> > again. I tried using AfterUpdate on the QTY field in the subform, but
> > an error always occurs when I try refer to the textbox.
> >
> > I have tried about 9 different implicit/explicit references to the
> > textbox, but the procedure is just not recoginzing it.
> >
> > Is it possible to refer to a control within the tab control of a form
> > from a subform inside the same tab control? How?!
> >
> > Any help is greatly appreciated!
> >
> > Thanks,
> >
> > ~Joshua Ammann
0
9/9/2004 12:48:50 PM
The Tab Control is a non-issue.  Just refer to the target control as
if the Tab Control did not exist.


On 9 Sep 2004 05:48:50 -0700, joshua@ammann.com (Joshua Ammann) wrote:
>Thanks Larry, but I guess I was not so clear in my explanation. The
>control I want to set is not on the main form. It is on a page of the
>tab control, beside a datasheet subform.

0
matt254 (115)
9/10/2004 3:02:22 AM
Reply:

Similar Artilces:

tab control inside another tab control
Hi. Is it possible to put a tab control inside another tab control. I tried it several times, but for some reason this doesn't seem to work. Can someone confirm this, or tell me what the trick is. Thanks. -- Georges The only way I know to do this is to put a subform on the first tab control. Then you can put your second tab control on the subform. If you do this repeatedly, however, you will find the form loading rather slowly. HTH - Turtle "Georges Heinesch" <news@geohei.lu> wrote in message news:3fe82fb8$1_2@news.vo.lu... > Hi. > > Is it possible to...

Control + Tab between subforms on tab control pages ACC 2002
Greetings! What I am looking for is help trying to accomplish control + tab exiting subform #1 on page #1 and entering the first control (main form) on page #2. I've tried the following code, however it seems to "fire twice", placing me at the first control on subform #2 on page #3, totally skipping page #2. It seems to very briefly stop the control on page two, but keeps going. Hope that made sense. Key preview for subform is set to yes. This is a continous subform, so options to leave subform on last control won't work. That's why I'm trying to use control tab. I'd appreciate any suggestions. Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyTab And Shift = 2 Then DoCmd.GoToControl "txtZoningClass+" End If End Sub The problem is probably that you did not assign KeyCode = 0 in your handler. Thus, after your code runs, the keypress is also processed normally. On 13 Sep 2004 11:39:22 -0700, brian.flannery@ci.verona.wi.us (Brian) wrote: >Greetings! >What I am looking for is help trying to accomplish control + tab >exiting subform #1 on page #1 and entering the first control (main >form) on page #2. I've tried the following code, however it seems to >"fire twice", placing me at the first control on subform #2 on page >#3, totally skipping page #2. It seems to very briefly stop the >control on page two, but keeps going. Hope that made sense. Key >preview f...

Control Container inside a Tab Control
Is there a generic container that can go in a tab control? I cant seem to get a tab control (which can hold many types of other controls) to be contained by another tab control. My main form uses a tab control (8 pages). On each page I would like to have a few groups of controls (no tabs in the group, just buttons, combos etc). I thought the tab would be a great container, but I cant put it on the 'main' tab control. Any ideas? (Currently I'm using a naming scheme) TIA No. There is no control array, and you cannot insert a tab control on a page of another tab control. You can put a subform on the page of a tab control, and the subform can contain its own tab control. -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. <cefrancke@yahoo.com> wrote in message news:1111241572.858053.147460@z14g2000cwz.googlegroups.com... > Is there a generic container that can go in a tab control? I cant seem > to get a tab control (which can hold many types of other controls) to > be contained by another tab control. > > My main form uses a tab control (8 pages). On each page I would like to > have a few groups of controls (no tabs in the group, just buttons, > combos etc). I thought the tab would be a great container, but I cant > put it on the 'main' tab control. > > Any ideas? (Currently I'm using a nam...

Tab control in one of the tabs of another tab control
One of my colleagues is working with a tab control. He has several tabs. He is trying to embed another tab control inside one of the tabs of the first tab control. He had placed the second tab control inside one of the tabs of the first tab control. But the problem is that the second tab control does not show up (unless one goes to the block diagram and double clicks the second tab control, only then does it shows up; when the vi is closed and reopened its again not there). I told him that I had never seen such functionality (a tab control inside another tab control) in any application but is it somehow possible. All this is required while the VI is not running and is being developed (of course it should work at run time, but this functionality must show while the VI is not running, i.e., this functionality should be non-programmatic. Is it possible. Thanks for your time. Hi rashid, yes it is possible. See the attached example. I see no problems with it.Hope it helps.Mike Untitled_LV71.vi: http://forums.ni.com/attachments/ni/170/323165/1/Untitled_LV71.vi Thanks <a href="../view_profile?user.id=88992" class="auth_text" style="font-weight: bold;" target="_blank"> MikeS81</a>! Yes you are absolutely right. Your VI is working perfectly. I wonder what has my friend done to get such behaviour as he is getting. Strange! Thanks for the help!Have a very nice day! Hi rashid, can you upload your vi, maybe someone found the proble...

Tab Events of Access Application ? (NOT Access Tab Control)
I'm trying to use the event when a person moves to a different form by clicking on the built in Access application tabs. Is there something I can reference or does it require some kind of subclassing/hook api calls? Thanks On Jul 21, 9:47=A0pm, "christianlo...@yahoo.com" <christianlo...@yahoo.com> wrote: > I'm trying to use the event when a person moves to a different form by > clicking on the built in Access application tabs. > > Is there something I can reference or does it require some kind of > subclassing/hook api calls? > > Thanks Hi Christian, You can use the OnDeactivate event. Imb. > You can use the OnDeactivate event. Hello Imb, Aha. Now I am forced to make an event for each form. Trying to automate what tab the ribbon moves to based on the access application tab. Okay, thanks. Access could use a rewrite of it's event system imho. There are no top level application events to tap into, no 'after delete' event, record saves w/ a 'dirty=true', it's all quite ridiculous. I was hoping the new table events would be the solution but they come up w/ this 'data macro' crap where there doesn't seem to be any way to call your own code on the event. Sometimes I wonder if the ms developers ever use Access. However, I love the report and form design improvements. <christianlott1@yahoo.com> wrote in message news:ba72c614-57c0-4045-9af0-3cd9734e923b@r18g2000vbs.googlegro...

reference field on subform on tab control
How can I filter records of a subform that is part of a tab control? The filter works fine on the form when it is not part of the tab using this in the macro condition: [Forms]![sfmEmploymentVerification]![OpenedDateFilter]="Today" I have a main form with a tab control which has three tabs and on each tab there is a subform. Main Form: frmEmploymentVerification Tab Control Name: TabEmployment Sub Form: sfmEmploymentVerification6M Field on Sub Form: OpenedDateFilter My filter is a combo box that lists "This Week", "Last Month" etc to show the appropriate records. This combo box is currently located on the subform itself and is using a macro to apply the filter. This is what I have in the condition field: [Forms]![frmEmployment]![subMySubform].[Form]![OpenedDateFilter]="This Week" I get an error saying: The action or method is invalid because the formor report isn't bound to a table or query. My subform is bound to a query so I'm not sure where to go from here. Should the combo box be part of the tab page instead of the subform? Any help to get me going in the right direction would be great. Thanks the first thing to do is forget the tab control - it has nothing to do with the syntax of the subform reference. > The filter works fine on the form when it is not part of the tab i suspect that you opened the subform by itself, from the database window - and assumed that it didn't work when you opened the main form be...

Front panel controls and indicators flicker inside Tab Control
I'm using a Tab Control to organize controls and indicators by functions or processes.&nbsp; I notice that all of them no mater which tab I?m in, flicker.&nbsp; I don't have any item overlap each other.&nbsp; Even more strange is that when I made a similar Tab Control within the same application and transferred all of the controls and indicators to it, the flicker went away.&nbsp; In the end I kept the new tab control and deleted the old one and everything is working great. &nbsp; Anyone has any idea why this happened?&nbsp; Also I wanted to post this problem/solution in case anyone else has a similar problem in the future. &nbsp; Hector Soto &nbsp; &nbsp; hi there &nbsp; what's your LV version? i remember some bugs with LV 6.x and tab pages. &nbsp; what controls do you use?&nbsp;dou you handle with huge data amounts in graphs, pictures etc.? Or do you write to controls&nbsp;with very high rates? &nbsp; The best next step would be to post&nbsp;a stripped code that reproduces the behaviour so we can take a look at it. I'm using LV 8.5 for Window 2000.&nbsp; As I mentioned in the original post, the problem went away by just creating another Tab control and moving, without any modifications, the controls and indicators to it. &nbsp; Thanks for the reply, Hector ...

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. Thanks As you found, you cannot place a tab control on one of the pages...

Refs to controls on tab control
I'm really stumped. I have been able to get all of my references to all my controls with property nodes - even controls inside clusters for all of the controls on a vi front panel. However, when I move these very same controls onto a tab control&nbsp;I can't seem to figure out how to get these same&nbsp;references! I can only get the tab control ref. :smileyindifferent: &nbsp; &nbsp; <img src="http://forums.ni.com/attachments/ni/170/243049/1/Cotrols%20on%20pages.JPG"> BenMessage Edited by Ben on 04-20-2007 05:01 PM Cotrols on pages.JPG: http://forums.ni.com/attachments/ni/170/243049/1/Cotrols on pages.JPG ...

Syntax of control on tab controls
I have a form "frmturnover" on which there is asubform "subfrmturnover" which has three tabcontrols say Page1, Page2 and Page3. There is control "control2" on Page2 that when its is entered I want to check if it is the same value as a control "control1" on Page1 and then show a pop up box if they don't match. I can work out the code for the message box but I'm getting a little lost on the syntax for referring to the controls on the pages of the tab control. I also want to check the value of Control2 on page2 with the vale of control3 on a page1 of a subform "subfrmmain" on another form "frmmain" can anyone point me in the right direction? TIA Tony Williams "Tony Williams" <tw@tcpinvalid.com> wrote in message news:<coo2hr$285$1@sparta.btinternet.com>... > I have a form "frmturnover" on which there is asubform "subfrmturnover" > which has three tabcontrols say Page1, Page2 and Page3. There is control > "control2" on Page2 that when its is entered I want to check if it is the > same value as a control "control1" on Page1 and then show a pop up box if > they don't match. I can work out the code for the message box but I'm > getting a little lost on the syntax for referring to the controls on the > pages of the tab control. > I also want to check the value of Control2 on page2 with the vale of > control3 on a page1 ...

Making sure MS Access scrolls properly in subforms/controls
Dear forum, In my database, I have one instance where a specific collection of 7 forms are expected all at one time, so I tried to build an entry screen where the entry form for each individual form is present as a subform in a tabcontrol in one main form, to make it easier for my unit's Data Entry Officers. Unfortunately, there seems to be a problem with scrolling that I have been resolve, probably caused either by the tabcontrol or the subforms, since it does not occur when the form which was used as a basis for the subform is opened individually. This problem is that where the individual subform is longer than the screen allows, the page does not scroll down when fields below the screen are selected (so that when the field at the bottom of the screen is exited by pressing tab, or enter, or by an autotab or skip, the next field is selected without the screen scrolling down). Does anyone know how to fix this? Best regards, Patrick Not to worry - have sidestepped the issue by breaking up the content of the subforms among further tab controls (which now means that I have tab controls in subforms in a further tab control ... sigh). Patrick ...

How to reference the MS Graph control place inside an unbound object frame
I would like to set the value of the Y axes on my graph at runtime. I created the graph my opening a form and placing an unbound object frame on it then placed the MS Graph control into this. Next I copied / pasted this object into a report. How can I do this? I can't fiqure out how reference the MS Graph control in code. Thanks, TD On 4 Nov 2005 11:12:05 -0800, TD wrote: > I would like to set the value of the Y axes on my graph at runtime. I > created the graph my opening a form and placing an unbound object frame > on it then placed the MS Graph control into this. Next I copied / > pasted this object into a report. How can I do this? I can't fiqure > out how reference the MS Graph control in code. > > Thanks, > TD Graphs are in OLEUnbound controls. Here is an example setting the Chart's Title using code. Place the code in the Report Header Format event (or wherever it works for you). Me!OLEUnbound7.ChartTitle.Text = Forms!frmDate!Location & " Avg. Arrival Rate for the Year " & Forms!frmDate!StartDate Me!OLEUnbound7.Axes(2).HasTitle = False Me!OLEUnbound7.Requery Change OLEUnbound7 to whatever the actual name of your control is. -- Fred Please respond only to this newsgroup. I do not reply to personal e-mail When I type Me.OLEUnbound3. there are no options like Axes() or ChartTitle. ...

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.&nbsp; 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.&nbsp; Enclosed is a test VI that has an enumerated ring example, and a combo box with the same data.&nbsp; Thanks for your help... Test Tab Control [1].vi: http://forums.ni.com/attachments/ni/170/215375/1/Test Tab Control [1].vi A tab control can be treated like an enum, so your question comes down to: "Can I map a ...

Getting XP look with tabbed dialog control and tab strip control
I know how to use a manifest file to get the XP look for the Windows Common Controls 6 group of controls but I also have both the tabbed dialog and tab strip controls in my app and I want those to take on the XP look as well. Does anyone know how? Also, while I am able to get the XP look through a manifest file in my app's folder I should be able to do this without the file having to be in the app's folder. I've read it has to do with compiling with a resource file but I don't know how to do that. Can anyone offer any assistance? Thanks! ...

Maximum Number Of Controls On A Tab Control
Is there a "best practice" maximum number of controls that can be loaded on to a tab control before things start getting messy and sluggish? I'm asking for a "best practice" maximum number across all tabs and not the maximum number that is theoretically possible. I figure that trying to add lots of controls to lots of tabs must affect performance at some point. Any help is appreciated. Wayne wrote: > Is there a "best practice" maximum number of controls that can be > loaded on to a tab control before things start getting messy and > sluggish? I'm asking for a "best practice" maximum number across all > tabs and not the maximum number that is theoretically possible. > > I figure that trying to add lots of controls to lots of tabs must > affect performance at some point. > > Any help is appreciated. There is a maimum number of controls on a Form. Not sure about a TabControl. Think of it this way. A TabControl is just a handy way of toggling the visibility of a bunch of controls all at the same time. It likely has almost no affect on performance at all. Certainly not any that I have been able to perceive. -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com On 9 Mar 2007 18:35:53 -0800, "Wayne" <cqdigital@volcanomail.com> wrote: In some applications tab controls contain subforms. If things get sluggish I typically only...

Finding control type from control reference
I have a stric type control (A) on the front panel of a VI. This control is a cluster made up of a number of instances of another strict typed control (B). Later control (B) is also a cluster made up of two controls, a check box and an enum. In the VI there is a value change event handler for control A. (I have included the check box to conrol B, it previously had only the enum). There is existing code in that event handler that works on the enum control. When I check a box, event handler is called and it tries to detect which enum's value has been changed. Since none has been changed, it enters into an endless loop.What I want to do is use the CtlRef (terminal?) of the event handler to execute the previous code if the control is enum, otherwise do nothing. (I'll place the code in a case structure). How can I find the controls type from CtlRef?What are those things inside the event handler called (e.g. OldVal, NewVal, CtlRef)?Thanks a lot for your time!Have a very nice weekend! From what I understood of&nbsp;the description you provided, it appears that you are looking for the class ID of the controls.&nbsp; Each control type has a class ID. You can get the class ID's from the controls within a cluster.&nbsp;&nbsp; To see if I understood correctly, please see the attached example.&nbsp; If it is not what you are looking for, please provide clarification (and do not rate my post). Thanks. R Oops..&nbsp; I didn't answer the 2nd part of...

Tab Control and Rectangle Hiding Controls
I'm trying to change the back colour of a tab control in Access 2010 by using a rectangle. I've selected the tab control (not an individual page) and pasted the rectagle (solid with required colour). I then send the rectangle to the back and then the tab control to the back. The problem is that most (but not all controls remain hidden) on each tab. Subform and list boxes are visible, but labels and text boxes aren't. I've done this before in another application, but can't remember how I did it. Any ideas? -- Bob Darlington Brisbane On Thursday, June 20, 2013 1:57:59 AM UTC-5, Bob Darlington wrote: > I'm trying to change the back colour of a tab control in Access 2010 by > > using a rectangle. > > I've selected the tab control (not an individual page) and pasted the > > rectagle (solid with required colour). > > I then send the rectangle to the back and then the tab control to the back. > > The problem is that most (but not all controls remain hidden) on each tab. > > Subform and list boxes are visible, but labels and text boxes aren't. > > I've done this before in another application, but can't remember how I did > > it. > > Any ideas? > > > > -- > > Bob Darlington > > Brisbane Not sure I understand your issue. Anyway, check in properties and set the background to transparent. ...

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 ...

refering to a subform control
Main form-frmCheckRequest Sub form-subfrmCheckRequestPayments On my subform I have 2 fields FundCode and ClassNumber. Both are comboboxes. I'm trying to filter ClassNumber based on FundCode. When I create a separate query it returns the records I expect based on the record I select in the subform. Here's the query code. SELECT dbo_FundClasses.ClassNumber, dbo_FundClasses.FundCode FROM dbo_FundClasses WHERE (((dbo_FundClasses.FundCode)=[Forms]![frmCheckRequest]![subfrmCheckRequestPa yments].[Form]![FundCode])); When I set the rowsource of ClassNumber to the same query I get the same records no matter which subform record I select. The list presented is always being filtered from the first subform record even if I select another record with a different fundcode. Any ideas? Terri wrote: > Main form-frmCheckRequest > Sub form-subfrmCheckRequestPayments > > On my subform I have 2 fields FundCode and ClassNumber. Both are comboboxes. > I'm trying to filter ClassNumber based on FundCode. > > When I create a separate query it returns the records I expect based on the > record I select in the subform. Here's the query code. > > SELECT dbo_FundClasses.ClassNumber, dbo_FundClasses.FundCode > FROM dbo_FundClasses > WHERE > (((dbo_FundClasses.FundCode)=[Forms]![frmCheckRequest]![subfrmCheckRequestPa > yments].[Form]![FundCode])); > > When I set the rowsource of ClassNumber to the same query I get the same >...

Valve control
Hello, I am still trying to figure out a method of controlling a discharge valve for compressor testing.&nbsp; The valve is controlled by a slider, but when it hits a certain point of being closed, the compressor surges.&nbsp; 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&nbsp;a file.&nbsp; This way, the data is recorded and the valve opens to prevent damage to the compressor all at the click of one button.&nbsp; I have the VI up and running, all except for the opening part of the valve.&nbsp; I have included a simple example of where I am going with the valve control.&nbsp; Any advice would be appreciated, for then I can implement that code for the valve opening into the rest of my programming. &nbsp; Thank you, &nbsp; &nbsp; Jmc Valve control.vi: http://forums.ni.com/attachments/ni/170/198874/1/Valve control.vi ...

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 a URL: http://server_name:5500/em 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 second instance. 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, Prem 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 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. Prem 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. Jining Han <premmehrotra@hotmail.com> wrote in message news:...

How to control the tab control using event structure?
Hi, I am using tab control and event structure in the program. When i run the application event is not happening for the active page. When user switches from active page to the other page then event is&nbsp;taking place for all pages &nbsp; So, how to get the event trigger for the active page when the application is started &nbsp; For more clarification i am attaching the code "Test Control Tab using Event Structure.vi" Test Control Tab using Event Structure.vi: http://forums.ni.com/attachments/ni/170/288159/1/Test Control Tab using Event Structure.vi You have a basic misunderstanding of dataflow. Maybe you should start with some tutorials or study some of the examples that ship with LabVIEW. - The event structure belongs inside the while loop, and not vice versa. RIght now, the event structure only runs exactly once and never again. - If the stop is pressed first, the VI will stop. Game over. - If the tab control is changed (from any state to any other state!), the inner loop will spin forever as fast as the CPU allows, either executing one or the other case. It just reads the tab terminal to decide which case to execute. Changing tab never triggers any events.&nbsp;The VI is trapped inside the event until stop&nbsp;is pressed to&nbsp;stop the VI. you were closer to a reasonable program in the other thread: <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;view=by_date_ascending&amp;message.id=287905"...

tab control strict typedef hides controls
"Has the issue of no typedef tabs been resolved in LV7? I am modifying a LV61 vi and severely broke the panel trying to convert a tab to a typedef. I was able to customize, however there was a compile/save error and all the embedded controls on the tab pages became hidden and un retrievable." Jim Henderson" Zvezdana In my disgust, I had deleted all copies of the offending vi. I believe my problem must have been, primarily, a corrupted compile/save. Thanks Jim ...

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:) -- regards, Bradley Is it possible that your text box is behind the tab control? Peter De Bae...

Web resources about - How do you refer to a control on subform inside a tab control? - comp.databases.ms-access

Control - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

From Armenia to Australia, how the mob controls the trafficking of ice into Australia
In America, they are called the "Five Families". The term refers to the five major New York organised crime families of the Mafia, with a history ...

From Armenia to Australia, how the mob controls the trafficking of ice into Australia
In America, they are called the "Five Families". The term refers to the five major New York organised crime families of the Mafia, with a history ...

From Armenia to Australia, how the mob controls the trafficking of ice into Australia
In America, they are called the &quot;Five Families&quot;. &nbsp;The term refers to the five major New York organised crime families of the Mafia, ...

Woman pinned to fence by out-of-control car on Rokeby Road in Subiaco
A fire extinguisher was used to break into an SUV to help a driver who appeared to have suffered a seizure after hitting a pedestrian on Rokeby ...

How-To: Reduce iPhone screen brightness beyond what’s possible in Control Center or Display & Brightness ...
... about sharing in the past, involves reducing iPhone screen brightness beyond levels that are possible with the standard brightness slider controls. ...

Stagefright-based ‘Metaphor’ exploit can take control of your phone in just 15 seconds
The old Android malware beastie is at it again, with researchers uncovering a new Stagefright-based exploit that can be used to take control ...

Creative Control explores the dark side of augmented reality—with humor
... Here's what the future looks like: collecting data on people while wearing AR glasses. 7 more images in gallery In the film Creative Control ...

4 Ways to Control Your Mind and Lose Weight
... after a week of eating the same things. I have found that almost anytime I have plateaued, a cheat meal has broken the plateau. Gain Control ...

Cruz on Border Control: 'Nothing Is More Important Than Having Boots on the Ground'
We know how to solve the problem of illegal immigration, Sen. Ted Cruz (R-Texas) told a gathering at the U.S.-Mexico border in Douglas, Arizona ...

Resources last updated: 3/21/2016 2:44:05 PM