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!

Search results for query: *

  1. FacilitiesCAD

    Adding Images To Forms

    Do you have a report that just prints one picture already? If so what code does it have? Since your file names don't follow a specific rule (they look like 2 or 3 rules envolved) and you want every picture in a given path I think you will use some case of FOR EACH file in PATH do something...
  2. FacilitiesCAD

    Adding Images To Forms

    Since there are only upto 10 and hopefully the image names are similiar you can do it many ways, 1 come to mind real easy. Set up 10 pictures where on error it shows no picture available. Set each picture up to show a specific numbered picture. abc1.tif abc2.tif...
  3. FacilitiesCAD

    Adding Images To Forms

    OK Randy, I just spent a few minutes trying this out. [code] Private Sub Form_Current() Image4.Picture = Me.Text5 End Sub Private Sub Image4_Click() Image4.Picture = Me.Text5 End Sub [/c] There is two sets of code that both worked for me. The first one is probable a better choice...
  4. FacilitiesCAD

    Adding Images To Forms

    AceMan, I hope he can get it because I lost track along the way in your direction. Probable just because I'm not making one at the same time. I'm off to Ireland for a vacation (10 days) but after that I should be back on the forumn. I may spend a little time this morning playing with this...
  5. FacilitiesCAD

    Adding Images To Forms

    Sorry Randy, I can't help you right now. I have a slightly bigger problem right now. My wife has walked out on me. I probable won't be on this board for a while. Aceman should get you through this. Once I pick up the peices of my life I'll be back on and maybe I can help you with a new...
  6. FacilitiesCAD

    Adding Images To Forms

    Follow aceman1 advice. I am a novice. BUT from your description I think I understand what went wrong. 1) In the textbox "ImagePath" set it back to visible = yes, you are doing this just so you can see it while we debug it. 2) in the textbox "ImagePath" type "= pic & name" without quotes. Now...
  7. FacilitiesCAD

    Adding Images To Forms

    Thankyou, Things can be so easy to learn and so hard if you never try. I found out about underline and bold while looking for this info just now.
  8. FacilitiesCAD

    Building a Form from a query

    Don't you need to run the query somehow?
  9. FacilitiesCAD

    Adding Images To Forms

    try threads 702-289543 and thread 702-831482. Wish I knew how to point to them. javascript:gothread(702.831482)
  10. FacilitiesCAD

    Adding Images To Forms

    It sounds like you are trying to do something similiar to what I have done just recently. 1st) Do you have a way of specifying the image. IE C:\path\image.jpg ? 2nd) do you know how to edit a form and put any old image on it? 3rd) goto properties of the image you put on in step 2 and change it...
  11. FacilitiesCAD

    how to set a field for all records in a record set to a certain value?

    Thank you Bob, I have a working solution to the problems I've listed here. I use: dim criteria as string rs.movefirst criteria = "Path1 = '" & Path2 & "' and File1 = '" & File2 & "'" rs.FindFirst (criteria) rs.edit rs!field1 = "found" rs.update by the way what does the .update do for me...
  12. FacilitiesCAD

    unable to delete rows in excel....??

    I guess I would just: For r = 1 To 7 Step 1 sheet.Rows(1).Delete Next r but we all get the same job done. Tim
  13. FacilitiesCAD

    how to set a field for all records in a record set to a certain value?

    Sorry Im not sure. When I make a table and try to close it. I am told there is no primary key defined. It then makes a column labeled "ID" and no 2 ID's are the same in a table(due to autonumbering). Basicaly I want to change rs!field1 = "found" for the record that has ("Path1 = '" & Path2...
  14. FacilitiesCAD

    how to set a field for all records in a record set to a certain value?

    Thanks Bob, This I can follow. for my second problem can I dlookup() the ID which is the KEY variable and then move to that recordset. If so how? Thanks again, Tim
  15. FacilitiesCAD

    how to set a field for all records in a record set to a certain value?

    First Thank you everyone for the great posts here. I have learned alot about access from here. You have saved me unmeasurable time in organizing data. I am trying to maintain a database of all the autocad drawings on a specific public drive. The code bellow allows me to add a new record...
  16. FacilitiesCAD

    updating a form

    I currently have a button on a form that runs some vb code that takes about 45 sec to run. Because thats a relatively long time to think your computer has frozen up, I want to change text in a text box me.text10 to different values in the code. IE me.text10 = "Starting", me.text10 = "step1...
  17. FacilitiesCAD

    inputing data from text file

    Thanks TomThumbKP. I have found the .addnew option to add to a recordset. I'm going to use this and my bat routine for now. Tim
  18. FacilitiesCAD

    inputing data from text file

    Thanks TomThumbKP for your quick response. I usually don't write code but I do have to debug it on occasion or modify it for my use. I fully understand what I'm doing with my .bat file and that is what I like about it. I am trying to understand what I would be doing if I started with the...
  19. FacilitiesCAD

    inputing data from text file

    This sounds like an interesting solution. I've never heard of Scripting.FileSystemObject before. could you give an example of how it works. (what you input what it outputs) Does this solution get around my main problem of creating new records? (I assume it does the way you describe it) I'll...
  20. FacilitiesCAD

    inputing data from text file

    I am looking for an easyer way to do a task. I want to maintain a database of aproximately 2000 drawings. currently I run a .bat routine to generate a text file that has all the .dwg files on a paticular drive. the routine is simple. make_dwg_lst.bat dir *.dwg /s >dwg_lst.txt This generates...

Part and Inventory Search

Back
Top