Dear Friends,
I am quite new to Access DB. But I know some basics of VBA in excel programming. I have to use some data from access DB for my class project, but data’s are not available directly in access DB. Which are around different tables and requires manipulation. I will mention the problem below, could please provide me the possible solutions,
In table 1, I have standard values for corresponding standard wavelength.
Standard
WavelengthStandard Value 0.3 0.0005 0.32 0.0069 0.34 0.0122 0.36 0.0145 0.38 0.0187 0.4 0.0235
In table 2, I have an ID for which we are having values for a range of random wavelength.
ID
913Wavelength
0.335Values
0.013913 0.34 0.048 913 0.345 0.121 913 0.35 0.248 913 0.36 0.476 913 0.37 0.588
Calculation: For each ID in table 2, I have to find missing values with respect to standard wavelength in table 1 through interpolation and multiply the corresponding values in table 2 with standard value in table 1 and do a summation of it.
The formula will be as follows
For each ID = Ʃ (table2.values(standardwavelength)) * (table1.standardvalue(standardwavelength))
could you please share your ideas on how to approach this following problem. Is there any sql query functions available to interpolate or do we need to create VBA function in access to perform this manipulation.