Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

Retirement Notice

Baanboard is shutting down on 31-dec-2023. See: http://www.baanboard.com/baanboard/showthread.php?t=76043


User login

Frontpage Sponsor

Main

Poll
What do you expect from your SI Implementation partner for the success of ERP implementation.
Bring best practices - Not to offer more CR's Leveraging standard functions
20%
Need more honesty to work with the Users until their processes are fully mapped & Users are trained
40%
Focus on process automation/ integrations/ Real time data/ BI analytics
13%
Stick to basics
27%
Total votes: 15

Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 6th March 2023, 12:11
tion1976 tion1976 is offline
Member
 
Join Date: Jan 2023
Posts: 39
tion1976 is on a distinguished road
Baan: 4,5,6,10 - DB: sql - OS: windows
Talking How to use Query menu command with like operator
Baan: Other/Unknown
C/S: None/Unknown

Hi,
Using Baan IV becs client tool ...
Does anyone have an idea how to use the Query menu command from Labels Tools in order to get all the labels with label description like '%Company%' ?
For example, 'Company', 'Original company', etc.
See also the screen.
ThanksClick image for larger version

Name:	query-using-like.png
Views:	37
Size:	22.3 KB
ID:	7031
Reply With Quote
  #2  
Old 6th March 2023, 15:20
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,819
mark_h will become famous soon enoughmark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Use something like .*Company.* - of course company will have to have the right case. So this should find anything with Company in it, but will not find company. At least that is how I recall it works.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #3  
Old 7th March 2023, 10:41
tion1976 tion1976 is offline
Member
 
Join Date: Jan 2023
Posts: 39
tion1976 is on a distinguished road
Baan: 4,5,6,10 - DB: sql - OS: windows
Thanks Mark. That works. I wonder now how to modify in order to get both company and Company (with respect to capital letters). Anyway the answer is useful.
PS: I thought the form takes the SQL special signs for LIKE operator (that is, % instead of *)
Reply With Quote
  #4  
Old 7th March 2023, 14:29
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,819
mark_h will become famous soon enoughmark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
You might want to check the help - I think the ? is for any character - but you could just use .*ompany.*. Back in the day depending on what I was doing I just might write an easy sql to query the tables that way - still using like .* in the like portion of the query.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #5  
Old 13th March 2023, 16:10
OmeLuuk's Avatar
OmeLuuk OmeLuuk is offline
Guru
 
Join Date: Mar 2002
Location: NetherBelgium
Posts: 1,376
OmeLuuk will become famous soon enough
Baan: Infor LN 6.1 10.2.1 > 10.7 - DB: MS SQL2017 - OS: VM WindowsServer2016
Quote:
Originally Posted by mark_h View Post
You might want to check the help - I think the ? is for any character - but you could just use .*ompany.*. Back in the day depending on what I was doing I just might write an easy sql to query the tables that way - still using like .* in the like portion of the query.
I think the like uses regex in which case it would be .*[Cc]ompany.*
__________________

Also read Luke 24:4-8

After that you can find many answers on Infor, LN, BaanIV, BaanV, InforLN and ION and even some questions asked here on baanboard.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I would like to ask on the 'In' operator in the use of SELECT clause assassinator Tools Development 7 21st May 2008 15:06
Can't query the ttadv380 table. walter01 Tools Development 23 17th September 2006 02:18
Apply functions in where clause in Baan SQL Lijie_tu Tools Development 6 28th May 2004 19:53
Desktop Query eshirley Tools Administration & Installation 0 10th September 2002 03:41


All times are GMT +2. The time now is 01:13.


©2001-2023 - Baanboard.com - Baanforums.com