Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ffleitas
  • Content: Threads
  • Order by date
  1. ffleitas

    How to hide a checkbox and name field if it is empty in a report?

    Hello programmers, I have this code in the detail section of the report. The problem is that all the checkboxes are not visible eventhough they have check marks. What can I change to make the checkboxes that are checked to be visible and of course the not checked not visible? Private Sub...
  2. ffleitas

    VB Drop Down Box

    Hello programmers, I have this code on a drop down box in a form. It works well if the numbers are greater or equal to 100. If I select for example a number 28 it brings up 128. Please take a look and let me know where I have gone wrong. Thanks for your assistance. Dim rs As DAO.Recordset...
  3. ffleitas

    VB field value transfer?

    Hello, How can I get the propertyid to equal 1 & 2 & 3 if the propertyid selected from the form = 12? I have the code below placed in the form which is transfered over to the report. On Error GoTo Err_Preview_Click Dim strWhereProperty As String strWhereProperty =...
  4. ffleitas

    After update in VB for a form assistance

    Hello programmers, I entered this code below in the after update of a drop down box in a form. The string strFilter works well after the selection is made but the strFilterTwo doesn't unless you select it again from the drop down box and then it does the update. Any insights? Private Sub...
  5. ffleitas

    How to duplicate report that is on the upper half to lower half of pag

    Hello programmers, How would I go about a report that is half the size of an 8 1/2 x 11 laser printer sheet print the same information that is on the upper half to the lower half of the same sheet in order to save paper and print on the upper half page one and the lower half page two? Thank...
  6. ffleitas

    Code check for every month?

    Hello programmers, I have this code in Visual Basic and I would like for it to check for the first of every month rather than current month. How can I change this code to correspond with my request? <= DateSerial(Year(Date()), Month(Date()), 1) Thanks, Felix
  7. ffleitas

    How to run a module from a macro?

    Hello programmers, I have a module called mdlQuantity. And I would like to run the module from a macro. The only option I see in the macro action is OpenModule. How can I get this module to execute from the Macro? Sincerely, Felix
  8. ffleitas

    Problem with .SetFocus on an Option Group?

    Hello programmers, I am trying to set the setfocus command to an option box. The error I get is: Run-Time error '438': Object doesn't support this property or method This is what I have in code: If IsNull(Forms!frmMembersEdit!RepresentativeID) Then Me!Cleared = No...
  9. ffleitas

    Help with .enabled = False

    Hello programmers, On open I have a form activate this procedure: Private Sub Form_Open(Cancel As Integer) If Me!CommNumber = 1 Then Me!Cleared.Enabled = False Else End If End Sub The problem I am having is that the all the rows which all have the field [cleared]...
  10. ffleitas

    Problems with dbOpenSnapshot

    Hello programmers, I am having a terrible time with trying to use the dbOpenSnapshot. Here is a code and please feel free to correct the many mistakes I made: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Set rs = Me.Recordset Dim i As Integer Dim j...
  11. ffleitas

    Event procedure on format error?

    Hello programmers, When I request a report to print I get an error with this code. I have this activate in the detail section with the event procedure on format. I am sure this occurs because there is no data to be displayed. How can I stop this code from running if the data is null? Sample of...
  12. ffleitas

    How to delete .addnew code if user unchecks field?

    Hello programmers, I have a subform with the option to check off a yes/no field that when a user checks off the yes/no to equal yes it performs this operation: Set db = CurrentDb Set rs = db.OpenRecordset(&quot;tblCommissionsPaidSub&quot;, dbOpenDynaset) If Me!Cleared =...
  13. ffleitas

    How do I check field is not empty on Tab Control Page?

    Hello programmers, I have a tab control page form and when I click on another tab page ex. page2 I would like to be able to check if a field on page1 is not null before activating page2 entry mode. How can I perform this function? Thank you, Felix
  14. ffleitas

    Do loop that never stops?

    Hello programmers, I have this code in a subform that is supposed to execute and stop at the end of subform data. This is the code: Dim db As DAO.Database Dim rs As DAO.Recordset Dim i As Integer Dim j As Integer Dim stDocName As String stDocName =...
  15. ffleitas

    How to enter Dates from beginning, Mid, and End of Month?

    Hello programmers, I have this code in VB: .Fields(&quot;PaymentsDate&quot;) = Me!DateOfPlan + i .Fields(&quot;PaymentsDate&quot;) = Me!DateOfPlan + i etc. I would like to correct this code with the current month beginning, next month beginning, mid, and end of month dates. Sincerely, Felix...
  16. ffleitas

    Unable to transfer multiple data from subform.

    Hello programmers, I have a form that when it exits it runs this code: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Dim i As Integer Dim j As Integer Dim stDocName As String stDocName = &quot;qryPickupSubPlusQnty&quot; Set db =...
  17. ffleitas

    Problem with subform data?

    Hello programmers, I have a form that when it exits it runs this code: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Dim i As Integer Dim j As Integer Dim stDocName As String stDocName = &quot;qryPickupSubPlusQnty&quot; Set db =...
  18. ffleitas

    How to create data from subform to table?

    Hello programmers, I have a form that when it exits it runs this code: Private Sub Form_Close() Dim db As DAO.Database Dim rs As DAO.Recordset Dim i As Integer Dim j As Integer Dim stDocName As String stDocName = &quot;qryPickupSubPlusQnty&quot; Set db =...
  19. ffleitas

    Disabling an option from a frame if a field is equal to a criteria.

    Hello programmers, I have a frame (option group) inside a form with options Monday - Sunday. How would I disable the user from being able to select for example the option Monday if a field on the form equals a certain criteria? Thanks,
  20. ffleitas

    Problem with Day of week for Date in Function.

    Hello programmers, If I place this in a VB function: [Date2] = Date - Weekday(Date) + 2 field [Date2] being today's date of Monday 07/21/03 would it equal Date - Weekday(Date) +2? If not what would be the correct formula for them to equal? I am trying to get a condition to run if true ex. If...

Part and Inventory Search

Back
Top