How I find out data from access

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2008
Posts: 474
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

How I find out data from access

 
0
  #1
Jul 19th, 2008
I use data control to link access file by data properties not code. use simple code like move next etc. I use find next to find data. but when i want to find i write the criteria like Name = taher. But i want I write only taher in find text box.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,122
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 129
debasisdas's Avatar
debasisdas debasisdas is online now Online
Postaholic

Re: How I find out data from access

 
0
  #2
Jul 20th, 2008
so what is your problem ?
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 474
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: How I find out data from access

 
0
  #3
Jul 20th, 2008
I only write, what i want to find. not critera. but now i write "Fieldname = condition" but i want only condition
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: How I find out data from access

 
0
  #4
Jul 21st, 2008
You mean you want to find data where Fieldname = condition ?
And condition is user input?
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 474
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: How I find out data from access

 
0
  #5
Jul 21st, 2008
yes only condition is input. now i write like Name (fieldname) = taher (condition) but i only input taher (condition)
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 509
Reputation: selvaganapathy is an unknown quantity at this point 
Solved Threads: 88
selvaganapathy's Avatar
selvaganapathy selvaganapathy is offline Offline
Posting Pro

Re: How I find out data from access

 
0
  #6
Jul 21st, 2008
Hi, First get the input from the user Say (sName) and use Field Names in your coding not as input.

Example
Recordset.Find "Name'=" & sName & "'" Here you only give the condition (sName or txtName.Text that is Input) and Field name is predefined by your coding.
KSG
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 2
Reputation: electrosoul456 is an unknown quantity at this point 
Solved Threads: 0
electrosoul456 electrosoul456 is offline Offline
Newbie Poster

Re: How I find out data from access

 
0
  #7
Jul 22nd, 2008
use variable to get text value in it and then apply your code on that variable
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC