User Profile

Collapse

Profile Sidebar

Collapse
pwag
pwag
Last Activity: Jul 14 '15, 12:44 AM
Joined: Feb 14 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pwag
    started a topic Find Gap In Data Column

    Find Gap In Data Column

    Good Afternoon Everyone,

    Here is a dataset. I am trying to locate missing sequential values in the Number column. What I'm trying to query is "978G" for ID ,"2" for Number. Anyone think of a good way of doing this ?

    ID Number
    623F 1
    623F 2
    623F 3
    978G 1
    978G 3

    Thanks
    See more | Go to post

  • pwag
    replied to Call Value from SubForm with On Click Event
    Thanks jforbes. that seems to have worked. i took out the loop and it works like i want it to now.

    This is what worked.
    Code:
    Dim MyValue As String
    MyValue = Nz(Forms![Project]!Plan_T_Update.Form.ID, 0)
    MsgBox MyValue
    See more | Go to post
    Last edited by NeoPa; Sep 8 '14, 07:35 PM. Reason: Merged posts which were posted separately for reasons unknown.

    Leave a comment:


  • pwag
    replied to Call Value from SubForm with On Click Event
    Hi and Thanks jforbes. What I'm trying to do is mimic the behavior of a list box. When you click on a listbox it gives you the idea value based on the bound column OR Listbox.column( 0). I'm trying to get the ID value. Thanks.
    See more | Go to post

    Leave a comment:


  • pwag
    started a topic Call Value from SubForm with On Click Event

    Call Value from SubForm with On Click Event

    Good Morning Pro's,

    My first time trying to loop through a Subform to grab a value. I would like to call the ID value in the row I click. My first time trying this as I usually use the Listboxes click event to call a value. is this possible on a subform? to click a row and call it's ID value already present in the row?

    What I have thusfar but it only loops through all the rows and returns all values for ID. Anyway...
    See more | Go to post
    Last edited by zmbd; Sep 8 '14, 03:37 PM. Reason: [z{merged detail to OP}]

  • pwag
    started a topic RODBC - LIKE Operator From R to SQL Server

    RODBC - LIKE Operator From R to SQL Server

    Good Afternoon Pro's,

    I would have submitted this question in the R group but didn't see one.

    I am trying to connect to SQL Server from R with the RODBC Package. In my SQLQuery line I'd like to user a LIKE operator but SQL Server doesn't recognize my syntax. How is the LIKE operator written in R when connecting to SQL Server?

    Thanks,

    Here is the script.

    Code:
    dataset
    ...
    See more | Go to post

  • pwag
    started a topic Docmd.SendObject acSendReport with Report Parameter

    Docmd.SendObject acSendReport with Report Parameter

    Good Afternoon,

    Is there a way to add an additional parameter to the SendObject method of the acSendReport parameter? Kind of like the DoCmd.OpenRepor t object you can specify a Report parameter when it opens.

    Could look something like this...

    Code:
    DoCmd.SendObject acSendReport, _
            "Report Name" & Parameter, _
            acFormatPDF, _
            .Fields(0), , , _
    ...
    See more | Go to post

  • pwag
    replied to Lettering Bullets in MS Access Reports
    twinnyfo,

    That's great as well. In this case it's sub-data so I'm hoping 52 items would be enough. Great contribution.
    See more | Go to post

    Leave a comment:


  • pwag
    started a topic Send Excel Column to .csv file

    Send Excel Column to .csv file

    Good Afternoon Pro's,

    I have an excel file with a column of data that looks like this. Iterated over a thousand times.

    01/01/2009 5 Male Height Weight
    11/15/2001 6 Male Height Weight
    08/22/1997 7 Male Height Weight
    03/04/1987 8 Male Height Weight

    With each space being a single space. What would be relatively simple way to read this out to a .csv?

    Thanks,
    P
    See more | Go to post

  • pwag
    replied to Lettering Bullets in MS Access Reports
    Jim,

    That nailed it. =Chr([BulletNumber]+64)

    Thanks!
    P
    See more | Go to post

    Leave a comment:


  • pwag
    started a topic Lettering Bullets in MS Access Reports

    Lettering Bullets in MS Access Reports

    Good Morning Pro's,

    I'm in search of a solution in MS Access Reports. I'm aware of the Number bullets trick where you set control source of text box =1 and Running Sum(over the group). I was curious if someone had a "relatively " straightforward solution for Lettering over a group instead of numbers. Kind of like MS Word does. So final appearance would look kind of like this.

    A.
    B.
    C.
    ...
    See more | Go to post

  • Hi Zmbd,

    Wow. Great resource. Thanks for sharing those links!

    P
    See more | Go to post

    Leave a comment:


  • Thanks Jim. I have tried this and it appears this will also require a New Group in Outlook to be created along with giving all users of that group "authority" to execute outgoing mail on behalf of? Getting deeper.....
    See more | Go to post

    Leave a comment:


  • Change "From:" Field with Automated Email From Access with Outlook

    Good Afternoon,

    I have found a Function to automate Emails from Outlook through Access. I was curious if there was a way to change the sender information when sending the email, specifically just name field? My code only delivers the originators information, rightfully so, since the mail was sent from that senders desktop. Is there a way to declare a sender NAME prior to sending the email?

    So, in the recipients Outlook...
    See more | Go to post

  • pwag
    replied to VBA SQL - Filter Group By Over entire Group
    Hi NeoPa,

    Thanks! Exactly what I needed. I used this(a variation of your example):
    Code:
    HAVING (Count(ColumnA))=(SELECT Count(ColumnA) FROM Table WHERE ID = ID);
    See more | Go to post
    Last edited by NeoPa; Apr 3 '14, 11:15 PM. Reason: Trimmed some space

    Leave a comment:


  • pwag
    started a topic VBA SQL - Filter Group By Over entire Group

    VBA SQL - Filter Group By Over entire Group

    Good Morning Pro's,

    I am trying to write a script that selects a group based on the criteria within that group. I'm looking to pull in only records that meet that criteria.
    Code:
    SELECT ColumnA
    FROM Table
    GROUP BY ColumnA
    HAVING ColumnA = 'A'
    With the GROUP BY, SQL will pull in my GROUP even if there are two records with 'A' or 'B', rightfully so. I'm trying to only select the group when all Columns meet the...
    See more | Go to post
    Last edited by NeoPa; Apr 3 '14, 08:11 PM. Reason: Fixed SQL and tags

  • Just figured it out. Thanks.

    Code:
    Dim lngRow As Long
    
    With Me.Listbox
            For lngRow = 0 To Listbox.ListCount - 1
                If (Me.Listbox.Column(2, lngRow)) = "OC" Then
                        Listbox.Selected(lngRow) = True
                Else
                        Listbox.Selected(lngRow) = False
                End If
            Next
    End With
    See more | Go to post

    Leave a comment:


  • Sorry. This line is incorrect
    Code:
    For lngRow = 0 To List489.ListCount - 1
    It's really.
    Code:
    For lngRow = 0 To ListBox.ListCount - 1
    See more | Go to post

    Leave a comment:


  • pwag
    started a topic Auto Select Items in Listbox based on Column value

    Auto Select Items in Listbox based on Column value

    Good Afternoon,

    I'm trying to auto-select items in a multi-select listbox based on a column's criteria in a VBA Sub. Here is my code thusfar that fails. All values are text data type. Any suggestions? Thanks.

    Code:
    Dim lngRow As Long
    Dim lbvalue As String
    
    With Me.ListBox
            For lngRow = 0 To List489.ListCount - 1
                If (Me.ListBox.Column(2, lbvalue)) = "OC"
    ...
    See more | Go to post

  • pwag
    replied to Button Click Sort Listbox ASC/DESC on Form
    I have developed a different solution. I positioned a check box behind the button. Alternating logic with this check box True/False, it fires ASC/Desc.

    Thanks!
    P
    See more | Go to post

    Leave a comment:


  • pwag
    replied to Button Click Sort Listbox ASC/DESC on Form
    Hi,

    The code is written in VBA. Yes, I meant to say "parenthesi s." I said "brackets," in the previous post. This code works for on sort change but gettting it to switch back and forth between ASC and DESC is still on the horizon.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...