Recent content by schu7044

  1. S

    Help! My 1st Ribbon

    Avelino: your video's are spoken in English, but the database is not. Is this just an example?
  2. S

    Help! My 1st Ribbon

    I changed the function to a sub, and get the same message. I will attempt to attach the DB to this post. Thank you so much for your help.
  3. S

    Help! My 1st Ribbon

    I am attempting my 1st Ribbon. I have the USysRibbons table set up and I’m using the following XML: <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon startFromScratch="false"> <tabs> <tab id="tabEntryForm" label="Entry Form Options">...
  4. S

    Help! Order by (SQL)

    I am attempting to sue an SQL statement to filter a query. I am using this statement: strSQL = "SELECT * FROM qryGroup WHERE Left([TxGroup],3) = " & strGroup & " AND ActiveInGroup = True" & ORDER BY [SSAN]; Everything works until I try to use the "Order By" criteria (this is where I get a...
  5. S

    Setting Label in Report

    Hi All: I am working on a report using VBA. I am able to open and filter it (finally). Now I am looking at adding some bells and whistles. I would like to have the label in the form header display the name of the group which is contained in a variable strGroup. I have tried several different...
  6. S

    Open Report & Set Recordsource

    I copied it right off your post. Don
  7. S

    Open Report & Set Recordsource

    Thank you Bob. It does simplify things to do it this way. However, I received a syntax error: missing operator Don
  8. S

    Open Report & Set Recordsource

    Hi All: I am attempting to open a report in Access and set the recordsource using VBA. Here is the code I am using: Reports!rptGroupNoShow.Report.RecordSource _ = "SELECT * FROM qryGroup WHERE Left([TxGroup],3) = " & strGroup & " AND CIANoShow = True " _ & " AND ActiveInGroup =...
  9. S

    Set Recordset Using SQL

    Okay, it didn’t take me long to get stuck. Here is the code to set the RecordsetClone—which works: With Forms!frmGroupMain.frmGroupSub.Form.RecordsetClone I am receiving a “variable not defined” error on line 3 below. 1. Do Until .EOF 2. 'Date the Appointment was Missed 3. If...
  10. S

    Set Recordset Using SQL

    Thank you! This worked beautifully! I will move to the next phase and let you know when I'm stuck again. Don
  11. S

    Set Recordset Using SQL

    Hi Everyone, I am using a form and subform for user input. I have set the recordsource for the subform using VBA. This recordsource is based on user input entered via a combobox. The following code works very nicely to set the recordsource: Forms!frmGroupMain.frmGroupSub.Form.RecordSource =...
  12. S

    Distinguish between ‘Active’ and ‘Inactive’ Records

    I am using a form and subform for user input. I have set the recordsource for the subform using VBA. This recordsource is based on user input entered via a combobox. The following code works very nicely to set the recordsource: Forms!frmCiaGroups1.frmCiaGroupsSub.Form.RecordSource = "SELECT *...
  13. S

    Set Recordsource for a Subform using VBA

    Yes!! Thank you! Sorry about not identifing the error line, but you nailed it. Thanks again, Don
  14. S

    Set Recordsource for a Subform using VBA

    Hi: I am new to this forum. I hope someone can help me out. I am attempting to set the recordsource for a subform using VBA. I am receiving the following error: Compile error: Syntax error I am using the following code: ' Ensure a group has been selected If...
Back
Top Bottom