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!

search in form

Status
Not open for further replies.

2bulent2

Technical User
Jan 7, 2009
24
TR
hello

i made some columns in the form so the users cannot change them but just view.
but when i make a search with find button it doesnt search these passive columns

how can make it to serach all the columns?
 
Hi

I don't really understand a few things:

- what do you mean by [blue]"some columns in the form"[/blue]? are they separate listboxes or combo?, or maybe is the form in 'datasheet' view?

- [blue]"it doesn't search"[/blue]: how does it know what to search, and what should happen after it finds something?

 
sorry i used wrong words. i dont know access well and dont know the english meanings.

i just made a form with form wizard and it takes data from a table

this is the screenshot (the names are in turkish)


"kay?t bul" means "find record" (or something like it)

when i click on this button i can find the records


but as all the fields other than "HESAP NO" are not accessible it cannot find data of these fields.

if you like i can send the mdb file after preparing it with enlish version.

thanks
 

Hi 2bulent2, sorry for the delay.

What i think is, that in order to prevent the user from change, you have set the property Enabled = No and the property Locked = No, and that's why the 'Find' can't find it.

I suggest you should try like this: property Enabled = Yes and the property Locked = Yes, that way it will be able to find.

the only difference will be, that if both properties are set to 'Yes', then the use will be able to enter in the textbox, but NOT change its value.

Helped?
Ja
 
thanks for the answer
i found this solution yesterday but forgot to write on form, sorry.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top