Usando o like normal:
1 2 | select firstonly purchTable where purchTable.purchId like '09*'; |
Quando você quiser ter todos os outros registros (not like), no X++ você tem 3 possibilidades:
1.!LIKE :
1 2 | select firstonly purchTable where !(purchTable.purchId like '09*'); |
2. notExists join :
1 2 3 | select firstonly purchTable notExists join refPurchTable where purchTable.purchId == '09*'; |
3. Query-object :
1 2 3 4 5 6 7 8 9 10 11 | Query query = new Query(); QueryRun queryRun; ; query.addDataSource(tableNum(PurchTable)).addRange(fieldNum(PurchTable, PurchId)).value('!09*'); queryRun = new QueryRun(query); if(queryRun.next()) { purchTable = queryRun.get(tableNum(PurchTable)); print purchTable.PurchId; } pause; |
Fonte: http://www.doens.be/
[]s
Pichler
7 Responses
test
04|Jun|2014 1What’s up, I would like to subscribe for this blog to get most recent updates,
so where can i do it please assist.
fortnite hack
14|Jul|2019 2fortnite hack
Usando “Not Like” by Dynamics AX Brasil
Fortnite Wallhack
07|Aug|2019 3Fortnite Wallhack
Usando “Not Like” by Dynamics AX Brasil
_____
15|May|2020 4Excellent pieces. Keep writing such kind of information on your blog.
Im really impressed by it.
Hey there, You’ve done a fantastic job. I’ll certainly digg
it and individually recommend to my friends.
I am confident they will be benefited from this web site.
_____
19|May|2020 5Wonderful, what a website it is! This webpage gives valuable facts to us, keep it up.
manohumana.com
20|May|2020 6Appreciation to my father who shared with me about this website, this weblog is genuinely awesome.
______
01|Aug|2020 7I was pretty pleased to uncover this web site. I need to
to thank you for ones time due to this fantastic read!!
I definitely enjoyed every bit of it and i also have you saved to fav to look at new information on your web site.
Leave a reply
Search
Tags / Categorias
RSS
Arquivo
Blogroll
A design creation of Design Disease
Copyright © 2007 - Dynamics AX Brasil - is proudly powered by WordPress
InSense 1.0 Theme by Design Disease brought to you by HostGator Web Hosting. (Modified by Ricardo Pichler.)