i created cascade LOVs ,
ex: subjects depend on faculties depend on branches,
faculties and branches are choice lists, subjects is combo-box with list of values.
when user write some text in subjects combo-box and press enter key from keyboard, if the subjects contains that text it will open search dialog to make user choose one of those filtered rows.
combo box already do that and open the search dialog with filtered and correct data as i need, but i face problem, the search dialog closes without any action by it's own.
thanks
Is there any partial triggers on the combo box, once try removing that and change it's ppr to none.
Related
Novice business user here: I am trying to build a schedule separated by date in Microsoft PowerApps for Teams. It would look something like the arrival/departure board at an airport. I need my users to be able to change the status of an event on the schedule basically from "no go" to "go."
For my table, I created a table with columns showing the "no go" and "go" choices and set my default choices to "no go".
For my gallery, I created a nested gallery to separate the dates.
In the gallery, I can populate the fields I created in my table with the "no go" default values, but when I click the dropdown arrow in the combo box, I either get irrelevant choices from a different text column, or I don't get any choices at all.
I have tried making different changes to the "text" and "items" properties. I just don't know how to make the choices I created in the table populate in the combo box dropdown.
I create the combobox and choose the 3rd option (to choose from a list on my form). The form was based on the customerT (patientT in this case). I tried several different ways the last of which was to create a query with the patientT and a FullNameQ i created to combine last names and first names. the combo box searches great either way til i close access and re open. then i get the error in the pic attached. pic of form with error message
I have also tried creating a search form and using the wildcard function in the query but everytime i enter the formula in the criteria, Access changes LIKE to ALIKE. Is it supposed to do that? i watched 3 diff videos to copy how they created a search form. I dont see their formula adding the A when they click off the field or hit enter.
I use MS-Access 2013 for this project.
Something I'm unable to find is how I can hide and show certain fields when something happens.
Let's be a little less vague. So, I have a dropdown of 5 items. Oral Exam, Written Exam, Exam on PC, External exam and revision.
All fields are the same for almost every possible selection in the dropdown apart from "exam on PC". Then some additional fields should be filled in, in the form. These are PC_Number amongst other things. The fields are "Yes/No" fields and simple input fields.
Is there a possibility to hide them when "exam on PC" isn't selected in the dropdown and show them when "exam on PC" is selected?
Yes it's very possible and very straightforward.
Lets say your drop down field is Field1 and the field you want to hide or not is Field2
Simply add the following code to the AfterUpdate event
If me.Field1.value<>"Exam on PC" then
me.Field2.visible=false
else
me.Field2.Visible=true
end if
I want to create an advanced search button that is connected to a dialogue form that searches for a specific criteria. When the user enters the criteria they don't have to press anything the matches just come up something like the following, where the original form has a advanced search button
Which then goes on to produce a connected form that shows the criteria and related records according to the letters of first and last names of the people in the database.
Look at the key press event in the form. https://msdn.microsoft.com/en-us/library/office/ff194937.aspx. You can react to that event and re-run your query, then update your results on the form.
I'm not quite sure where to begin with this. This is basically how I'm trying to get it to work. I will enter the ID of a Hire Record in a textbox, hit the show hire record at which point it will materialise that hire records details in their associated textbox fields.
I attached a screenshot of the form in question. I can also create a new record as you may be able to see by typing in the details and hitting create record (this is not a problem, i already understand how to do this), but I also want to be able to display an existing records details in the textboxes again. Yes I just repeated myself but I just thought I'd try clarify my intentions further :P
http://imageshack.us/photo/my-images/189/hirerecord1.png/
Anyway, how should I go about doing this? Thank you so much for your help.
I do this slightly differently on most of my forms. First off, when a form opens, I bind it to the data (data set, or whatever). I display whatever record I define as the defaults (generally the last record entered. If I want a new record, I have a button that is clicked that creates a new record in the data set and moves my form to that record. Now you can enter your data and handle your edits, saves, etc.
As far as the pulling up a record by typing in a field I believe you could do this with one text box, but I took the easy way out and used two text boxes that are exactly the same size and location. When your form is displaying data, handle the OnClick event for the field bound to the ID. Hide the bound text box and display the duplicate that is unbound. For that text box, handle the OnValidate event and set it to validate on the enter key. The user can then type in the ID and hit enter. You then get the ID they want from the unbound text box, clear it and hide it and cause your form to navigate to the appropriate record.
Jim