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 wOOdy-Soft 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 mohrorless

  1. mohrorless

    Select into select

    I agree with bborissov. I have imbedded an sql select within anothe select statement to return the literal for a code. For example: Select MainTable.field1, MainTable.field2, (select literal from LitTable where LitTable.code = MainTable.code), MainTable.field3 from MainTable [spidey]...
  2. mohrorless

    Auto-Populate Combo Boxes

    Thanks TennesseeFox! [wiggle] [wiggle] [wiggle] I have beating my head against my desk for a day and half over this ( [banghead] ). Now I can move on to something else to lose my (alleged) mind over! [bugeyed] [idea] [cry] [spidey] [americanflag] [unclesam]
  3. mohrorless

    Combo Box Values

    THANK YOU, THANK YOU, THANK YOU PANKAJBANJA!!!!!! I am a newbie to .net and I have been stumbling my way through it. I had all sorts of tools/functions to do everything I need to in VB 6.0 ([banghead] [curse] [hairpull]), but they are basically useless now. Thanks Again! For You: [medal]...
  4. mohrorless

    Images and sql server

    Thanks for getting back. We are writing an app to track the instances of graffiti and vandalism and in order to help establish patterns and enable the people that did not work each case to see the vandalism/graffiti we need to be able to display it for them. One of our problems is that the CF...
  5. mohrorless

    Images and sql server

    Hi All!!!!!!! Quick question, or maybe not.... I am working on my 1st CF project and I need to be able to allow the users to indicate an image file to be saved into an image data type in sql server. My problem is that the only code that I have been able to find on working with images has the...
  6. mohrorless

    Can this be done?

    Rick, You tip helped. We have and old VFP 3.0 program that I wrote a LOOOONNNNNNGGGGGG time ago. One of the users just got a new machine with XP and 512 Meg of RAM. They called me with the Insufficient Memory problem. The best I could do was to scratch my head. At least I know that it is a...
  7. mohrorless

    How to avoid to run the program if one is already running!!

    BigViking, Maybe I wasn't clear enough in my previous post. When I wrote "I call it pretty early in my startup module to keep it fom doing too much before going to the previous instance." I implied for it to be called from Sub Main. All my apps (built into EXEs) start with...
  8. mohrorless

    How to avoid to run the program if one is already running!!

    SurvivorTiger I might have what you need here.... I have a Sub that I called ALREADYRUNNING (it's below). I use an MDIForm for my main form & it gives me no problems. I call it pretty early in my startup module to keep it fom doing too much before going to the previous instance. The only...
  9. mohrorless

    Allow only one instance of an application to run?

    VBKRIS, I think I can help you with the whole thing here. I have a Sub that I called ALREADYRUNNING (it's below). I use an MDIForm for my main form & it gives me no problems. I call it pretty early in my startup module to keep it fom doing too much before going to the previous instance...
  10. mohrorless

    Determine number of rows in a datagrid

    Thank You CClint. [spidey] [americanflag] [unclesam]
  11. mohrorless

    Determine number of rows in a datagrid

    GeorgeDurkee- Glad I could help. John [spidey] [americanflag] [unclesam]
  12. mohrorless

    Determine number of rows in a datagrid

    I haven't used datagrids, but I have used listviews. When I needed to know the number of records in the listview I used this code: Dim intListViewCount as Integer intListViewCount = lvwListViewName.ListItems.Count The grid control also has an ApproxCount which queries the data source for...
  13. mohrorless

    calling a form within a form

    I know it may not be an elegant solution, but why don't you put the info into a public variable? Then put the info from the variable into the field when you get to tform that the field is on. Good Luck [spidey] [americanflag] [unclesam]
  14. mohrorless

    Documenting Application

    You could try copying the whole app to another machine. Test run the app for a couple of days on the other machine. Hit every screen and button add records and everything else that the system does. After a couple of days check the dates of the files. The dates of the files that the system...
  15. mohrorless

    Import FoxPro database into Access2000

    Since you only have about 11,000 records with 12 (I presume small) fields. Our experience is that Access starts balking around the 50,000 record mark. Of course our tables are a good deal more than 12 fields. What version of Access are you planning on using. You can import the data into...

Part and Inventory Search

Back
Top