|
-
May 18th, 2005, 08:57 PM
#1
Thread Starter
Addicted Member
[solved] is that possible to modify access query criteria from access module?
hi, like the above subject,
is that possible to modify the access query criteria from the access module?
thanks in advance
Last edited by asmdev; May 19th, 2005 at 01:02 PM.
-
May 19th, 2005, 12:30 AM
#2
Thread Starter
Addicted Member
Re: is that possible to modify access query criteria from access module?
i found the way already, if you got something different, plez post to share 
VB Code:
Dim dba As DAO.Database
Dim dbq As DAO.QueryDef
Set dba = CurrentDb
Set dbq = dba.QueryDefs("Q_FOLLOW_COUPON")
dbq.SQL = "SELECT * FROM BIODATA WHERE bCouponNo='" & txtSearch2 & "'"
DoCmd.OpenForm "D_BIODATA"
-
May 19th, 2005, 06:33 AM
#3
Thread Starter
Addicted Member
Re: is that possible to modify access query criteria from access module?
well, i just figure out i am so damn stupid... 
if you use the button wizard, it could easily integrate a textbox to match a field inside your table filtering the recordset.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|