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 strongm 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. albywalt

    Recordset is not updateable

    Try changing the Recordset Type property of the form to "Dynaset (Inconsistent Updates)" Jeff
  2. albywalt

    OUT OF MEMORY - Message Error

    I had the same problem and fixed it by increasing the virtual memory on my computer. It's accessible via System on the Control Panel. Jeff
  3. albywalt

    Looping Through a Forms Controls Collection

    The error occurs because you're trying to set a control to a text string. Replace the line causing the error with this: Set ctlLabelName = frm("lbl" & ctl.NAME) Jeff
  4. albywalt

    Displaying Multiple Fields from Multiple records in one text box

    The easiest way is probably to create a subform which contains a text box displaying the price. Just create a form with one text box, set the control source equal to the Price field, and add this as a subform to your main form, linking on the ID field. Or, you could use a list box. The...
  5. albywalt

    How to output Check Boxes in a Rich Text Format report

    If you don't want to go with a snapshot format, you could use a text box in your report that displays Y or N or anything else you want to use. Use an IIf statement in the Control Source of the text box: =IIf([YesNoFieldName],"Y","N") Jeff
  6. albywalt

    pass-through query /bound forms

    You could probably dump the records into a temp table, open the form based on the table, and then use event procedures as you have said to update the database. I would think the performance using linked tables would have to be extremely poor for you to go through all this trouble. Jeff
  7. albywalt

    Expression builder telling me I made something too complex.

    What is the structure of the field and what part are you trying to extract? You could probably write a function to get what you want in one query. Jeff
  8. albywalt

    Calculating Dates

    You don't have to do this with code. The following can be used in a query or a calculated control. It essentially adds 3 weeks to the current date and then subtracts the number of days since Friday. Of course, you can write a function that does this; it's not much different than MichaelRed's...
  9. albywalt

    Need help using Between...And Operator

    I just realized my dates are different than yours, but you get the idea. Jeff
  10. albywalt

    Need help using Between...And Operator

    Changing your criteria to Between #12/31/00# And #1/1/01 11:59:59 PM# should work. Jeff
  11. albywalt

    Need help with VBA

    I found Smith and Sussman's "Beginning Access 97 VBA Programming", published by Wrox, to be helpful. I think they have a new version for Access 2000. Jeff
  12. albywalt

    It's not a matter of life or death, but....

    I'm not sure what you mean by overlaying a mask, but you can implement an input mask on a text box so that users can only enter data with a specific format, usually used for dates, phone numbers, etc. You can find it under the Data tab of the Input Box properties, and you can create custom input...
  13. albywalt

    How do I limit the records this duplicate rpt returns?

    How does this work for you: Create a new query and add your table to the design view twice. Join on all fields that you want to match on. Let's say you have Table1 and Table1_1 (this is an alias for Table1). You'll need a field such as Expr1: Format([Table1]![DateStamp],"mmyyyy") with...
  14. albywalt

    SOMETHING SIMILAR TO A MINUS SQL STATEMENT??

    What you want to do is use the same design structure as the "Find Unmatched Query Wizard", but extend it to the additional fields you want to check for. Look at the design of the query that the wizard gives you. It uses a left join that gives you "ALL records from 'table A' and...
  15. albywalt

    SOMETHING SIMILAR TO A MINUS SQL STATEMENT??

    Terry has the right idea, but the easiest way to do this is to use the Find Unmatched Query Wizard. Jeff
  16. albywalt

    combobox problem

    Set the Limit To List property of the combo box to Yes. You can find it on the Data tab. Jeff
  17. albywalt

    Date Question, Return Last Friday of any given year

    DateValue("12/31/" & [Year])-Weekday(DateValue("12/31/" & [Year]),6)+1
  18. albywalt

    Reporting Options

    Set the Page Header property of the report to "Not with Rpt Hdr"
  19. albywalt

    moving the activecell relative to the current one in excel VBA?

    You can use the offset property in an Excel macro: ActiveCell.Offset(rows, columns).Select for example: ActiveCell.Offset(1, 1).Select moves down 1 row and over 1 column
  20. albywalt

    Report Sorting and Grouping Issue

    You could add a field to your query of the person's maximum payment due. Then in your report sort by max payment due, then by person.

Part and Inventory Search

Back
Top