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 Chriss Miller 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: riskassure
  • Content: Threads
  • Order by date
  1. riskassure

    how to improve performance

    Hello, I developed a report using Report Studio in Cognos 8.4. Basically, I have one massive master query that generates all the data I need for the report. There are about 30 or so pages, and each page contains about one or two tables or charts based on this master query (enclosed is a...
  2. riskassure

    Send Lotus Notes Email using VBA with HTML body

    Hello, I have been using VBA to send Lotus Notes email for a while. The general code is the following: Public Sub SendNotesMail(Subject As String, ByVal Recipient As String, BodyText As String, SaveIt As Boolean) 'Set up the objects required for Automation into lotus notes Dim...
  3. riskassure

    Excel or Web Browser

    Hi, Is there a VBA code that can tell whether I am opening my Excel spreadsheet in Excel, or in a Web Browser, like IE? I tried Applicaton.name but it always gives me Microsoft Excel as the answer, whether the spreadsheet is opened in Excel or in a web browser. Any help will be...
  4. riskassure

    Active Control Name

    Hi, Does anyone know the VBA code for the following question: I have four buttons A, B, C, and D on an Excel spreadsheet. Each button is associated with a macro. But instead of four individual macros, I want to associate them with the same macro. When the button is clicked, the macro will...
  5. riskassure

    What does ++ mean?

    I came across a program at work that I could not decipher. I googled around and could not find any answers. Can anyone interpret the following code for me (code modified for presentation purposes): data abc; _n_ ++_n_ < n; set xyz point=_n_ ; workstn2 = workstn; set...
  6. riskassure

    How do I declare an array variable in Public

    Hello, I tried using the following code: Public X(1 to 50) as string But when I compiled it, I got an error message. How can I fix this? Or is it even possible to create an array variable in public? Thanks in advance ~~CW~~
  7. riskassure

    resolving a macro variable to another macro variable

    Hi, I have the following question: I have a bunch macro variables defined in a program: %let ADX = 2 %let BDX = 21 %let CDX = 13 %let DDX = 5 %let EDX = 10 later in the program, I have the following macro defined: %macro test(z); data newdates&z; set olddates; if ref in (&&z.dx) and...
  8. riskassure

    creating an array

    I have a large table containing hundreds of data fields. There are two sets of fields I'd like to use in particular: Code1 through Code20, as well as Code1Dt through Code20Dt So in my data step, I have the following: array Code{*} Code1-Code20 which works fine. However, when it comes to...
  9. riskassure

    How to run a SAS program using VBA?

    Hi, I am trying to write a program using VBA in Excel to run a SAS program (a .sas file). Does anyone know how this can be accomplished? Thanks in advance! ~~CW~~
  10. riskassure

    treating text as formula

    Hi, I have the following problem: in cell A1, I typed "B1+B2". In cell A2, I want to convert the text in A1 into a formula and then calculate that formula. So if B1 = 5 and B2 = 6, A2 should read 11, and if B1 = 3 and B2 = -1, A2 should return 2. Of course, I could have just use the formula...
  11. riskassure

    Dynamically Changing Code

    Hi, I have the following question: I have a form which contains a drop down box and a button. The values of the drop down box are texts of partial VBA code. Underneath the button is a VBA code, which looks roughly like private sub blahblahblah() blah blah blah blah blah blah...
  12. riskassure

    Works in PC SAS but not on Mainframe

    Hi, I have the following code that works on my PC SAS software: filename indat FTP 'data.txt' debug HOST = 'abc.efg.org' USER = 'username' PASS = 'mypassword' RECFM = f LRECL = 9; data...
  13. riskassure

    Problem with IIS

    Hi, I recently installed IIS on my Windows XP Pro. When I tested it using IE (version 6) by using http://localhost, it would open iisstart.asp file without a fuss. However, when I tested it using Mozilla Firefox, it would ask me for a user name and a password. However, I never set any user...
  14. riskassure

    Running multiple sas programs

    Hi, how do I run a saved sas program from my current sas program? Is there a way to reference a sas program and execute it by somehow calling its name and address? Thanks in advance, Chi ~~CW~~
  15. riskassure

    Do .... Until

    In SAS Programming, is there such a syntax Do.... Until ? In my example, I want to run a SAS macro repeatedly until the value in a certain table is equal to 0. How would I go about doing that? Thanks in advance, Chi
  16. riskassure

    SAS/STAT

    Hi, Does anyone know anything about how to use PROC SURVEYSELECT? I have a table consisting of a population of households and I want to create a sample from it. The sample will consist of a member selected randomly from within each household. Can anyone give me a hint as to how to go about...

Part and Inventory Search

Back
Top