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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by fmientjes

  1. fmientjes

    SSIS Calculation: Function for "all to date" wanted

    Within SSIS 2005 I am using the YTD function within a calculation of a cube. Now I want to use a function which returns the sum of a field from the beginning untill now. For example: 2006 Jan: 100 2006 Feb: 100 .... 2007 Aug: 100 Time parameter: July 2007 YTD: 700 (7 months x 100) All: 2000...
  2. fmientjes

    Table of contents in report

    Sorry about my late reaction (holiday). Thanks for your efforts. This will do the trick. Exactly what I want. Frans
  3. fmientjes

    Table of contents in report

    I have a report showing multiple chapters and paragraphs: Chapter 1 Chapter 2 Paragraph 2.1 Paragraph 2.2 Paragraph 2.3 ......(number of paragraphs may vary) Chapter 3 The paragraphs are in the detail section and have a Force New Page after section. Chapter 1 is on the Report...
  4. fmientjes

    Find "R" (not "r") in string

    Thanks, it give me hint to make the follwing function: Public Function CheckCombinatie(strCombinatie As String, Optional strReferentie As String) As String Dim i As Integer Dim iAantalLetters As Integer Dim ascCombinatie As Integer ascCombinatie = Asc(strCombinatie) iAantalLetters =...
  5. fmientjes

    Find "R" (not "r") in string

    I want to search a string for the "R" only, (so lowercase ("r") is not valid). So I hoped the Instr function would do the trick, but it doesn't. There is no difference between R and r. And I can not search voor the ascii value (Asc("R")=82); I cannot get the instr to work with that. Can anyone...
  6. fmientjes

    Function for ISO weeknumber wanted

    Can someone help me with building a function which returns the right weeknumber (according to ISO: first Thursday of a year=week 1). Thanks, Frans
  7. fmientjes

    How to avoid sql-server error after update?

    Thanks, But where should the on error statement be? On form_open event? I cannot get the right trigger / event. Do you know? Frans
  8. fmientjes

    How to avoid sql-server error after update?

    I have a form based on a SQL-server table. In the table you cannot enter duplicate keys (e.g. debtornr). I want to display a neat message when someone enters the same debtornr. The current SQL-server message looks quit frightening to a lot of users. Which event do I have to trigger? I tried...
  9. fmientjes

    Edit existing Excel file and read cells

    From VBA I would like to do the following: 1) Open Excel with a given file (read only if possible) (A2=value, B2=A2*2) 2) Edit the value in a specific cell (say A2) 3) Recalculate 4) Read the value from a specific cell (say B2) 5) Close Excel, without saving changes Extra: If more users run...
  10. fmientjes

    Excel add-in: no drill through

    I created a cube in which I can drill through (in analysis manager). In Excel I use Pivot table to access the same cube. Unfortunately I cannot use drill through: "Cannot show details for current item" Drill-down works. User rights are set to as much as possible. Idea's? Frans
  11. fmientjes

    Full text search in docs in a table possible?

    No, I have not found a solution for this. It seems that there needs to be an external tool to index everything. Maybe SQL 2005?
  12. fmientjes

    running sql job from Access

    I managed to start a sql-job from Access. ============================================= Public Sub fnExecuteSQLjob(strJobName As String) Dim oSQLServer As SQLDMO.SQLServer2 Set oSQLServer = New SQLDMO.SQLServer2 oSQLServer.LoginSecure = True oSQLServer.Connect "server-name"...
  13. fmientjes

    How to access a SQL job or package from Access

    Can someone help me with the rigt vba code for starting a job or a local package within SQL-server? I have made a local package and from that package I created a job. I would like to start the local package or the job from Access. Frans
  14. fmientjes

    Connect database problem:I/O error (bad page ID) detected during read

    I have checked the hard drive and no prbolem for size. I have used Enterprise manager and Query analyzer to restore the database. No command line tools (I am not familiar with that yet). Right clcicking in EM doesn't give me the options you described. The database is marked suspect and I can...
  15. fmientjes

    Connect database problem:I/O error (bad page ID) detected during read

    A normal restore doesn't work ("device error or device off-line") dbcc checktable only works with online databases, but that is exactly the problem: I cannot get it online. I have tried to put the databse into emergency mode, but still I cannot get to the tables. Please, are there any more...

Part and Inventory Search

Back
Top