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 Mike Lewis 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: *

  1. phparadis

    Summary field on a report

    I believe the easiest way to approach this is to build a query using the two tables with the link between the primary key in table 1 and the foreign key in table 2. Use this query and the report wizard to generate the report. The report wizard will give you the option to creat a summary line...
  2. phparadis

    Format$ error/help needed

    My experience with this problem came from saving Access2000 files in a Access97 format and then attempting to use it in an Access97 environment. I believe the solution was to add Microsoft DAO 3.6 Object Library rather than the ActiveX Data Objects Library. (This change can be made by clicking...
  3. phparadis

    QBE: Between - And

    Thanks for the feedback. I found Like is the better tool. In the criteria row Like &quot;[T-Z]*&quot; returns all values <b>including</b> those that begin with &quot;T&quot; and &quot;Z&quot; and all others in between.
  4. phparadis

    QBE: Between - And

    I have been attempting to set up a query to search an alpha-numeric column.&nbsp;&nbsp;All values start with alpha values.&nbsp;&nbsp;I want to retrieve a range of values. For example, in the criteria row I entered Between &quot;T*&quot; And &quot;z*&quot;.<br>The values returned do not include...
  5. phparadis

    Function placed in Incorrect Event causes Access to lockup

    Hi, try this:<br> Hold down the Bypass key (the SHIFT key) while you open the database.
  6. phparadis

    How to write data to a table

    If you want to use code.......<br> Create a recordset for the table you want to update (ex rstUpdateRecords)<br> rstUpdateRecords.AddNew<br> rstUpdateRecords(&quot;UserName&quot;) = me!Username!.value<br> remaining fields and values<br> rstUpdateRecords.Update<br> <br> Both AddNew and Update are...
  7. phparadis

    opening different subforms based on a field in the main

    Build a query to populate your subform.<br> One of the fields in the subform should contain the value of the profession.<br> In the criteria line of that field you make reference to the control on the main form containing the profession ID<br>...
  8. phparadis

    Cancel Button

    Put a cancel button on the subform?<br> Or<br> Instead of me.undo use [Forms]![subformname].undo. I have not checked this out but Me provides a way to refer to the specific instance of the class where the code is executing. Me in this case is refering to the main form so try using the actual...
  9. phparadis

    Locking data on a record

    I had a different solution and was about to post when I saw Elizabeth's solution. <br> I added AllowAdditions = false<br> I checked out her idea and it works great. Thanks Elizabeth (even though it wasn't my problem)
  10. phparadis

    Locking data on a record

    Oops........I had some time and I tried to implement my strategy on a working form and have had no luck.<br> Sorry about that<br> The variable is defined in the example code. I missed it. <br> When I placed that line of code in the OnCurrent event I generated a loop, stopped, and I was still...
  11. phparadis

    Locking data on a record

    I am not sure exactly what you mean....but if you are interested in displaying the data to a user on a bound form and prevent them from editing that record where the field &quot;Completed&quot; is true (assuming a logical field) you could use the Form_Current event to change the form property...
  12. phparadis

    Cancel Button

    If the form is bound to the table the data is saved when you close the form, as it is when you navigate to a new record.<br> In your code for the cancel button before the close command write the following:<br> Me.Undo<br> This will revert the fields to their...
  13. phparadis

    expression builder help

    I don't know if this will be of assistance but the 'Help' key in the Expression Builder dialog box is context sensitive and will display any help files availabe for items selected (ie functions, events etc)

Part and Inventory Search

Back
Top