Recent content by davidbodhi

  1. D

    Refresh controls populated from combo box

    Thanks, Banana.... I've apparently resolved my problem through a combination of using a query and blasting past a blind spot in my mind regarding correct syntax to use in a Control Source. If I don't come whining back, then I'm squared away.
  2. D

    Refresh controls populated from combo box

    Thanks, Banana.... Like many rank novices, I've leapt over the most basic things, done some stuff that works, but find myself at a loss over the simplest things. I can create a query that pulls the data I want and make it the RecordSource for my form. This query, built with the wizard, is not...
  3. D

    Refresh controls populated from combo box

    OK, I am getting hints... So far, creating a query using the wizard, I can either leave it a SELECT and make it the RecordSource, or make it Updatable and it won't let me make it the RecordSource. I gather that mostly means I need to know more of what I'm doing. Pat, a lot of the controls on...
  4. D

    Refresh controls populated from combo box

    OK... and the fact that I'm using a query for this won't impact the addition of new records, then? Seems to me I've read a number of comments on the forum about using queries so data in tables doesn't get inadvertently altered.
  5. D

    Clueless about calling function

    LOL OMFG!!! All I can say is, Duhhh......
  6. D

    Refresh controls populated from combo box

    Pat - Can you clarify? Do you mean use a query for the combo box that joins the two tables, or in the Control Source of the text boxes? If the former, I think that's what I'm doing. Maybe I'm just not doing 'enough'... If the latter, would that look at the selected name in the combo box and...
  7. D

    Clueless about calling function

    I have a simple database application where the programmer has the same code in two locations to do the same thing, depending which event happens. I'd like to turn that code into a function and call it instead, so it's only present one time. The two instances start: Private Sub...
  8. D

    Refresh controls populated from combo box

    RV - Yes, the combo is a bound control, but the four others are not, since the information's coming from a different table than my record source. AfterUpdate of the combo just places it in the form. Quicksilver's answer sounds like it should work. Quick, this happens either when I scroll to...
  9. D

    Using AfterUpdate to populate text box from combo value?

    NikToo I've just done basically the same thing. Have your combo box based on a query that pulls the drug name, it's unique ID (autonumber, probly) and the cost. Bind the combo to the ID column (remembering that Access, in this instance, numbers the 1st column zero, not one). Make the ID column...
  10. D

    Refresh controls populated from combo box

    I have a form where the user selects a client from a combo box. Doing so populates 4 controls with info about the client, using the Exit function of the cbo box. The Record Source of the form in question does not store this info; it comes from a different table. This works fine. When the...
  11. D

    Date to default to January 1

    I have a little application that includes information about insurance deductables. Deductables revert to their maximum on a date set by the insurance company, but that is USUALLY January 1. So, for the control on the form where a new patient is set up, I have a date field where that "revert"...
  12. D

    Query lists repeat data

    Thanks, Pat....... another of the millions of pieces of information I didn't have has been put in place. I'll start looking into subreports.
  13. D

    Query lists repeat data

    Hi, all... welcome back to the new Access World Forums... glad we're still operational, even if some data was lost. It's the minds, anyway, not the data... I have a query that pulls from 3 transaction tables. tblTransactions - lists purchaser, amt tendered, other details tblPurchased_Items -...
  14. D

    Value reset on January 1

    You're right, Scott, about DSUM needing to be applied only to a field or column. I'd misread the help screen. It says you can *include* a control on a form in <expr>. I'd misread that to mean it can refer to a control. I know I need criteria for what I'm trying to do. I meant, in attempting...
  15. D

    Value reset on January 1

    Thanks, Scott - I've tried your suggestion and am getting the #Name? error, so it looks like the way I'm referring to my controls is wrong. According to the Access help files, DSUM's "[expression]" can refer to a field in a table or a control on a form, while "domain" can only refer to a...
Back
Top Bottom