View Single Post
 
Old 11-16-2020, 03:05 PM
SQUiD SQUiD is offline Windows 10 Office 2019
Novice
 
Join Date: Nov 2020
Posts: 6
SQUiD is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Have a look at post #4 of the thread you linked to.

Hopefully I haven't caused confusion.


The first source is a database (I just extracted as a spreadsheet to show the field names) and the secondary source is an excel spreadsheet.


{DATABASE \d "\\\Nas\\13 Test\\External Plant Hire v2.1.accdb" \s " SELECT `HireID` AS `Hire Reference` FROM `qryConfirmationOrderExport` WHERE [ID] = {MERGEFIELD ID}" \l "15" \b "49" \h}


^ Just testing with pulling one field currently to ensure it works before pulling others, I experience an error with the WHERE component, I'm unsure what to specify exactly.


Thanks for your patience
Reply With Quote