Recent content by Bobp3114

  1. B

    looking to see if there are any records in the table"tblpipeLineInput" with an ID equal to that contained in a textbox "txtStationID"

    Thanks rst.FindFirst "[StationID] = " & Me.txtStationID Thanks..will try that also as i was also trying something like that...this has been bugging me for days...Oh well I'm nearing 85 and still an amateur!
  2. B

    looking to see if there are any records in the table"tblpipeLineInput" with an ID equal to that contained in a textbox "txtStationID"

    My code: Private Sub cboOpportunity_GotFocus() Dim rst As DAO.Recordset 'Get the database and Recordset Set dbs = CurrentDb Set rst = dbs.OpenRecordset("tblPipeLineInput") 'Search for the first matching record rst.FindFirst "[StationID]...
  3. B

    If a queryvfinds no records

    I have a combo box "cboOpportunity", run by a query :qryActivityOpportunity" which simply looks to find records linked to the value of "cboCompany" cboOpportunity is set to Limit to List and is a bound combo I wish to add the phrase "No Opportunity" when the query finds no records
  4. B

    Setting Recordsource when there are two or more forms open

    I am using the following code to set the recordsource of a form depending on which form is used to open it. If CurrentProject.AllForms("frmSalesDashboard").IsLoaded = True Then DoCmd.OpenForm "frmActivitiesEdit", acDesign Forms!frmActivitiesEdit.RecordSource = qryActivitiesEdit...
  5. B

    Date format reverts back to previous format

    Thanks, looks off putting but Hey gets the result wanted
  6. B

    Date format reverts back to previous format

    User picks from the date picker. The format is set for each control, and set in the Tables, The weird thing I am getting now is that the date stored in the text box shows medium date but if edited to a different date via the picker, it reverts to short date momentarily, then changes to the...
  7. B

    Date format reverts back to previous format

    Your advise is sarcastic and not helpful. I do not claim to be a "Programmer" but a learner who finds the forum helpful
  8. B

    Date format reverts back to previous format

    Customer asks for the dates on the forms to be in Medium format instead of short format. I have changed to this in the tables used and on each of the forms controls The tables look as expected When I change the a date on the form it reverts back to the short format?????? What have i missed?
  9. B

    Form on form

    Yes Thanks
  10. B

    Form on form

    Thanks Pat
  11. B

    Form on form

    Thanks, I have done almost exactly this as advised by fellow advisers
  12. B

    Form on form

  13. B

    Form on form

    WOW! At a loss as to how to answer everybody but here goes. Ken, Pat helpful as usual. bbfromgb thanks, I have visited that article and will study it. Appears that my statement was not sufficient for some, so I am attaching an image. I am at a loss as to how I have subforms on a form that is...
  14. B

    Form on form

Back
Top Bottom