Can a control source be plain text? - ms-access

I need the control source for a textbox to simply be "x".
I have a bunch of textboxes on a report and I need each text box to just have an x in it.

You can set the Control Source property for the TextBox to be:
="x"
This will cause the text box to display an x in the report. However, its contents will not be editable as would be the case with a text box in a form.

Related

SSRS(rdl file) How to add multiple expressions to one text box

When choosing a textbox in rdl design file - you can add expression. But how do I add multiple expressions to the same textbox?
Click in the text box until you get the cursor (usually 1st click
will select the text box, the 2nd will place the cursor in it).
Next, right-click the cell and choose Create Placeholder
Set the expression for the placeholder as you would for a textbox.
Now you can also type literals into the text box and then right-click again when you need another place holder
Repeat as required...
I often use this for things like page numbers with a total that might look like this...
Note: You can format each piece of text individually too using this method.

Making the Label in a report equal to the value of a textbox

So I have a form that has a button that, when clicked, will generate a report. I have a combo box in the form that will fill in a text box after it is changed. What I want to do is then take the info from that text box and display it as the header of my report using a label. I could not figure out how to do it that way, however, so I had to use a text box which works, but it is not very aesthetically pleasing. Any help would be appreciated.

how do I reference a text box value in an expression? SSRS

I have a list and inside this list I have a text box.
Since it's a list, the text box value changes for each row in the dataset.
OUTSIDE this list, I have another text box which is part of the HEADER.
I want the HEADER to change based on the value of the text box in the list.
In the text box in the header, how do I reference the text box inside the list?
To refer to any report objects you can use ReportItems Collection.
In your header textbox put a expression like this to refer to textbox in the list:
=ReportItems!TextBoxList1.Value
Remember SSRS is case sensitive. Make sure you get the right name of the text box object you are referring to.
MSDN article on ReportItems

Find all text boxes in SSRS?

I am trying to implement Expand or Collapse facility to my report in SQLSERVER 2008R2.
For that purpose I have taken a text box named TextBox16.
But when I went to Tablix property and then visibility and then hide and Display can be toggled by this report item. Here I am not able to see all text boxes it showing to me, only odd number text boxes. Then how can I find all text boxes from Tablix property?
How to see all text boxes:
Click on the body of the report.
Hit F4.
Under the properties title is a drop down with every single object in your report. All of your text boxes should be listed in here.

ms access 2003 - Text boxes on a form: not jumping to any text box

Ok so I add all these text boxes on an unbound form, and everytime you open a form, it sort of jumps to the first text box so you can enter some information into it.
How do I get rid of that, because I do not want it to auto jump to the first text box when the form opens...i do not want it to jump to any text box when the form open at all.
thanks
You will have to decide where you do want it to go, because it has to go somewhere. You can control where will tab order, set focus, and autotab.
I have just checked, and the best thing to do is to set the textboxes Enabled property to No and the Locked property to Yes.
The default behavior is of course for the cursor to move into the first control that you’ve set up in the tab order.
Assuming you still want some sensible tab order in the form, then place a zero length text box in the forms headder. Remove the tab stop setting (other tab in property sheet). You might as well set this box transparent also.
Then in the forms on-load event, simply go:
Me.NameOfTextBoxinFormsHedaing.SetFocus
If I read your question correctly it seems that you do not want any of your textboxes on the form to have the focus on opening the form.
What you need to do in this instance is to create a new unbound textbox on your form, and then make this unbound the first item in the form's tab order. Then resize the unbound textbox to 0 height and 0 width, making it invisible.