Hide Form When All Conditions Are Met

Jan 23, 2007

What I need to do is, not have a form pop up when all the conditions are met. I have 30 some users that log into the db.

I have a form that pops up when the date of the project is past due. to certain users when they log in. I am using the Environ("username") theory, which works very well. But when the user has COMPLETED all the necessary dates, the form still comes up, (but of course it’s blank).

How can I eliminate that problem?

View Replies


ADVERTISEMENT

Multiple Conditions For Form

Apr 11, 2006

G'Day:

I have a form that I created that allows the user to input an "ExhibitNo" and then a "PlacingNo" to allow each entry to receive a set monetary amount (based on values in a table).

The "ExhibitNo" has two references linked to it. They are "ClassNo" and "ExhibitorID".

My supervisors want me to make it so that when the "ExhibitNo" is entered on the form that it will not allow a monetary amount.

This is where I started, but it does not work. Does anyone have a better idea?

Private Sub Combo14_AfterUpdate()
Me.Refresh
If [ClassNo] >= 0 >= 5000 Then
If [ExhibitorNo] <= 0 >= 499 Then
If [Placinggrade] = "Blue" Then
[Premium] = [Blue]
End If
If [Placinggrade] = "Red" Then
[Premium] = [Red]
End If
If [Placinggrade] = "White" Then
[Premium] = [White]
End If
End If
End If

If [ClassNo] >= 5000 Then
If [ExhibitorNo] <= 500 Then
If [Placinggrade] = "Blue" Then
[Premium] = [Blue]
End If
If [Placinggrade] = "Red" Then
[Premium] = [Red]
End If
If [Placinggrade] = "White" Then
[Premium] = [White]
End If
End If
End If

If [ClassNo] >= 5000 Then
If [ExhibitorNo] >= 500 Then
[Premium] = 0
End If
End If

End Sub

Thanks

View 1 Replies View Related

Open Form On All Conditions Met

Feb 9, 2008

Hi,

i am trying to open a form if all conditions are met. if the conditions are not met, then they get a flash message and then the user should return to the open form. i have the condition checking working but cannot seem to open the form if ALL conditions are true. i also need to close the form when the new form opens.how could i achieve this? here is my code

Private Sub MidVerifyContinue_Click()

FullNameChk.SetFocus

If FullNameChk = False Then
MsgBox "You Need to have a Full Name to Verify", vbOKOnly, "Message"
End If

If CompNameChk = False Then
MsgBox "You Need to have a Company Name to Verify", vbOKOnly, "Message"
End If

If TradeNameChk = False Then
MsgBox "You Need to have a Trading as name to Verify", vbOKOnly, "Message"
End If

If UTChk = False Then
MsgBox "You Need to have a number to Verify", vbOKOnly, "Message"
End If

If CRChk = False Then
MsgBox "You Need to have a C R number to Verify", vbOKOnly, "Message"
End If

If NIChk = False Then
MsgBox "You Need to have a N I number to Verify", vbOKOnly, "Message"
End If

If PostCodeChk = False Then
MsgBox "You Need to have a Postcode to Verify", vbOKOnly, "Message"
End If

Exit Sub


DoCmd.OpenForm "New Verification Qry"

End Sub


many thanks,

Nigel

View 8 Replies View Related

Open A Form Depending On Conditions

Feb 21, 2005

I have a search form, that can be opened by both my "product_enquiry" and my "edit_product" form.

When you select a value on the product search form, i want it to open another form at a specific record.

Easy you might think, but what If i want it to work out which form to open.

So if: A button on Edit product was clicked on to open product search, the value found in product search should be loaded into edit product.

But if it was a button on product enquiry, the record should be opened on the product enquiry form.

Can anyone help?

View 3 Replies View Related

Requery Form With Previous Conditions

Feb 28, 2005

It's easiest if I take you through step by step. I open a form with a list of students and I have to enter the condtion for a Tutor Group (say I type in 13EN). The form then loads up with all students in 13EN. Then I have a 'Add Student' button which loads up a form with an indivudual students information qith a blank record. Then I press a 'Done' button which closes that form and requeries the Student List form.

My problem is when I requery the form I have to re-enter the condition for 'Tutor Group' i.e. I have to type it in again. Is there any way I can refresh the data from the conditions I have already entered (i.e. for the Tutor group, 13EN) without having to type it in again?

Thanks

View 2 Replies View Related

Forms :: Filter Form With Multiple Conditions?

Mar 12, 2014

I want to open a filter form with mulitple conditions.one of them is a date condition.

I'm using access 2013 and the code below:

Code:
DoCmd.OpenForm "Edit_Mission", acNormal, , "[Report_Date]= " & Me.Date & " And [Supporter_Name]='" & Me.Supporter & "'"

it's opens the form but with no data. I also tried the # and it's still didn't work.

View 1 Replies View Related

Hide The Details Section In Form When Using Split Form View?

May 1, 2012

how to hide the the 'Details' section in my form when viewing it in Split Form. I tried to use

Code:

Private Sub Form_Load()
Me.Detail.Visible = False
End Sub

but that just makes the Details section look blank, as oppose to not having it there at all.

have only the Form Header and Datasheet visible in the Form View of my form. Similar to the 'Contact List' form in the Contacts Template that comes with Access.

View 3 Replies View Related

Hide Fields In Main Form By Clicking Sub Form

Apr 11, 2005

I have one main form with 3 tabulated sub forms.
My main form consists of two fields.
When the user clicks tab 2 (subform 2) or tab 3 (subform 3) the main fields should hide

I tried to achieve this by using the on click event at the tabbed forms. I referenced the two main fields and used the visible property followed by a form requery. It didn't work.

thanks in advance

View 1 Replies View Related

Is There Any Way To Hide A Form...?

Oct 2, 2006

Hi.

I was just wondering if you can hide a form in the windows status bar?

View 3 Replies View Related

Hide Form

Sep 15, 2006

Hi, I have a form with a cmd butto that unhides a text box, this text box is quite big on the form and I want it to display extra informations, the problem I have is when I unhide the textbox this will appear under fixed fields on the form, I need this text box to appear over everything over the form, Hox can I achieve it?
Thanks
Marco

View 3 Replies View Related

Hide Everything But The Form

Jun 10, 2005

hello everyone,
I have a database that has only two tables and one form. There is about 100 people that will be using this system(not all at the same time), and I want to hide everything from them except the form, including the microsoft access window behind the form. if i just make the access window small and put it behind the form, that looks alright, but i don't want to have to go to everyone's computers and do that! i've already hidden everything else, i just can't figure out how to make it seem like it's a stand-alone application. Any ideas???
Thanks very much in advance
*j

View 11 Replies View Related

Hide Sub-form Borders

Sep 1, 2006

Hi,

I want to hide a sub-form borders, so when I run it it just shows what's inside it e.g. textboxes, labels....etc

I fiddled around with the properties, but no luck.

Any help will be very much appreciated.
B

View 1 Replies View Related

Hide Controls On A Form

Feb 27, 2006

How do you hide the canned record scrolling keys on the bottom of a Form? I have placed my own controls and do not need them to confuse the Operator, or cause problems.

View 1 Replies View Related

Graphics In A Form (show/hide)

Jul 26, 2007

Hey AP.uk

I've got Form with some drawings on it and I'd like it change depending on what the user has entered in certain fields on the same form.
For Example: when the user selects a certain type of item in the "Item1" field, I'd like the graphic to change (or another one appear) in the form. Basically an "If this is true, show this picture" type thing.
I've been trying a few things to make this happen, but to no avail... :(
Any incite anyone could give would be most appreciated.

Truly,

Dragonchaser

View 10 Replies View Related

Hide Combo Box In Continuous Form

Jul 12, 2005

Is it possible to hide or show a combo in certain records in a continuous form. i.e if certain certain conditions are met.

At present I have if Check1 = true then Combo1.Visible = true

The trouble is it then displays the combo in all records.

View 2 Replies View Related

Hide Form When Checkbox Ticked

Dec 20, 2005

Hi All.
What I would like to do, is have a form popup when the main form is opened in my db, which will detail all the changes I have made to it since the last version (this bit is OK) and also, I would like a checkbox on the popup form, that the user can tick once they have read the details so it will not show up everytime they open the main form. (Just like the "hidestartupform" property within the Northwind Database)

I create the form and all that, but do not know how to do the checkbox so once it is checked, the form will not appear.

Hope this makes sense and someone can enlighten me and point me in the right direction?

Many Thanks.

Frank.

View 4 Replies View Related

Hide And Display A Field On A Form

Jul 31, 2006

How can I hide and display a field on a form depending on what choice I make from another combo box?

View 2 Replies View Related

Hide Combobox On Continuous Form

Sep 22, 2006

I do not like the look of combo boxes on continuous forms. I think that they really take away from an aesthetic I am trying to create. However, I really like their functionality.

What I would like to do is have a text box for the field when the control does not have focus, but switch it to a combobox when it does. Now, this is pretty easy to do - however, it ends up switching all of the text boxes on the continuous form to a combo box and back. I only want to switch the currently selected record.

Does anyone know if this is possible, or have any ideas as to how to accomplish this?

View 2 Replies View Related

Animated - Auto Hide Form

Oct 26, 2006

My fellow developers

I want to develop an Ms Access Main Form, which will be able to :

Move automatically to the Left of the Database Window
On Mouse over to be able to show with animation (done that)
When Mouse pointer isn’t on the form to be able to hide with animation (partially done, only when the form loses focus)

Actually I want to have a form with buttons placed on the left of my desktop (hiding Ms Access Window – done that after Internet searching), which will be hidden and when I move my mouse pointer over the form to show.

Check my example. I’m waiting for your comments – suggestions

Best Regards
Theodore

View 14 Replies View Related

Forms :: Possible To Hide Field In A Form?

Jul 31, 2013

Can you have a hidden field in a form? Trying to set up an order process system where I need to take a wholesale price of an item then mark it up (behind the scenes) and display only the customer price. How can I accomplish this.

View 4 Replies View Related

Forms :: How To Hide All Form Controls At Once

Apr 21, 2013

how to hide all form controls at once like if i have many text box and labels how to make a loop to hide it all at once

View 1 Replies View Related

Modules & VBA :: Hide Buttons On Form

Jun 19, 2013

I would like to have 3 buttons on a form. When clicking Button1, Button2 and Button3 should be shown and Button1 hidden. When clicking Button3, Button2 and Button3 should be hidden and Button1 shown.

How can I do this when it is not possible to manage the object being clicked? I tried the following which did not work because of managing an object clicked is not allowed.

Code:
Private Sub Button1_Click()
Button1.Visible = False
Button2.Visible = True
Button3.Visible = True

[code]....

View 3 Replies View Related

Forms :: How To Hide Fields On A Form

Sep 10, 2013

I am trying to hide certain fields on a form based on the value in another field (if yes or no). I used the change event to enable/disable the fields in question. however, this doesn't work. This is the code below...

Private Sub Combo314_Change()
If Me.Combo314 = "Yes" Or Me.Combo314 = "No" Then
Me.Reason_Label.Visible = False
Me.Combo316.Enabled = False
Me.Label946.Visible = False
Me.Label77.Visible = False
Me.care_not_qualified_date.Enabled = False

[code]....

View 4 Replies View Related

Open Form Only Hide Ribbon Bar

May 22, 2013

I have a small access project completed for my office, I have almost everything turned off so only the user can see the main form, but I can't figure out how to hide the ribbon bar on the top, can you do this. This is access 2010 by the way.

View 3 Replies View Related

How To Hide Form From Windows Task Panel?

Nov 7, 2006

Hi guys,

I have moved all my small databases into 1 larger database to save up on Taskbar space, but the problem is that when I use an opening form to open other forms (switchboard style) the additional forms show in the Task bar.

Is there some sort of macro that I can use to tell each form to suppress itself from the Task bar?

View 1 Replies View Related

Hide Fields On A Form Dependant On Contents Of Txt Box?

May 16, 2005

Hi,

How can I get access to hide certain fields or controls on a form if a certain field has no data?

Allow me to explain further:

I have a form that displays data = frmPlantMain
and a associated image = Image1
The image is stored outside of the db as a jpeg and the field in the record source table (Image1) contains a link to the image. For example: C:databasePicture1.jpg

There is also a hidden text box that contains the message "No Image available" = lbl_NoPix
This would be displayed in place of the image if no image has been inserted.

I also have a seperate "insert new image" command button = cmdInsertPic

If the current record has a image then I want to have the controls Image1,lbl_NoPix & cmdInsertPic hidden. This seems fairly easy but it gets more complicated now.

If there is no image I would like these controls visable so that the user can add a new image. I would then need the record to be requiried or refreshed to reflect the fact that a new image has been added.

This is where I fall down - I do not know how to tell access to look at the field in the table (Image1) and if there is no linked or associated image then set the visable propertys of controls a,b & c on the form to true.

I hope I have explained my problem correctly and I thank you for your time in advance.

Regards,

Kenny

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved