Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pkahlo
  • Content: Threads
  • Order by date
  1. pkahlo

    Record Selectors in VBA

    Is there a way to determine what record selectors someone has selected in VBA? I know you can determine the current record easily enough, but what if someone has selected multiple record selectors on a continuous form? Thanks!
  2. pkahlo

    ADP, Problem saving and closing form when key violation, error 2757

    I am in the process of coverting a jet MDB to an Access Project in SQL. I've noticed some weird behavior in regards to saving data on a form. My forms are closed using a command button that basically does this: If frm.Dirty Then frm.Dirty = False End If DoCmd.Close acForm...
  3. pkahlo

    Problem saving record, closing form when key violation, error 2757

    I am in the process of coverting a jet MDB to an ADP. I've noticed some weird behavior in regards to saving data on a form. My forms are closed using a command button that basically does this: If frm.Dirty Then frm.Dirty = False End If DoCmd.Close acForm, frm.Name This...
  4. pkahlo

    Help Combining Two Queries

    I have two queries that I am trying to combine: Qry1 Month ItemName Quantity 04-01 Item1 10 04-02 Item4 12 Qry2 Month ItemName Quantity 04-01 Item1 75 04-02 Item2 4 04-02 Item3 8 However, this is the best I can get: Combined Query Month ItemName Quantity1 Quantity2 4-01...
  5. pkahlo

    Confusing Aggregate Query

    I need some help formulating a query. Here is the table structure: Package Components PackageComponentID RequestID ProjectID ItemID Quantity Each record in the table will either have a RequestID or a ProjectID, but never both. I want to get the sum of the quantity for each item and separated...
  6. pkahlo

    Selecting newest related record in join

    I'm having trouble creating a query that will select the newest record in a related record. I have a table of items that have related records in the table "StockTake". StockTake contains 3 fields: ItemID StockTakeDate Quantity Basically, I want to select the record in StockTake that...
  7. pkahlo

    Changing defaultview Continous Form to Single Form in Visual Basic

    This doesn't seem like a terribly difficult question to answer if somebody knows the answer, so I'll try to explain better and hopefully I'll get a response this time :-) I'd like to change the view, like "datasheet", "continous form", "single form" from VB. The...
  8. pkahlo

    Programmatically changing a subform's view

    How can I change a subform's view programmatically? I tried changing its defaultview property but it won't let you do that. :-(
  9. pkahlo

    Corrupt database (form maybe?) crashes Acccess

    Okay, Weird crashing problem here. I have a database that after I open it, nothing happens. Access opens and prompts for my username/password (the database is password protected) and that's it; the database window does not come up. The majority of the menu items are greyed out, although I have...
  10. pkahlo

    Inserting Records in Many-to-Many Joins

    I'm trying to insert records into one side of a many-to-many join but I can't exactly figure out how to do this. I know how to add records using INSERT INTO and ADO, but is there a way to get Access to automatically insert the correct data in the "intermediate" table used to make the...
  11. pkahlo

    Bill of Materials Query - Selecting the rightmost column

    I'm trying to use a query to determine all the individual items in a Bill of Materials. I have two tables: Items and ItemAssemblies. Items descibes all the information about each item including items that are parents of items in the same table. ItemAssemblies only includes three fields...
  12. pkahlo

    Displaying newest subrecord of every record

    I'm not sure if this is possible in a query. I have a table of documents and a related table of document revisions. I want to display only the newest revision of every document. Can I do this in a query or do I have to do something in VBA?
  13. pkahlo

    Using Wildcard in ADO

    I'm having trouble getting a SQL statement to work in ADO that works fine in normal Access Queries. It has something to do with the wildcard in a LIKE statement. Do wildcards not work in ADO or do I have to escape it somehow?

Part and Inventory Search

Back
Top