Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

HELLLP! Over my head, need help- Any MSAccess gurus on?

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 02:47 PM
Original message
HELLLP! Over my head, need help- Any MSAccess gurus on?
Edited on Thu Aug-19-04 02:50 PM by comsymp
Trying to create a pop-up to search a data table and am SOOOOOO way over my head!
Printer Friendly | Permalink |  | Top
redqueen Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:01 PM
Response to Original message
1. I think with the data table open
you should be able to click the Forms button and then design the search form, then set the mode to 'pop up'.

Been a long time, though...
Printer Friendly | Permalink |  | Top
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:04 PM
Response to Reply #1
2. TY
Have managed to muddle thru to that point. Unfortunately, that's about where I got stuck- can't figure how to set it up to call up the table headers that need to be searchable, and can't get the @#$% "#name?" out of the @#$% prompt box

:argh:
Printer Friendly | Permalink |  | Top
 
redqueen Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:07 PM
Response to Reply #2
3. Are you using a wizard to create it?
Or the design view?
Printer Friendly | Permalink |  | Top
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:09 PM
Response to Reply #3
4. Design view-
Other than the main form, I haven't had much luck with Wizard- it refuses to read my mind.
Printer Friendly | Permalink |  | Top
 
redqueen Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:10 PM
Response to Reply #4
5. lol
I never used design view... could launch it and give it a shot though...
Printer Friendly | Permalink |  | Top
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:12 PM
Response to Reply #5
7. Anything, anything!!!
My boss is such a nice guy- I really hate to rob him of his fantasies of my competence...
Printer Friendly | Permalink |  | Top
 
KurtNYC Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:12 PM
Response to Original message
6. I got a different way
Edited on Thu Aug-19-04 03:14 PM by KurtNYC
Write the query with a {question?} (those should be square brackets but you know the formatting on here won't let me show those) prompt built in. When you call the query you get the pop up.
Printer Friendly | Permalink |  | Top
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:14 PM
Response to Reply #6
9. That's what I was trying to do, originally
Query automatically took it to the table, tho, so that's why I did the manual pop-up form... Did I miss something obvious (no surprise)?
Printer Friendly | Permalink |  | Top
 
KurtNYC Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:17 PM
Response to Reply #9
10. A query like
"Select * from TABLENAME where FIELD = {what to match?}"

And then either base a form on that query or just call that query directly
Printer Friendly | Permalink |  | Top
 
LynzM Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:20 PM
Response to Reply #10
12. Yup,
Just make sure those are square brackets, and put what you want the prompt to be in there. If you're using the query builder, you need the field you want to filer on in a column, and then put that in the criteria field, something like {Enter Start Date} or whatever, since that's what you'll see when it does the popup. If you want to give details about the table, fields and criteria, we could probably write the SQL for you directly! :)
Printer Friendly | Permalink |  | Top
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:25 PM
Response to Reply #12
14. Well, since my head just exploded...
(did i mention the part about not having an effin' clue what i'm doing?)

Printer Friendly | Permalink |  | Top
 
KurtNYC Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:32 PM
Response to Reply #12
16. Or my personal favorite
which is to have an unbound text box on the form and pull whatever is entered there into the query by referencing it like this

Forms!{nameofForm}!{nameofTextBox}

Using square brackets for those {}'s
Printer Friendly | Permalink |  | Top
 
LynzM Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:13 PM
Response to Original message
8. I have a few minutes...
Try again to explain what you want to do... You want a box to pop up when, where, and to do what? To get data for a query to populate something? Need more info! :)
Printer Friendly | Permalink |  | Top
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:19 PM
Response to Reply #8
11. OK, in a nutshell
(and I've undoubtedly got the buzzwords all wrong)

OK, open the program- Main Menu will have 3 buttons- Form, Reports & Query.

(Form is working great, btw! Haven't started on Reports yet- can't wait /s)

Basically, what we're doing is compiling data on parts that are being returned for repair, so we have a table with stuff like:

Customer, Service Order, Part #, S/N, Aircraft Type and a few others- the ones I listed are the ones my boss wants to be able to search by.

So what he'd like is to be able to hit "Query", have a box pop up into which he could type, say, "747" and have all data entries in the table with Aircraft Type = 747 come up.
Printer Friendly | Permalink |  | Top
 
LynzM Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:23 PM
Response to Reply #11
13. Ok, here's a start
Edited on Thu Aug-19-04 03:24 PM by LynzM
Go to queries and 'New'.

You should get a wizard popup with the list of tables you have. Select and double-click on the one you want to use. Close that pop-up. Now you will have the fields in that table on the top. Highlight the ones you want to have show up in the query, and drag down into the bottom fields. In the one that has the "Type" stored, in the criteria row, put something like {aircraft type}. Save (name something clear like "Results by Aircraft Type") and close the query. Double-click on the query and it should pop up a box with Aircraft Type. Be aware, though, that you have to enter the EXACT MATCH in a box like that to get results. Better to put it on a form that will display all the results when you choose the type from a drop-down box.

You're boss doesn't want to sub-contract this project, by any chance? ;)
Printer Friendly | Permalink |  | Top
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:34 PM
Response to Reply #13
17. At this point, I'd subcontract it out of my own pocket!
OK, am following your instructions- BRB
Printer Friendly | Permalink |  | Top
 
LynzM Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:27 PM
Response to Reply #11
15. One more thing, a recommendation
Edited on Thu Aug-19-04 03:33 PM by LynzM
If you're really going to get into this, I recommend the book

Access 2002 Programming By Example, by Bob Villareal. It's a QUE book, and it's great about taking you through things step-by-step. It's how I learned Access, and then got more into the programming side of things and got more books! Good stuff.

Dude, I have to go, sorry. Hope that was some help, and hopefully someone else will be on soon to help you through it!
Printer Friendly | Permalink |  | Top
 
comsymp Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-19-04 03:53 PM
Response to Original message
18. Well, no luck so far
Edited on Thu Aug-19-04 03:55 PM by comsymp
Tried both of your suggestions and obviously missed something- still no pop-up. Think I'll just go home and drink/cry myself to sleep, then try again tomorrow...

Any additional suggestions would DEFINITELY be appreciated, tho- (preferably in one-syllable words with drawings in crayon)

Thanks for all your help!!!
Printer Friendly | Permalink |  | Top
 
LynzM Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Aug-20-04 10:05 PM
Response to Reply #18
19. Sorry it took me so long to get back to this
PM me if you're serious about subcontracting stuff, or want to get on the phone and try to talk it through, ok? Otherwise, seriously see if you can get a copy of that book, or similar. Most of the 'by example' series are pretty good. Good luck! :)
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Thu Apr 25th 2024, 12:51 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC