Search results

  1. halem2

    Running Queries with code

    Hi All: long time no ask! Running MS Access 2003. I'm trying to run a couple of queries using code and it works fine but when it runs you can actually see the query window open and close really fast. How can I run it without showing the query window? This is my simple code...
  2. halem2

    field from another form

    Hi All: running MS Access 2003. I have two forms: a login form and form B. The login form has two fields: User and Password. When the user logs in, I hide the login form and open another form. How can I refer to the login name on the login form from another form? In other words, I need...
  3. halem2

    Report Table of Content

    Hi All: long time no thread! Running Access 2003. I have a report with group headings that starts each group on a new page and pages are numbered. How can I create a table of contents showing group heading and page number for each group? thanks!
  4. halem2

    Empty Field - but NOT really

    Hello World: I have two tables, one called Assets and the other table called Job Sites. the Assets table has several fields AssetID - autonumber plus others the Job Sites table has two fields JobSiteID - autonumber JobSite - text (with about 22 names in it) the I add the JobSite to the...
  5. halem2

    Tab control Pages

    Hi All: I have tab controlled form as a sub form in another form. Is it possible to create a radio button list on the form so when I click on one it changes the tab control subform to that page? Any ideas, hints, comments, remarks or observations are welcome. :D
  6. halem2

    Argument not Optional - Error

    Hi All I'm getting an "Argument not optional" error on this piece of code. The qry itself is a make table qry and I need to bypass the prompts. Any ideas why? thanks DoCmd.SetWarnings = False DoCmd.OpenQuery "qryJobInfoMkTblSpectrum", acNormal, acEdit DoCmd.Close acQuery...
  7. halem2

    Does not start with a letter

    Hi All: given a table with, let's say, Job Numbers that start with a letter (such as RES2345) or just plain numbers (such as 253180001 or 9817) how can I set the criteria in the query to just give me jobs that start with a number? I first trimmed the field to eliminate blank characters and...
  8. halem2

    Sample form

    Hi All: I downloaded the sample.mdb that itasev posted on the Sample Databases and I'm having problems implementing it on my db. I have looked at the properties of the labels and the images and the vb code but I can't make it work outside of his form. I can't even add new menu items that...
  9. halem2

    Bypass key issue

    Hi: I'm trying to implement the security found @ http://www.databasedev.co.uk/disable_shift_bypass.html but it does not work. The SAD part is that I implemented it on a 2000 db with ULS and it works like a charm! I've tried to replicate it on other db's but it does not work. Any ideas? The...
  10. halem2

    Double Prompt on Export to FIle

    Double Prompt on Export to File Hi All: Using Access 2003. I have a simple macro to export the contents of a form to Excel. It works but I am prompted twice to enter the file name. This is how the macro looks like: Action: OutputTo Object Type: Form Object Name: frmInventoryReport...
  11. halem2

    DISTINCT does not allow New Records

    Hi All: Using Access 203. I have a form and a subform tied up by the PurchseOrder field. The subform shows the items included in the PO but for any PO with more than ONE item, it shows the record as time times as there are item in the PO. In other words, if I have one PO with 1 item, it...
  12. halem2

    Applying filter

    Hi All: running Access 2003. I have a form called Orders and a subform in it called Order Details. In the Order Details subform there is a yes\no field for Received items. THE FILTER DOES NOT WORK. IT'S LIKE IS NOT EVEN THERE. I have an unbound box and in the "On Change" Event I have the...
  13. halem2

    Hide - Unhide Hyperlink

    Hi folks: running Access 2003. I'm trying to accomplish the following: make a hyperlink visible if a control in the form equals to a specific value (5559). I have several records and I cycle through them using the built in Record Selector buttons. This is how I'm attempting to do it...
  14. halem2

    If then Or Case

    Hi folks: long time to no post! Using Access 2003. I have a form with 28 cmd buttons running each a different query. Each qry gives only one result (Top N of 1). I'm thinking of writting an if statement that would pass the qry result to a text box on the form regardless of which cmd button...
  15. halem2

    AutoExec but using VBA

    Hi All: using Access 2000/2003. I had a db in 2000 running a make table qry using the Autoexec. I had the Options set to not prompt for anything and it worked fine. I just converted to 2003 and even though the Options still show nothing selected (meaning it won't prompt), it does prompt me...
  16. halem2

    Which FOrms Are Using Query?

    Hi All: is there a way or a tool out there that would tell me which forms are using a given query, short of opening each one? thanks :rolleyes:
  17. halem2

    Return Criteria or Return all

    Hi: Using MS Access 2000. Maybe I've been looking at the monitor for too long but... I need to have a query return data based on a date field or return all dates greater than 1/1/2001 if left blank. criteria: [Enter date - mm/dd] Or >#1/1/2001# When I leave it blank it gives me all dates...
  18. halem2

    Adding field in a continuos form

    Hi All: Running Access 2000. I searched the post but could not find anything that would help me. I have a continuous form and I need to show a total at the bottom of the page as the new records are added. I used the =Sum([field.name.here]) but it errors out. It works great on the reports...
  19. halem2

    Select All text

    hello World! Running Access 2000. I have a form with one text box in it. How can I select all the text in the txt box when the form opens and when I move to next record? thanks you
  20. halem2

    After Update Event

    Good morning you all Access Elders: running Access 2000. I have a form with the following code (I found somewhere in the forum and modified it to fit my needs) in the BeforeUpdate event of a form On Error GoTo Err If Me.VeroDivisions_ID = "" Or IsNull(Me.VeroDivisions_ID) = True Then...
Top Bottom