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 SkipVought 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: cP6uH
  • Order by date
  1. cP6uH

    Caption of Command Buttons in Option Group

    Thanks a lot Rolliee, with your help I produced a code that works. Here's the code if anyone ever needs to do something like this. Dim i As Integer For i = 0 To Me.Controls.Count - 1 If Me.Controls(i).Name = "Frame Name" Then Exit For Next MsgBox Me.Controls(Me.[Frame...
  2. cP6uH

    Caption of Command Buttons in Option Group

    How do I find out what is the number of the selected control ?
  3. cP6uH

    Caption of Command Buttons in Option Group

    Hi, Is there a way to get a caption of pressed command button in an option group. So what I have is Option Group with let's say 4 options, and they're all command buttons. So, when user selects one, and clicks some other button to run some code, I'd like to get the caption of the option...
  4. cP6uH

    Prompt all users logged in the DB with a message

    Is there a way in Access XP database that is on the network, to prompt all the users that are logged in with the message by clicking on the button on a form ? Thanks, Dragan
  5. cP6uH

    code to open a report

    Sorry for not reponding yesterday, but here I am today, so try this: DoCmd.OpenReport stDocName, acPreview, , "(arepsec = '" & Me.List7 & "') And (submit1 = 'X' )" Hope it helps.
  6. cP6uH

    Is there an onAllDone Event ?

    I have a form and 2 subforms in that form in access. Subforms are connected to the parent form, so their data changes when data in the parent form goes to the next record. Is there a way to run some code to check the numbers in those 2 subforms after they're done updating ? Data in the parent...
  7. cP6uH

    code to open a report

    Try this DoCmd.OpenReport stDocName, acPreview, , "(arepsec = '" & Me.List7 & "') And (submit1 = X )"
  8. cP6uH

    Date filter problem in Access 2002

    PauloRico, you are right, that is the problem. I changed some records to see if that is the case, and it was. I changed one record to December 6th, and it didn't show up until i picked June 12th. So, how do I correct this ?
  9. cP6uH

    Date filter problem in Access 2002

    I have a report, and when I click a button for report preview, follwing code is executed: sCriteria = ([Date of First Issue] <= #&quot; & [Forms]![DirectivesForm].[cboLastDate] & &quot;#&quot; stDocName = &quot;Report&quot; DoCmd.OpenReport stDocName, acViewPreview, , sCriteria...
  10. cP6uH

    Move texbox or label in Access report

    Ok, stupid me again. Me.ReportHeader.Height works fine.... I was missing &quot;ReportHeader&quot;.
  11. cP6uH

    Move texbox or label in Access report

    Well it's me again... I have one more problem now.. I want to modify height of the ReportHeader, and I get the error message that says &quot;This property is read-only and can't be set.&quot;. This is the code i'm using : Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As...
  12. cP6uH

    Move texbox or label in Access report

    I'm so stupid .... After reading your reply I've realized that I've put the code into OnPrint event, and that's why it wouldn't allow me to modify control's Top property. It works fine now that it's in OnFormat event. Thanks for your help. Dragan
  13. cP6uH

    Move texbox or label in Access report

    Is there a way to move any object, like texbox, label, checkbox through code when you run a report ? I tried .top property and .move, and they both didn't work. Is there some other way of doing it ?? Thanks. Dragan
  14. cP6uH

    Capture the year of a date

    past1 = Format(date_received, &quot;yyyy&quot;) that will take out year out of the date_received and put it in past1 variable. Dragan
  15. cP6uH

    Select not empty fields to show in report on Report open

    I have a report that has a query with around 30 fileds. I need to check 15 of those 30 fields to see if they're empty, and if they're not I want to put them in the string, and print them on the report. I know I can do it if i go field by field, and check if it's empty, and if it's not, add it...
  16. cP6uH

    SQL Criteria from VBA

    Sorry guys... The code that I've put up works fine... In my original code I had a spelling and that's why it was looking for that Parameter value.... because the field didn't exist in the query. Sorry once again.
  17. cP6uH

    SQL Criteria from VBA

    Hi, I have a little problem. If I do following code in VBA, and try to run a report, it works fine, and it filters all the records for the name Jason. sCriteria = &quot;[Name]= 'Jason'&quot; stDocName = &quot;Query&quot; DoCmd.OpenReport stDocName, acViewPreview, , sCriteria, acWindowNormal...

Part and Inventory Search

Back
Top