Recent content by mbertuol

  1. M

    Subform navigation with listbox

    Hello, I have a subform that displays selected records according to the relationship with the main form. On the subform I have a listbox to navigate through the records (navigation buttons are not visible). To populate the listbox I currently use a OnCurrent event of the subform to query...
  2. M

    Populate subform/table with multiple records

    Pat, Thank you for taking your time. The procedure I use to copy data from the Quote table/form to the Projects table/form is a button with a "OnClick" event. Since not all the projects have quotes, when the user comes up with a new project that has an associated quote he/she fills in the...
  3. M

    Populate subform/table with multiple records

    I have the following tables: tblProjects ProjectsID (Primary key - exclusive) ClientProjects tblProjectsDetails ProjectsDetailsID (Primary key) ClientProjectsDetails (Secondary key) tblQuotes QuotesID (Primary key - exclusive) ClientQuotes Service Rate tblQuotesDetails QuotesDetailsID...
  4. M

    Punch Card

    Hello, I have a similar situation. However I have a table to each employee. The table is like: IO DateIO TimeIO IN 11/10/2004 09:02:00 OUT 11/10/2004 14:01:00 IN 11/10/2004 14:23:00 OUT 11/10/2004 20:27:00 IN 13/10/2004 08:32:00 OUT...
  5. M

    Form question

    The version I posted had the problem with the query name: should be "qMemberStatus". Nevertheless, I get error 3164 with the code the the DB attached. If I remove the line rst!MailingListID = ctlRef.ItemData(i) only the first record is updated, regardless it is selected or not or how many...
  6. M

    Form question

    Update records on same table Pat, I have used your example to set up a functionality that I need to implement. I have added a field "Status" to the tblMailingList and created a new form (frmStatus). I need to update multiple records with a given value. Please take a look at the "frmStatus"...
  7. M

    Multiple record update

    Not working to update same table Thank you for the nice DB example. I have modified in order to suit my needs. I need a particular field to be updated simultanously. However when I click the "update" button, only the first record of the list is updated, regardless which of them are selected...
  8. M

    Edit data in Dynamic Table

    Hello, Does any of you know how to make it possible to edit the fields of a form displayed as a dynamic table? If the form is displayed as a data sheet the records can be edited but when the form is displayed as a dynamic table the records CANNOT be edited. Basically I would like to have the...
  9. M

    Referencing to a Subform within a Form

    No! If the user selects a record on the frmMain I want that same record to be displayed in there. As it is now, subform pops up. It should not.
  10. M

    Referencing to a Subform within a Form

    Dave, Thank you for your help but it it not solve the problem. You understood the form/subform has to display the content of the list. In fact the list shows the result of a given search. The objetive is that when the user clicks over a given record in the list, such record is diplayed entirely...
  11. M

    Referencing to a Subform within a Form

    Dave, Thanks for your reply. I have have not made myself clear in the message with the DB samples. What I want is: 1) use frmMain 2) when I select a record in the list, that record is displayed subfrmTest is displaying correctly... Any hint?
  12. M

    Referencing to a Subform within a Form

    It does not seem to work in the way I need. I am attaching an example. First open 'subfrmTest' and click on any record of the list box. Then open the 'frmMain' and try to do same. Thanks,
  13. M

    Referencing to a Subform within a Form

    Hello, I have the following command in a listbox: Private Sub List15_AfterUpdate() DoCmd.Requery "List15" DoCmd.OpenForm "fmProjects", , , "[ID] = " & Me.List15, , acDialog End Sub I want to use a similar command when the form "fmProjects" is within a tab of another form, such as...
  14. M

    SQL code in VBA - problem in WHERE

    Thank you both for your suggestions. It did work. I have to code in VBA to offer the users different forms to order the listbox. The code I have sent is just one of the several commands. Thank you!
  15. M

    SQL code in VBA - problem in WHERE

    Hello, I need to have a query written in VBA and I am having problems with the WHERE paramater: Private Sub Comando38_Click() Dim strSQL As String, strOrder As String, strWhere As String 'This is the original SQL query 'SELECT Projetos.[Número], Projetos.[Nome], Projetos.Deadline...
Back
Top Bottom