o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

LIKE Operator with a Text Box Input -

Sir,
I have tried every possible syntax bit no success. I need to input a value in a search text box named searchtext.text using my Access 2000 search button and the search should include the LIKE operator e.g In the Search box I type "Medicine" and all records like Nigerian Medicine Accociation, Japan Medicine Group etc should come out of my database table.

Pleas give a simple code in SQL/VB.
Thanks in advance

Azam

 

LIKE Operator with a Text Box Input -
Sir, I have tried every possible syntax bit no success. I need to input a value in a search text box named searchtext.text using my Access 2000 search button and the search should include the LIKE operator e.g In the Search box I type "Medicine" and all records like Nigerian


In operator -
Is there an 'In' operator in Visual Basic i.e. If x Is In(1,2,4,5,9) then ... ... ... End If I know i can use a >=1 and <=5, but is there an In operator or a bewteen operator.???? Just curious! Either that or i'll end up using a Select Case statement


Using the Bitwise NOT operator -
Hi all, I am trying to use the Bitwise NOT operator in VB.Net. From the MSDN I learnt that the operator is ~. However there is no example in MSDN or on the internet that I could search which explains how this operator can be used in code, or what type of data should be used with t


Error free SQL -
Hi, I'm writing a .NET app in which one of the screen is for searching. I will let user choose fields, operator, and input an expression. Then I need to build a sql according to the inputted expressions. User can choose common operator (=, >, >=, etc) and SQL specific (


-,+,/,*, etc stored in var -
How can I store an operator into a variable, so that I can use: msgbox num1 OPERATOR num2 and not have to do lots of if/elseifs for the operator....


! Operator -
With ADODB.Recordset I can use the ! Operator which is a replacement for the .Fields property. Now I want to use that operator in my own classes. MyClass!anyvalue = 23 If that is possibly, how ? thanks for help.


Mod Operator -
Like the title suggests...what is a Mod operator. I'm wanting to write a program that changes every other letter in a string to upper case and have been told mod operator could be useful


simple overload of istream << help -
hey guys i need help tonight. Im trying to overload istream<< for the enum Color. The error i get is an "illegal operand" for the input << temp; in the overload. Heres what i have... #include <iostream> istream & operator>>(istream& inpu


SQL server case statement -
I'm trying to pass an operator(>,<,=) and numeric text box value to a SQL stored procedure. I would like to know the proper syntax for the following SQL case statment. I want to use each operator as a case. for example, if the operator is >, then select values from a column


calculator with more than one operator -
Ok, I know I had another post of this, but I don't feel like finding it..What I was wondering, was could someone look at this simple pseudo code and tell me if you think it will work... Code: user enters first number //do nothing user selects an operator //get st


----->Look @ THis <------ -
hi , i've semi created a calulator that accepts more than one operator at a time by storing each pressed no. in an array .....yet wot i need is for this array to be accessed and each operator found needs to be used as an operator (as oppose to string values) Can anyone HELP


Overloading the << and >> operators -
Hi. I am going over the >> and << stream operators (istream and ostream). I need a detailed reason of this ( I have commented where I need it specifically) I have looked over 3 tutorials and 2 of my books. They explain it well enough to the point I know what it is doing but


Combobox sharing btw forms -
How can I share the input from a combobox from Form1 with Forms 2, 3 etc? I tried Form2.Oper.text=Operator.text With the combobox in Form1 being Operator.text and text box in Form2 being Oper.text. Any suggestions? I want the textbox in Form2 to reflect what the combobox in Form1 d


Indirect operator or indirect membership operator -
If I choose to use the indirect operator when accessing data from a pointer to a structure, i.e: (*p).number Rather than using the indirect membership operator: p->number ... What in your opinion are the draw backs? Thanks.


[2005] Declare < > (less/greater than) -
Hi! How do i declare a less than or greater operator? (if thats the correct wording) For example: Code: Private Sub Compare_Values() Dim Comparison as _____?? Comparison = < '// Comparison operator will be a variable set by the user input '// it will either be le


Assignment Statement Validator Code(C) -
Does anybody know how to code in C the assignment statement validation. Example: Input: index = 1 + count * 2 Output: "statement is correct" <if input is valid> additional output : "index" = reserved word "count" = rese


Most useless operator in vb -
Look at this: 0 Imp 0 = 1 0 Imp 1 = 1 1 Imp 0 = 0 1 Imp 1 = 1 What possibly could you need the imp operator for? I have never used it, never seen it used, never heared of it, don't know what it is good for, and everything else tells me Imp is the most useless operator in vb. I


Confused about ++ operator <solved> -
I would have posted this in struntz's thread but he said he was done. I'm a little confused about how an overloaded ++ operator works. I know when you are adding up two object of the same type, writing: Code: Counter a, b; Counter c = a + b; is the same as writing "c.o


Overloading the << operator in a templated class -
How exactly do you overload the output operator or the << operator in a templated class. Because the following will not work ostream & operator << (ostream & out, List <T> & L const) mostly because the function does not know what T is because the functio


Autofilter Criteria limitation / error -
Guys, I am trying to filter on more than 2 sets of criteria but am unable to make the code work, is the code wrong or have I breached the limitation of the filter property? Code: Selection.AutoFilter Field:=16, Criteria1:="=CN", Operator:=xlOr, _ Criteria2


Can you help me out with implementing this -
consider the third data structure given for implementing the class polynomial (array of records). In addition to the methods given in class, implement the remaining member methods (add, multiply,evaluate, not zero (!) operator, Coef, LeadExp, overload of <<). The input


Need help with creating Binary Class -
I am trying to create a class to manipulate binary number including +, -, & * functions. here is what i already have. Code: #include <iomanip.h> #include <stdio.h> #include <iostream.h> #include <stdlib.h> class bin_num{ char data[8];


Lexical Simple Compiler for my Project -
can anyone help me with my School project..since My Teacher told me to make a simple basic compiler that has lexical analysis features so it means onc you type an expression on a textbox..and verify that line it will separate Identifier,operator,assignment operator and numbe


Polynomial class -
Hello everybody, I hope somebody here can help me out. I got a program to do for class but for some reasion I just can't put it togther. For those of you with C++ How to Program book third edition by Deitel & Deitel its Ex 8.19 p575... Those without the book here is the que


Detrmining activex mode (designtime\runtime), -
Hi everyone!! I have two problems that are connected, but I will use two threads to distingwish between separate subjects and make it more comfortable to read. As to this one: How do I determine wether my user-control loads in designtime or runtime? I need it because of this code:


What is the Java exponent operator -
I know that in VB, the operator to illustrate exponents is a hat (^). How can I write this exponent operator in java? Thanks a bunch!


Question on operators -
Ok, I have been looking at some other posts here about this but I have a question. Code: class INT { public: INT() {} INT(int c) {a = c;} ~INT() {} int getVal() {return a;} void operator = (int x) {a = x;} void operator = (INT x) {a = x.getVal();} INT& operator


and operator -
i'm trying to figure out what the "and" operator does in a mathmatical formula. for instance 80 and 10 or 2 and 3. i've tried testing it. and while it's consitant i cant seem to figure out the pattern. i ask because i'm trying to recreate some vb code into another


how to pree keys in calculator from keyboard -
1)I have made a calculator i want to add two numbers from the keyboard for that when ever i press the "+" key from keyboard it should ask for new number and then take the other number and show the result when i press "=" key from keyboard or cmd button I have wri


string to operator -
Lets say that I have a string - inside the string is a sum that reads 3 + 4 Now I read the string a char at a time and know how to sperate the int values, but is it possible to convert the + operator so that I can get VB.net to carry out this sum? just as I can convert strings into


Operators -
I am trying some funky stuff here... Code: template<class t> class b { public: b(){} t* operator()(int x) { return objs[x]; } void Add(t* p) { objs.push_back(p); } private: std::vector<t*> objs; }; template<class t> clas


boolalpha operator -
1. Does this operator exist? 2. If it does, what is the correct usage of it within code?


The Like operator -
I was wondering how I could use any of the ?, *, !, #, [, or ] characters with the like operator. I remember with PHP you put a backslash in front of them, do you do the same here?


Special purpose of -> -
Languages like vb,java, and .net.DOT operator is used to access class functions but in php -> operator is used.What is its speciality?


= operator overload -
whats the syntax for overloading the = operator?


Converting a string to an operator -
I want to convert a string to an operator. For example, lets say I have: Dim string1 as string = "+" How would i convert this string to the plus sign operator? I searched the forums/google, but nothing turned up, so help would be appeciated.


select string -
rsRecordSet.Source = "Select name From operator where operator_id=""Admin""" I try to select name from 'operator' table in SQLServer. But I get message "[Microsoft][ODBC SQL Server Driver][SQL Server] field name 'Admin' invalid". But "Admi


Just a little operator question -
Hey does anyone know what i can do in this situation? ----------- 'say i wanted to dim a bunch o stuff that all had # endings 'i would like to do this, for i = 1 to 10 dim name & i & as integer next ----- What would i use for the & operator if i was using va


Force Shut down for Windows 2000 -
Good Morning, I am trying to shut down Windows 2000 from my application. My application run on a production line and it is important that it can shut down without any operator inputs. I did find the example by John Percival. When I run it however, I get the usual message box


My operator is registering as a string -
Im starting visualbasic and to test what ive learned im creating a basic calculator program using visual basic express 2005. I decided to use a system that when you press addtion, subtraction, ect that it takes the stores the value in a if a="" but adds a to textbox1.text if