copying a form textfield value into a report textfield - sql

I have an access form in wich a user can enter project details (like project number, name and ordering party etc etc)
I also have a few reports with a header. I would like the values that are entered in the project detail form to be automatically inserted into the header text (orange selected) fields.
How can I do this?
I have added the tags vba and sql, because I am willing to use these ways if it is otherwise impossible to do this.

Probably the most straightforward way to do this would be to set the Control Source of the text boxes on the Report to point to the corresponding text boxes on the Form. So, the Report text boxes would have a Control Source that looks something like:
=[Forms]![Form1]![txtProjectName]

Related

Checkboxes to generate letter

I am currently building a User form for some letters we use at work and I would like to design the userform to generate the letter with mostly just checkboxes. e.g.
Your application cannot be completed until the following is received:
A Statutory declaration providing a statement in regards to your: financial situation
In the above example I would need two checkboxes.
Checkbox 1:
A statutory declaration providing a statement in regards to your:
Checkbox2:
financial situation
I guess the question I am asking is in two parts:
1: How do I get checkboxes to generate text?
2: How do I get multiple checkboxes to generate text against the same bookmark/s?
I may not need a Statutory Declaration, I may need a "certified copy of:" ---"bank details, proof of identity, proof of citizenship"
As you can tell from the user form it's pretty extensive and all the checkboxes in the lower half of the form need to generate text.
Grateful for any advice or direction or resources or anything.
In theory, you might store the text to be inserted in your letter in the Check box's caption property and use code to insert the text into your letter when the box is checked. I think this is cumbersome and recommend that you use the caption for a caption, for example, "Statutory declaration". If it is checked such a paragraph is inserted into the letter, else it is left out.
The required declaration may include one or several of many items. Since you are thinking of check boxes, you could have one for each "bank details", "proof of identity", "proof of citizenship". These selections are very short and could be placed in the caption property. But if the texts are longer or of greatly varying lengths I would recommend the use of text boxes instead. So, if Cbx1 is clicked, the text of Tbx1 is inserted etc.
Alternatively, if only one item is required you might consider a dropdown. Or you might use a list box with multiple choices. In principle, I think that using different systems for different levels of decision making helps the user to find his way through your form. For example, use check boxes to select paragraphs (the full text of which might be shown in adjacent text boxes), and then switch to list boxes, option buttons, dropdowns or check boxes which look completely different to specify the contents of the selected paragraph. All of that detail might as well be hidden until the user has checked its box.

How to show text in textbox based on selection of combo box vb

I want to add this feature within my program in were I select a subject from a combobx, and based of the selection I would like to display a block of text maybe from a txt file or an access database file and display the contents in a another textbox on the form that would allow the user to edit the info.
Im writing this in VB, and I was able to make a combo box and list the different subjects, I just need to be lead in the right direction as to where to start.
I haven't added any code simply because all I have is the basic combobox with the different selections. Any help would be greatly appreciated.
You really need to be clear on the source of the text for the textbox and how you're going to access it. One option is to use a custom class that holds the subject and the description. If you override the ToString method to display the subject, you simply set a List(Of CustomClass) as the datasource for the ComboBox and the SelectedItem cast as the CustomClass will hold the description that you can display in the textbox.

Drag and Drop data in PDF form field

I have a project that requires the user to fill out a pdf form. I am loading the pdf file into an object tag. On the side I have a list of predetermined values. I would like to enable the user to drag one of those values to a field in the form and drop it there.
I can have them right-click the value, copy it and then right-click and paste in the field, but I would like to create something a little more user friendly.
Any suggestions are highly appreciated.
Thank you.
From what I can find (I was just searching if this was possible as well), and what I know from building forms in Adobe's form builder, this is sadly no possible.

Hide few fields in EditForm.asx of Picture Library in sharepoint 2010

I have a picture library and added few fields to it. When i click add new item from picture library, the EditForm.aspx appears after uploading the picture. This form contains many fields of which I want to hide Title, Date Picture Taken, Description, and Keyword. In short the EditForm should contain only Name, Preview and the columns that I have added. Is it possible to hide the other columns? I want to perform this out of the box.
Several possibilities.
You can use SharePoint Designer to manipulate the NewForm, EditForm and DisplayForm. Edit the existing form, use CSS to set the out of the box HTML form to hidden, then add a new custom form to the page and remove the columns you don't want to see.
If you don't want to use these columns at all, just delete them in the Library settings
If you don't want to delete the columns, click the parent content type in the Library settings, then edit each column and set it to "hidden"
Check this out: http://sarangasl.blogspot.in/2009/10/hide-column-in-edit-new-or-display-mode.html
I found this solution to be really simple and effective. Very well documented and descriptive.

TextBox combined with LinkLabel in Datagridview column

I have a Datagridview cell with some text in. I'd like to make just 1 word of this text into a link that will open a website but keep the remaining words as normal.
Is that possible at all?
One way to do achieve, would be to extend the (default) DataGridViewTextBoxCell class (create a new one, inherit this behaviour) with some properties, like the cursor changing, clicking leads to opening a link if it's on the surface the link is on, etc.