How to prefill the two fields i..e. cardNumber & cardPin on the webpage using the link https://www.woohoo.in/balenq - prelink

How to prefill the two fields i..e. cardNumber & cardPin on the webpage using the link https://www.woohoo.in/balenq.
instead of copy and paste each time want to use them through link. please suggest.
i am using the following link but not working
https://www.woohoo.in/balenq?cardNumber=1234567890123456&cardPin=123456

Related

Replace zero length mail merge field with user input

I have a MS Word template where I have certain mail-merge fields and one of those fields in the source doucment is sometimes empty. I am using below IF condition and taking user's input for the date field but I cannot update the source mail merge document with this information.
If Len(ActiveDocument.MailMerge.DataSource.DataFields("startDate").Value) < 1 Then
InputStartDate = Format(InputBox("Enter Commenced date ..."), "mm/dd/yyyy")
ActiveDocument.MailMerge.DataSource.DataFields("startDate").Value = InputStartDate
End If
I get an error here that says mail merge source doucment field connot be edited or is locked, something like this.
Is there any way through which I could either update the source field and through application refresh method, I populate that mail merge field with this user input date?
Alternatively I could otherwise add a few lines of code to perform following steps:
1- Save this document (using Saveas2 method) as ".docx" by converting it from ".docm"
2- Break the mail merge connection through VBA code
3- Select all mail merge fields and using Sendkeys "CTRL+SHIFT+F9" covert all of them to normal strings.
4- Make that particular mail-merge field a Bookmark field and then finally update that bookmark field with the user input.
This sounds like a longer route of getting a simple empty mail merge field issue fixed but this is so far all that I could think of. If you have any better suggestion, please let me know.
Instead of vba, do this with fields. Then it becomes part of the Mail Merge.
{ IF { MergeField startDate } > 0 "{MergeField starttDate }" "{ FillIn "What is the Start Date?" }" }
This will trigger the Fill-In field unless there is content in the startDate field for the record.
Here is documentation on the Fill-In Field.
Here is documentation on the IF Field.
Here is my tutorial on the Ask and Fill-In Fields.
Here is my article on Dealing With Fields in Microsoft Word.
Here is Word MVP Paul Edstein's Tutorial on Mailmerge Tips and Tricks.

Get unique EmailAddress and append desired column values to one field by query

am working on access database and i have a table similar to below table
Email Address Prog_Name
====================================
jesse#gmail.com data processing
onesh#gmail.com big data
jesse#gmail.com big data
i want to get results in the form of below thru query or vb script.
Email Address Prog_Name
====================================
jesse#gmail.com data processing / big data
onesh#gmail.com big data
tried some methods,but didn't get better result on it..
thanks in advance...
Solution to your problem:
SELECT [Email Address],
ConcatRelated("Prog_Name", "Table1", "[Email Address] = " & [Email Address],""," / ")
FROM Table1
Follow the below link for more info:
http://allenbrowne.com/func-concat.html
To add the ConcatRelated Function Follow the below steps:
In Access, open the code window (e.g. press Ctrl+G.)
On the Insert menu, click Module. Access opens a new module window.
Paste in the function link.
On the Debug menu, click Compile, to ensure Access understands it.
The above Function is Provided by Allen Browne.

Can I open two pdf documents using visual basic 2008 with just one menu click?

I have a common.vb member that contains a number of different links (menu) to various forms or to a pdf. One link (Bidding Opportunities) currently opens one pdf. I need for that link to open another pdf in a separate window just like the current one. In other words two separate pdfs in two separate windows. Everything I've tried so far has not worked. Any help is greatly appreciated.
Current Code Example=
Dim MenuItem17 As String = "<a href='" & "http://docs.birminghamal.gov/landbank/RFPforLegalServicesforBLBAQuietTitleActions.pdf" & " ' target='_blank'>" & "Bidding Opportunities" & "</a></br><br>"

How do I edit an Access report on the fly?

This seems like it would be pretty simple, but I’ve been googling my brains out for the last two weeks and I can’t find the answer. I'm using Access 2010...
I have a form with a button that the user clicks to get a report, that button pops-up a form that ask for the date of the requested report and then the report open with the correct info. The problem is I need to manipulate the data before it is displayed. Some of it I’ve done directly through the SQL statement and some through the Control Source of the text boxes on the report. But some of the data is a little more complicated… I need to extract certain text from a “remarks” field (memo) and I need to concatenate a few fields together separated by a comma, some of which may be blank. I know I can use the “+” to do that as in “lastName & (“,” + firstName) which will eliminate the unwanted trailing comma… but what if “lastName” is blank… I will be left with an unwanted preceding comma???
How do I loop through the data as it is being “written” to the report so as to edit it “on-the-fly”? I don’t want the user to edit the data because I want to get the exact same results every time.
This an answer to the first question (but what if “lastName” is blank):
lastName & IIf(Len(Lastname) > 0, ",", "") & firstName

Insert image from URL bookmark Microsoft word

I have a image URL contained in my sql database.
I create a bookmark for that column in the word document (this works fine).
Now I want to use the image URL that is passed from the database to insert an image.
I have tried hyperlink (does not work and does not display image).
I have tried Quick Parts - IncludePicture (does not work).
I have been Googleing and have not found anything that works.
Ok let me simplify this.
I want to insert a image using an URL.
You can do this in alot of different ways I know.
For instance using Quick Parts and the selecting IncludePicture you would the past the URL of the picture and BAM image inserted.
Now I want to do exactly that with one exception. The URL is a microsoft word bookmark that I get from my database.
For some reason this does not want to work. I have also checked the bookmark data and it is correct and yes it is a valid URL because if I copy and paste it from the database in the way I described above it works.
So is there any other way to do this?
To be honest I still don't know where is exactly your problem. I assumed that you have knowledge and code to take both bookmark name and url from your database using VBA. If so, there would be quite simple code which would allow you to load picture from web to bookmark in your word document.
Below is the code I have tested with half of success. If I add any picture it will work fine. But will not work with url of active google map. I have no idea what you you mean with 'static google map' (in comment), you didn't provide any example therefore you need to make your own test.
Before you run this for test be sure you have two bookmarks in your active document: bookmark_logo and bookmark_poland. Hope this will help a bit.
Sub Insert_picture_To_Bookmark()
Dim mapURL As String
Dim soLOGO As String
soLOGO = "http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon.png"
ActiveDocument.Bookmarks("bookmark_logo"). _
Range.InlineShapes.AddPicture _
soLOGO, True, True
mapURL = "https://maps.google.pl/maps?q=poland&hl=pl&sll=50.046766,20.004863&sspn=0.22047,0.617294&t=h&hnear=Polska&z=6"
ActiveDocument.Bookmarks("bookmark_poland"). _
Range.InlineShapes.AddPicture _
mapURL, True, True
End Sub