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 Westi 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. usingVB

    Selecting a field/column

    Hi all, Just wondering if there is a way in VB to select a field/column in a table based on part of its name. For example, I am currently getting a column by: Name.field = "USA_ID" However, I want to be able to use different datasets with the code, and therefore get the column that ends in...
  2. usingVB

    Making a chart using VB

    Hi, Thanks for the info. My X and Y data are help in columns in the selected layer. According to the description of the sub-routine: "The code does not specify an X or Y axis field forcing the DataGraph object to automatically select these." - Ideally, I want to tell it which to use. It...
  3. usingVB

    Making a chart using VB

    Hi, I'm using ArcGIS and used the ESRI Object Library. http://edndoc.esri.com/arcobjects/9.0/ComponentHelp/esriArcMapUI/ArcMapUIObjectModel.pdf Cheers!
  4. usingVB

    Making a chart using VB

    Hi, I'm trying to make a chart using VB code, however, I want to specify which fields are used for the X and Y axis. I've found the following code, which works, but I'm not sure how to go about specifying X and Y axis fields. Any ideas? Copied and pasted from website..... Description: This...
  5. usingVB

    VBA and textboxes

    Apologies, I have now figured this out - thanks again! I don't suppose you know of a way to select all text in a textbox do you? I can't seem to find this... I was thinking something like... Form_name.textbox_name.SelectAll Any ideas?
  6. usingVB

    VBA and textboxes

    Thanks pwise, I've got the Count to work, but am struggling with the Sum bit. Sorry, I'm pretty new to this..., can you elaborate a bit further? Cheers!
  7. usingVB

    VBA and textboxes

    Cheers guy, that's a great help! I've now managed to retun my list in for form: A 2 B 4 C 8 D 1 etc... Is there any way I can sum the frequency's to get a total and/or do a line count? I've had a look around on the net but can't seem to find any way to do this. Cheers again, if you can...
  8. usingVB

    VBA and textboxes

    Hi all, I have a question about writing to textboxes using VB. I have the following code which successfully writes to the immediate window, showing both data and frequency: for example…. A 4 B 5 C 0 D 6 etc... ' Loop through the values returned by GetHistogram For i = LBound(dataValues)...

Part and Inventory Search

Back
Top