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 strongm 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 metaltree

  1. metaltree

    Awk: sum on a column range

    Hello, I need to sum the values of several columns but want to avoid the $1+$2+$3...+$100 syntax. I tried the command below, but apparently I'm doing something wrong. $ cat infile 1 2 3 4 5 6 wanted result 6 15 $ awk -F "\t" '{x=0; for (i=1; i<=NF; i++); x = x + $i...
  2. metaltree

    How to get date of creation of columns?

    Is there a way (SQL or client command) to get the date of creation of a column in a table?
  3. metaltree

    rake db:migrate not working

    Okay, thanks. Yes, I agree, there doesn't seem to be a lot of activity here!
  4. metaltree

    How to initialise a permanent variable

    Hello all, sorry for the late reply. I stored the variable into a table finally, and it worked. I used it to store the path and filename chosen by the user with the .FileDialog(msoFileDialogFilePicker) method. Many thanks,
  5. metaltree

    rake db:migrate not working

    Okay, the problem was the missing rake command apparently. I reinstalled it. But now, I can't get passed that new problem: C:\testror\depot>rake db:migrate --trace (in C:/testror/depot) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute...
  6. metaltree

    rake db:migrate not working

    Hello. When I use rake bd:migrate, it sends this: C:\testror\depot>rake db:migrate --trace c:/ruby/bin/rake.bat:24: undefined method `require_gem' for main:Object (NoMetho dError) Any clue?
  7. metaltree

    How to initialise a permanent variable

    Okay, thanks for your quick and helpful comments.
  8. metaltree

    Call a procedure on another form

    Okay. However, when I actually call that procedure on the second form, it sends me an error message: Compilation error: undefined sub or function. My code is as follows On form 1: Call abc On form 2: Public Sub abc() (...code...) End Sub
  9. metaltree

    How to initialise a permanent variable

    Is there a way to declare and initialise a variable on a form that retains its value even when that form is closed and reopened ?
  10. metaltree

    Call a procedure on another form

    Is there a way to call from a first form (form1) a procedure written on a second form (form2)?
  11. metaltree

    Modify a subform from another subform with VBA

    Thanks AceMan1, I'll try that.
  12. metaltree

    Modify a subform from another subform with VBA

    Please, ignore my last piece of code, here is the right one (that doesn't work): From subform1 Private Sub field1_AfterUpdate() Forms![subform2].Enabled = False End Sub Where subform2 stands for the name of the form (source object in properties) However, the following code works: From form1...
  13. metaltree

    Modify a subform from another subform with VBA

    I have a menu form (form1) and 2 subforms (subform1 & 2). When I update data in subform1, I want to disable subform2. I tried from subform1 Private Sub field1_AfterUpdate() Forms![subform2].Disable End Sub but VBA keeps telling me that he is unable to find that name. Any ideas?
  14. metaltree

    + Any help on Access (VB) Codes??

    Sorry, posted on the wrong place ;-)

Part and Inventory Search

Back
Top