|
Hey Don, this code will loop the records
to build the range list faster than anything
you can do with straight Axapta. static void pl_scratch(Args
_args) { docuRef
dr; Connection
con = new Connection(); Statement
sqlStmt = Con.createStatement(); ResultSet
sqlTable; notes
sqlStr; str
searchWord; str
rangeList; ; searchWord = "Remark"; sqlSTR = strFmt("select
recID from docuref where
notes like '\%%1\%'", searchWord); info(sqlStr); sqlTable = sqlStmt.executeQuery(sqlSTR); while
(sqlTable.next()){ //build recidList to use in other query rangeList = rangeList
+ (rangeList ? ", " + int2STR(sqlTable.getInt(1)) : int2STR(sqlTable.getInt(1))); } info(rangeList); } -----Original Message----- As far as i know it's not possible to use where
statements on a memo field. It's a limit in SQL server. Invalid Range Type Yahoo! Groups Links ·
To visit your group on the
web, go to: ·
http://groups.yahoo.com/group/development-axapta/
·
·
To unsubscribe from this
group, send an email to: ·
·
Your use of Yahoo! Groups is
subject to the Yahoo! Terms of
Service.
Yahoo!
Groups Links ·
To visit your group on the
web, go to: ·
To unsubscribe from this
group, send an email to: ·
Your use of Yahoo! Groups is
subject to the Yahoo! Terms of
Service. Yahoo! Groups Links
|
- [development-axapta] Filtering on a memo field axaptacoder
- Re: [development-axapta] Filtering on a mem... Jonathan St-Louis
- [development-axapta] Re: Filtering on a... axaptacoder
- Re: [development-axapta] Re: Filter... Jacob Christian D�skeland
- RE: [development-axapta] Re: Fi... Preston A. Larimer
- RE: [development-axapta] R... Preston A. Larimer
- Re: [development-axapt... Jacob Hjelmer Nielsen
- RE: [development-a... Don Price
- [development-axapta] Filtering on a memo fi... Don Price
- RE: [development-axapta] Filtering on a mem... Malcolm Burtt

