Changing the style of an inputbox for memos - ms-access

I am a beginner at Microsoft Access trying to creating a database and one of the fields is a memo field. I would like to request user input for that field; However, the standard inputbox has a single line for the user to enter data, and although you can use that to add large amounts of text, it is not pleasing.
I want an inputbox that accepts memos so as the user inputs a paragraph of text, he can see the entire paragraph when he submits.
How would I do it using an inputbox and not a form? Is this possible?

I am guessing you are entering the data directly into the table. If so you can simply hover over a line between two rows until you get the double arrows and click and drag. When closing the table it will ask you if you want to save your changes. if you say yes then every time after that it will appear the same when when opened. This will give you more viewing area per field. However, I do agree with HansUp, this is best controlled via a form. Here is a snapshot of a table with more room per row.
The same can be done with query results.

Related

Display Contents After Correct User Input

I'm a beginner in web dev but I'm really good on the software end. I have some HTML to display text and a YoutTube Video on a webpage. But before this, the user must be prompted to input a value in a text box.
What I wanted is for the user to see a box with a submit button. The box will only accept one of 7000 unique entries. Once the user inputs one of the 7000 entires, only then the HTML/YouTube Video must be displayed. Otherwise the page can display a message saying: Retry, entry not recognized.
The webpage is running Wordpress with Motopress. Is there anyway I can do this with Custom fields to store the values or whichever way is easy and quick?

Access Form - how do I only display fields and cell values if the cell has data?

Could someone please help me with configuring my access database? I would like to use a combo-box at the top of the form where the user selects from the available work forms (Column 1 in Table) and then it displays who is involved in the form. Currently it displays every field and to reduce to the information displayed I would like it to only display information if the cell has a value in it.
Am I using the wrong tool? Should I be using a Report instead? How's my table data, too much?
Many Thanks
My current form
My wanted result
The way I normally hide empty fields is to change the label for a field to a control and set the control source to the following:
=IIf([FieldName]<>'', "My label:", Null)
Then I set the CanShrink property on both the "label" and the field to Yes.
Finally I make sure the section it's in (typically the detail but you may have reason to use something other) also has CanShrink set to Yes.
When you stack the controls on top of each other in this manner you should get the result as you posted.
Note: this only works for reports or if you print the results of a form. If you do not intend to allow entry of data into the form it would be better served as a report.

How to Create a Continuous Form in Access VBA with variable number of Text Boxes

I know how to design a Continuous Form in Access VBA 2010 with adding a number of Text Boxes and setting the Form Default View as Continuous Form and then setting the Form's Record Source to a Query. So the data would be shown in a Grid Format perfectly. However, I want to add these Text Boxes dynamically, means the query that's going to be bound to that form would have variable number of columns everytime depending on the selection in filters. So, how can I do that?
I don't want to set the Table or a query directly as the source of that form as I won't have the freedom of conditional formatting also.
The easy method is to create the maximum number of textboxes to be displayed, then hide those that you do not wish to display for the current filter.

dynamically add new text box when users select number higher than 1 on combo-box on access(VBA)

i'm pretty newbie in Access VBA
I'm developing an some access forms for Bussiness car control where users makes requests to use a car.
In the request there will be a combo box where the user have to select how many passangers will be using the car and text boxes to input their name and a phone number.The company can provide Microvans or Vans if the user needs.
My question is how can i add more text boxes according to the number of passengers the user selects? Also i need the text boxes linked to the DB fields for passenger info (I already have all the fields needed in the DB)
I already made some invisible text boxes but as i need many of them the form will become too big fo those user that need only one text box.
Am i doing something too crazy?
When using static userforms, and having textboxes have been set as visible = False, you must ensure that there is enough space for all textboxes to show, should the form require them to turn visible = True.
You can create dynamic userforms; as a greater number of passengers are selected, the form will extend down whilst adding the additional textboxes. It's weighing up whether the development time, and future maintenance time, is worth the form being dynamic in this way. It can get complex and be difficult to maintain in the long run.
I would recommend, instead of having a combobox where they select how many passengers, there is instead 2 buttons '+' and '-', and between these 2 buttons you will have a label which shows the number of passengers. The label increases or decereases, dependant on which button is pressed. This way each time they press to increase passengers, it increases the label and adds an additional textbox. There is an article here which may help if you need ideas on the code this requires: Dynamic Userforms

Access making text box on forms static

I currently have a form in access which has text boxes which refreshes itself every time you click on it. I am assuming that access has a dynamic way of updating the tables, ie as soon as you move the cursor away from the text box, it updates the tables. Is there any way of making this static ie. I should have a button which after clicking updates a set of text boxes into the table. Although this is not a feature which is desired, I am planning to use this to prevent multiple users corrupting the data in the table.
What you're asking for is standard behavior... The record will not be saved until the record has lost focus, rather than the field. If your form is saving after each field loses focus (desired in some applications) it has been set up that way (probably with an OnChanged event on the textbox).