Search results

  1. Valery

    Combo Box with limited values

    Wow - very detailed information - thank you so much for that! Totally appreciate the effort. It works and was easy to follow and implement! I need to know... because I can really use this elsewhere as well. How does this work? Is this like a query that only exists in an event procedure...
  2. Valery

    Combo Box with limited values

    How should those two tables tblunit and tbltenant related? Is it tenantID = UnitNum? NO They are not joined per say. tblOccupancy is joined to tblTenant and the UnitNum should be taken from tblOccupancy. Make sense? Can you still assist me? Thank you.
  3. Valery

    Combo Box with limited values

    Here is a reduced sample of the database. You should open the frmUnitUpd first to see... The combo box is the one in the subform frmUnitUpd_Deposit and is called TransactionTo. Ideally, I would like it to show UC ([LastName] &" " & [FirstName] but insert and record the TenantID. I did not...
  4. Valery

    Combo Box with limited values

    Very sorry. Yes, I did open/close... Guess would be better to provide a sample. Thank you!
  5. Valery

    Combo Box with limited values

    Tried the first codes suggested, in OnEnter - getting nothing, still blank with no error message. The field UnitNum is a number field + a primary key. It is on the Main Form. It comes from tblOccupancy. Tried the second suggestion - same results.
  6. Valery

    Combo Box with limited values

    Thank Boerbende. I added these codes hopefully as per your instructions. Private Sub cboTransactionTo_Click() Me.RecordSource = " select [LastName] from tblTenant where UnitNum = " & Me.Parent!UnitNum End Sub It didn't do anything - was still seeing the entire list of tenants. So removed...
  7. Valery

    Combo Box with limited values

    Hi everyone! I have a form called – UnitUpd. It has two subforms – let’s say A and B I open the form to a specific Unit, let's say Unit 1. Subform A – lists the tenant living in that Unit with contact info, etc. Subform B – among other things, has a combo box where the user selects the...
  8. Valery

    Opening/viewing reports from a combo box

    Got you! You are right, it doesn't answer all my questions but I will experiment with it. I will then keep the PositionRptFooter module. Again, thank you!
  9. Valery

    Test existing data before form Exit

    This is terrific! Works perfectly. Thank you so much. Did you also see my questions regarding the report that you helped me with? The group footer thing...
  10. Valery

    Test existing data before form Exit

    Hi everyone! I have a continuous subform where users will enter tenant's names along with their Status. The status is selected through a limit-to-list combo box offering a choice of M, O or F. I need to ensure that ONE of the tenants has the status F and no other tenants have it. Other...
  11. Valery

    Opening/viewing reports from a combo box

    Answers to the above questions, anyone? Thank you!
  12. Valery

    Opening/viewing reports from a combo box

    Wow! Thank you Arnel. Works great. I just have some questions. Please keep in mind I am sort of a newbie... The function is causing the problem. it is making many pass to the report ensuring that it will fit in 8.5 paper. Ok that I understand. before i made the changes i copy your...
  13. Valery

    Opening/viewing reports from a combo box

    No the problem was not that is was in there twice as I tested it after I removed the extra one, in there by mistake. I will open Arnel's file - thank you!
  14. Valery

    Opening/viewing reports from a combo box

    Oups! The codes should not be there twice. Just for the Page Footer. Deleted the other (thank you). However, I does need to be there - it forces the footer to be at 8.5. Is that a problem?
  15. Valery

    Opening/viewing reports from a combo box

    Here is the sample. The form to open is frmUnitUpd. There is only one report. Don't know that this is relevant to this issue but the report only views properly in Print Preview, not Report View. It will still show up in Report View but the page break is ignored. Thank you Gina for all your...
  16. Valery

    Opening/viewing reports from a combo box

    So am I. Will provide a copy of the DB. THANk YOU
  17. Valery

    Opening/viewing reports from a combo box

    On the Main form
  18. Valery

    Opening/viewing reports from a combo box

    Yes, it is a Main Form, Sub Form scenario. But the UnitNum field is in the Main form.
  19. Valery

    Opening/viewing reports from a combo box

    I don't see where you have a Control on the Form showing the UnitNum, I only see it in the JOIN. Unless are you pulling it from tblOccupancy? Yes, as I said, both the Report and the Form pull the UnitNum field from the tblOccupancy. Ans if you are please confirm that the name of the Control on...
  20. Valery

    Opening/viewing reports from a combo box

    Report SQL SELECT tblOccupancy.UnitNum, tblTenant.* FROM tblTenant INNER JOIN tblOccupancy ON tblTenant.TenantID = tblOccupancy.TenantID; Form SQL SELECT tblOccupancy.*, tblUnit.UnitType, tblTenant.FirstName, tblTenant.LastName, tblTenant.Gender, tblTenant.DOB, tblTenant.Status...
Back
Top Bottom