•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 391,659 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,826 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 1291 | Replies: 5
![]() |
•
•
Join Date: Oct 2006
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hello,
I am a novice Access 2002 user and I'd like to delete all rows where the "category" fields says "buyer" as I do not need this information in my Real Estate database.
For example, I tried setting a query in SQL view with these parameters:
But since this is a command and not really a query, I am wondering where to do this. I also am seeing people writing VBScript into Access, but am wondering where I can do this. I have extensive experience with VBScript but it has been several years since I've used it and I haven't ever paired it with Access.
Thank you,
Eric
I am a novice Access 2002 user and I'd like to delete all rows where the "category" fields says "buyer" as I do not need this information in my Real Estate database.
For example, I tried setting a query in SQL view with these parameters:
DELETE FROM [dbRealEstate] WHERE [dbRealEstate].Category ="buyer"
But since this is a command and not really a query, I am wondering where to do this. I also am seeing people writing VBScript into Access, but am wondering where I can do this. I have extensive experience with VBScript but it has been several years since I've used it and I haven't ever paired it with Access.
Thank you,
Eric
•
•
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation:
Rep Power: 30
Solved Threads: 264
yeah, you could use VBA (basically VB6 but in access) or maybe a macro?
TRY MY SUGGESTIONS AT YOUR OWN RISK!
james.bennet1@ntlworld.com
james.bennet1@ntlworld.com
•
•
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation:
Rep Power: 30
Solved Threads: 264
tools -> macro -> visual basic editor
or right click on a command button on a form and choose code builder if you want to do it that way
or right click on a command button on a form and choose code builder if you want to do it that way
TRY MY SUGGESTIONS AT YOUR OWN RISK!
james.bennet1@ntlworld.com
james.bennet1@ntlworld.com
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
On the main access menu, choose queries/new/design view... when the query design window opens - the "SELECT TABLES" window appears - click CLOSE. The top line display changes. Click on the "SQL" item in the top row. You can enter your "command" (sql text) there. Then click on the "RED EXCLAMATION POINT" -- when means "RUN" ... that's all there is too it.
Last edited by TJ Bowers : Feb 21st, 2007 at 10:49 am. Reason: left out part of the explanation
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MS Access and FileMaker Pro Marketplace
- visual basic and access (Visual Basic 4 / 5 / 6)
- visual basic and access (Visual Basic 4 / 5 / 6)
- Basic ASP Access question (ASP)
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: Last record number
- Next Thread: Combobox Duplicates



Linear Mode