Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with "like" 1

Status
Not open for further replies.

patrysib

Programmer
Oct 21, 2007
23
0
0
RO
I want to search a name in a database, but not whole name, only a part. I put in query the condition: (BAZA.NUME) Like '*me.forms!main!nume*. Main is my form where I type the name, and my table is baza. The query is not returning any row, only an empty one.

 
GHow are ya patrysib . . .

Perhaps:
Code:
[blue]Like "*" & Forms!Main!Nume & "*"[/blue]




Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
 
patrysib . . .

Great! . . . Be sure you understand [blue]why it works[/blue] or you'll have many more bouts with this type of syntax issue! [thumbsup2]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
 
I have a database witn 3 tables. the access at this tables is restricted. I can't open them. Ther is a program who cam help me? Or what can I do to have administrator rights?
 
Who set the access to the database? Why is it set so you can't view/edit tables?

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
what can I do to have administrator rights?
Ask your DBA (DataBase Administrator)

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top