• ** There has been a recent site upgrade. Please clear your browser cache to avoid issues. **
  • New forum feature - post voting and best solution

    Check out this thread for the details: https://www.access-programmers.co.uk/forums/threads/new-forum-feature-post-voting-and-best-answer.314134/

    This new feature looks great to me! :)

  • We now have 3 forum themes

    Go for the default (light) theme, Shades of Grey or Shades of Blue. I just added the Blue one.

    The thread about it is here: https://www.access-programmers.co.uk/forums/threads/new-forum-theme-shades-of-blue.314136/

Commond Button (1 Viewer)

kavehrad

New member
Local time
Today, 23:32
Joined
Jun 14, 2020
Messages
17
Hi everybody!
I want to have a command button to search in a specified field ( like: Name ) in my form. what is the macro code to this button?

Thanks:)
 

Rene vK

Member
Local time
Today, 23:32
Joined
Mar 3, 2013
Messages
46
Maybe a bit improper but, "Did you try to find or create something like a search?" People here try to help, not do your work. You will not learn anything if you don't try to invent stuff yourself. Google or Bing is your biggest friend and off course forums like this one.
 

Rene vK

Member
Local time
Today, 23:32
Joined
Mar 3, 2013
Messages
46
Fastest way is to use a combobox with your field as source.
A situation that I use quit often is: a subform showing a table, typing in a textbox rolls-up my table with the result. It works with a sql query.
 

arnelgp

error reading drive A:
Local time
, 06:32
Joined
May 7, 2009
Messages
10,627
place the cursor on the field you want to search, then press your search button.
you must experiment on the combo choices which best fit your need.
 

Users who are viewing this thread

Top Bottom