How to get hyperlinks dynamically in Microsoft Access Reports? - ms-access

In a MS Access Report, I am trying to create a hyperlink that would take a user webpage. The URL is dependent on a data field in my database.
In my report, I have added the hyperlink control and used the popup to enter the hyperlink.
When I use the Hyperlink Builder, to dynamically set the value of one of the parameters, I get a garbage url that does not work. The URL that is returned is :
file:///C|/Users/gh/Dropbox%20(Bar01%20College)/BW%20Demo%20Project/="https://baruch.az1.qualtrics.com/jfe/form/SV_8uZm3rAnSWPE9gN?DocumentID="
& [documentID] & "&TransmittedScore=ENG_2100"
The expected result would be to have the URL that is customized based on the record where my parameter DocumentID would be equal to the value of my documentID field.
https://baruch.az1.qualtrics.com/jfe/form/SV_8uZm3rAnSWPE9gN?DocumentID=ZuluTest&TransmittedScore=ENG_2100
If I paste the expected URL into the address field, the URL parses properly:
The requirement of this project is that the links need to be clickable when exported to PDF.
Note: I have previously posted this question to https://www.utteraccess.com/forum/index.php?showtopic=2057701 and looking for additional assistance.

Working with TheDBGuy on the UtterAccess forum (URL in my original question). The solution that came up was to use an UNBOUND Text Box, setting the property of Is Hyperlink = Yes.
Then in the ControlSource property, built the URL string in the format of ="<DISPLAY TEXT>#URL"
So the value would have been:
="ENG 2100#https://baruch.az1.qualtrics.com/jfe/form/SV_8uZm3rAnSWPE9gN?DocumentID="& [documentID] & "&TransmittedScore=ENG_2100"

Related

Reference a custom field in NS on the standard HTML transaction form/SO email form

Does anyone know how to reference a NS field in the standard HTML form?
I have a custom field on my SO that links to our external website. The field uses a formula to pull the NS SO internal ID to create the link so we can send it out to the customer. That field works perfect and I was able to get that link to display properly as an element on the standard PDF form layout that gets emailed to the customer as an attachment on the SO notification email.
Now, here is the issue, I don't know how to reference it on the "a href" html tag in the HTML code on the transaction HTML layout. I know the field name/backend ID, I just don't know how to reference it in the "a href" html tag, this is what I have so far:
Securely View, Edit, & Track the status of this order
(in the curly brackets is my field name and I removed the carrots so the exact code would show up in this text box)
Does anyone know how to get that field from the SO form to show up in the Transaction HTML Layout form?
Actually I figured it out. I needed to have the href set as <NLCUSTBODYPG_LINK_SO>.

Mask a {Common:ItemURL} in Nintex workflow

I have a form library in SharePoint 2013 with form names that have an ID appended to the end of the name, so it appears to be "Form Name-26". My customer does not want the "26" to display.
So, I have been trying to create a workflow that will start whenever a form is created. It can pull the Item URL without any problem, but then I want to 'mask' the URL. I was trying to use anchor tags within the "Set Item Value" workflow action, but this actually displayed everything and didn't read the html.
Here is the code I am trying to get to work.
<a href:ItemURL>Click here to open the form</a>
I ended up figuring out the answer to my own question.
I created a calculated column in SharePoint and set the data type to number.
Then I put in the following:
="<a href='Beginning of Link"&[Str Filename]&"'/>"&Year&" "&Department&"</a>"
This ends up 'masking' the link with the Year and Department (2 other fields I have in my library) and using the filename for the form in the link so that it dynamically changes for each item.

Formatting numbers in SSRS

How i can format values in SSRS in this format
"_(* #,##0.00_);_(* (#,##0.00);_(* -?_);_(#_)"
This is Excel formatting style, but how to make the same in SSRS
If you go to properties for the textbox, copy and paste the string into the Format field.
If this does not give the desired results, please describe the difference in the question.
You can define custom format in SSRS by navigating to place holder properties of particular field, and then navigating to 'number' tab. In category section we have option to defined our custom number format. so you can define your custom format there.

Why cant I add a URL as a prefilled Wufoo field entry?

I am trying to write some code that will put the current tabs URL into a wufoo form as a default value in the form hash. The code works fine but the wufoo form doesn't want to cooperate. instead of filling the correct URL (Say https://wufoo.com for example) it drops one of the / characters. This also happens if you skip the code and simply type the URL hash as in the example below:
https://ownthistown.wufoo.com/forms/q1d68ngv1qovy1o/def/&field1=http://wufoo.com
The field would show https:/wufoo.com as the entry. ANyone have any ideas why this is happening?

What is the difference between null and ""

I am currently trying to understand the jsp codes of another guy but I am having trouble with the following codes:
if( request.getParameter("username")!=null &&
!request.getParameter("username").equals(""))
The username is the field a user fills on an HTML form. The codes after these codes saves the data the user fills in into strings which will be later used for other purposes.
My question is what is the purpose of the !request.getParameter("username").equals("") code part in the above?
Has request.getParameter("username")!=null part of the code not already tested whether the user enters information into the input field of the HTML form or not?
Regards
If you reveive a request like
http://.../yourservlet
then the parameter value will be null, since no parameter named username is passed at all.
If you reveive a request like
http://.../yourservlet?username=
then the parameter value will be the empty string, since the parameter is passed, but its value is the empty string.
What you'll receive depends on the HTML, and on what the user actually does (he could type the URL manually in the address bar, for example). The code makes sure both cases are handled in the same way. Let's imagine some JavaScript in the page disabled the input field or removes it from the DOM when some checkbox is checked. In that case, the parameter won't be sent at all.
Has request.getParameter("username")!=null part of the code not already tested whether the user enters information into the input field of the HTML form or not?
No. A text input in a HTML form will always send a value. If nothing has been typed into it, then that value will be "".