I have a macro in place that imports and parses data from a text file already. I need it now to look for a range of data that is always the same in every text file. The file has a lot of text in it but somewhere in the middle of the file it has the data below. I need it to copy and paste this data into the tables from the word "acct123456789" until "the customer service team". I am using MS Access. Maybe i would like to have a search box, have the user enter the account number and have it copy from the account number until the "the customer service team?
I have 10 fields which are named "f1,f2,f3,f4,f5,f6,f7,f8,f9,f10" in table "statement-find"
example:
Search Box: USER INPUT (ex. 123456789)
- Information found in the table called "statement-find".
- Macro/VBA copies information from acct 123456789 to the customer service
team
- macro/vba pastes that range into a table called "statement"
Acct 123456789
Hello,
Thank you for your payment. Please view your receipt at www.test.com
Thank You,
The customer service team
Related
I am new to Jmeter and doing a POC to do a load test on a web application.
What I am trying to do:
I have a total of 4 user logins(surgeons). Each Login is associated with 'n' number of patients.
I've created 2 CSV files
one with the user login and password for surgeons
another CSV file that contains the PatientName, PatientID and the Surgeon associated with that Patient like below.
PatientName,PatientId,loginName
Pa1,PID1,user1
Pa2,PID2,user1
Pa3,PID3,user1
Pa4,PID4,user1
Pa5,PID5,user2
Pa6,PID6,user2
Pa7,PID7,user3
Pa8,PID8,user4
My Scenario:
Login as User.
Navigate to Each Patient Dashboard as per their associations.
log out of the application.
My Testplan
Thread Group (4 users, Ramp up time as 1 sec, 1 loop) -csv1(with username, password )
-Login Page and Navigate to the Main page - RunTime Controller (To sustain the load of a set amount of time)
-- While Loop(to loop between the patient dashboard of the surgeon/user logged in) ---CSV2 (the data as shown above) ----Navigate to Dashboard
----Navigate to Main
-Log out of the Application
What I want to achieve:
I want to use the single thread group and run it concurrently for all the 4 users. In this process, once the user login, the user should only those patient data from the CSV which are associated.
For Ex: When the Thread1 is running with User1 login, he should only able to loop through Pa1, Pa2, Pa3, Pa4 users When the thread2 is running with User2 login, user should only read the Pa5, Pa6 data.
Like this, each user login should only pick those users as per their associations mentioned above.
Is there any way, I can use this single CSV2 file and achieve this task? so that I don't have to create n number of the thread of n numbers of logins with n number CSV files each containing the data specific to the user login.
I did try to use the _CSVread function but that will make me to create multiple files(I currently have 500 CSV files) which is not a great idea. Expecting to find a solution to have all the data in one CSV and read it based on the Column value.
Reading data from CSV file based on particular column value is not supported in JMeter, you can consider the following options:
Create separate CSV files for each surgeon and pick up the relevant file based on currently logged surgeon id/name/whatever using __CSVRead() function.
Use If Controller to choose to this or that execution branch based on the surgeon name
Use Switch Controller to choose this or that execution branch based on the surgeon name
I have one webpage and I want to get some specific data to my text file. Is there any way to get data below? I am attaching screenshot of webpage from which I want to extract data.
ID No. Name Email Mobile Points Status Dates Times Point Edit Remove
7523 punam prasad punamprasad045#gmail.com 9300552777 1 ACTIVE 2018-02-27 11:08:11 Point Edit Delete
i.e if I want to extract mobile number into text file how could i fetch data.
In Google Spreadsheets. I have a large sheet containing lots of bookings, a booking has several columns for name, voucher number, email address etc. Each date I have a class on covers several columns and rows. I want to build a single vertical list of every email address in the sheet. The email addresses are in different columns and different rows. I was thinking FILTER or LOOKUP but I can't quite find the answer that works.
Dec 17th 2-5
Name Voucher Email People
Richa yes richa#xx.ca 2
Jessica yes jess#sss.com 3
Beth cash ebeth#hh.com 2
Export your sheet as a CSV file (File > Download as ..)
Then use the REGEX tool of your choice (Notepad++) or some of the online tools available (first hit: http://emailregex.com/email-extractor-tool/).
You could use flatten() to get all the data in a single column and use regexextract(Cell or range,"[a-zA-Z]+#[a-zA-Z]+\.[a-zA-Z]+")
I frequently need to pull some CSV reports and analyze them using powerpivot. The "issue" is that the tool spits out the report like this:
Report Name Keywords (Group contains 778600, Campaign contains us-en)
Client XYZ
Scope Entire Account
Date Range 3/12/2015
Filters Campaign contains us-en; Group contains 778600; Clicks > 0; Reduced Dimension
Keyword Account Publisher Campaign Group Search Bid $ Status Destination URL
Total for all 2 keywords
Keyword Account Publisher Campaign Group Search Bid $ Status Destination URL
bla bla bla Account Name Publisher Name Campaign Name Group Name 1 Active URL
So what i always need to do is to remove the first 9 rows of the CSV prior to importing. Usually i can do this on Notepad++, but sometimes the CSV is so large that i actually can't really open it to edit. So far i'm using a program called 010 Editor, but i have only some days left of it.
Is there an easy way to skip those rows when importing?
Thanks a lot
You can use Power Query (free to download) to load data to Power Pivot. It allows you to skip the first x rows and filter out rows with blank/null values. Once you are able to get this to work once, you can copy the M code to use it on other CSVs. Or you can automate it as a function and just feed it file locations.
I have developed an export file from our Job Management system that I want to be able to import into MYOB Accounting Plus v18.5.
The file is generated without issue and I have included every single field to make it easy for upload (i.e. Match All matches every field)
The problem I am having is no matter what I do, I cannot get the sales to import... Every time, no matter what I do or how I create the customer card comes back with:
Error -190: Customer not found. Sale invoice not imported.
I have tried matching using - co./Last Name, Card ID & Record ID and every time I get the same error.
I have created a single customer with a simply Co./Last Name, Card ID & Record ID and still, when I try to import using these same fields exactly matched, I get the same error...
I had the same problem. Just leave the Card ID and Record ID blank and make sure you use "Identify Customer by: Co./Last Name" and the Alphanumeric matches.