Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
i'm trying to build a parameter in VBA as a list stings to pass it to MSAccess procedure such as "select ...from ...WHERE Strategy in ([@Strategy_List]);" but I'm having problem with quotation marks around each string in a list.. if only one name is in the list then query works just find but additing second string to the list breaks it... Set ParamStrategy = .CreateParameter("@Strategy_List", adVariant, adParamInput) 'this one will work as only one string in the list ParamStrategy.Value = "ALL_STRT" param with two strings fails 'ParamStrategy.Value = "" & """ALL_G""" & "," & """ALL_O""" & "" would appreciate any help on it cheers D. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to build a formula from a string of text | Excel Worksheet Functions | |||
open a spreadsheet with param | Excel Discussion (Misc queries) | |||
Haeder/Footer param | Excel Programming | |||
CorruptLoad param of Workbooks.Open | Excel Programming | |||
How to build build a macro that automatically imports | Excel Programming |