Find Jobs
Hire Freelancers

vba function/procedure to build a concatenated string to update a field value

$10-30 USD

In Progress
Posted over 7 years ago

$10-30 USD

Paid on delivery
Update null values in a table, [login to view URL], with a variable length concatenated string. The concatenated string is built by isolating each new value to concatenate from tlkpPrLy using 3 fixed (red) and 1 variable join (blue). The variable join connects each successive field in ttblHd beginning with “col” to [login to view URL], i.e. col01, then col02, etc. The number of columns starting with “Col” will vary over time. The number in the field name, “col02”, should match the value in [login to view URL] (green) *graphic with color coding in attached file For your convenience sample SQL to isolate and build a concatenated string for the first 3 columns is below: 1 UPDATE ((ttblHd INNER JOIN tlkpPrHd ON [login to view URL] = [login to view URL]) INNER JOIN tlkpHdPr ON ([login to view URL] = [login to view URL]) AND ([login to view URL] = [login to view URL])) INNER JOIN tlkpPrLy ON [login to view URL] = [login to view URL] SET [login to view URL] = [ttblHd].[strLy] & [tlkpPrLy].[strAaK] WHERE ((([login to view URL])=1) AND (([login to view URL])=False) AND (([login to view URL])=True)); 2 UPDATE ((ttblHd INNER JOIN tlkpPrHd ON [login to view URL] = [login to view URL]) INNER JOIN tlkpHdPr ON ([login to view URL] = [login to view URL]) AND ([login to view URL] = [login to view URL])) INNER JOIN tlkpPrLy ON [login to view URL] = [login to view URL] SET [login to view URL] = [ttblHd].[strLy] & [tlkpPrLy].[strAaK] WHERE ((([login to view URL])=2) AND (([login to view URL])=False) AND (([login to view URL])=True)); 3 UPDATE (tlkpHdPr INNER JOIN (ttblHd INNER JOIN tlkpPrHd ON [login to view URL] = [login to view URL]) ON ([login to view URL] = [login to view URL]) AND ([login to view URL] = [login to view URL])) INNER JOIN tlkpPrLy ON [login to view URL] = [login to view URL] SET [login to view URL] = [ttblHd].[strLy] & [tlkpPrLy].[strAaK] WHERE ((([login to view URL])=3) AND (([login to view URL])=False) AND (([login to view URL])=True)); Expected output: See table ttblHd field strLy for the expected output of the procedure/function. Database objects: The attached database contains: • ttblHd • tlkpHdPr • tlkpPrHd • tlkpPrLy • frmTest Requirements: 1) The procedure/function output replicates the current values in ttblHd.strLy. 2) The procedure/function executes from cmdTest on frmTest
Project ID: 11406122

About the project

1 proposal
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $70 USD for this job
User Avatar
Dear Project Poster, I have relevant hands on 5 years of experience .We have a team of all the skills. I assure you about the work quality and time delivery. Please give me chance to complete this project. I had already done the same work in past. Looking forward to hear from you. Let me give an opportunity to work. We can talk further when you message me.
$70 USD in 1 day
4.6 (7 reviews)
3.7
3.7

About the client

Flag of UNITED STATES
Lincoln, United States
5.0
8
Payment method verified
Member since Aug 7, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.