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 aco2x

  1. aco2x

    Does news media go overboard with use of "Alleged"?

    I would say that there are two more extraneous "alleges" in the section of the sentence beginning with "alleged victims claim". The verb claim already implies allegation and makes them redundant. I would propose the sentence should be: Additional accusers of Jerry Sandusky's alleged acts...
  2. aco2x

    Hurricun

    Did you learn this in SKOOL or SHOOL?
  3. aco2x

    Use a strong password, as my granddaughter does

    http://www.ebaumsworld.com/jokes/read/81202310/
  4. aco2x

    Multiple pages in Data Reports for grouped data

    Each section of the datareport has a "ForcePageBreak" property. Set this property to rptPageBreakBefore for the Branch header section and you should be good to go.
  5. aco2x

    Getting Temporary Windows Dir

    You can use the GetSpecialFolder method of the File System Object to achieve this. Set a reference in the project to the Microsoft Scripting Runtime object and use this code Dim FSO As FileSystemObject Dim TempDirectory As String Set FSO =...
  6. aco2x

    Grid Problem

    You might start with something like this in your command button click procedure: Dim MyRS As ADODB.Recordset Dim MySQLString As String Set MyRS = New ADODB.Recordset MyRS.CursorLocation = adUseClient MySQLString = "SELECT * FROM myTable WHERE Trandate =...
  7. aco2x

    Can you concatenate child field values in a single SQL statement

    I'm not sure I totally understand your data structure but I'm assuming the child data(Table2 in my example) is in another table with a foreign key (FieldA) to the parent(Table1). If so, try a sub query in your join like this: [Code] SELECT Table1.FieldA, FieldB, FieldC, FieldXSum FROM Table1...
  8. aco2x

    DataReport Question

    I think you will need to pass a hierarchical recordset to be the data source for your data report. Something like this: [code] SQLCmd = "SHAPE {SELECT DISTINCT Doc FROM Table Order By Doc} As Parent " & _ "APPEND ({SELECT * FROM Table Order By Doc} As Data " & _...
  9. aco2x

    Printing using .printform in vb6 produces black in the datagrid

    I had the same problem with flex grids. To get around this put a picture box on the form behind your grid and add some code like this: 'Place contents of flex grids in picture boxes pbSample.AutoRedraw = True pbSample.Picture = fgSampleRS.Picture 'Hide Flex grids...
  10. aco2x

    Determining if a file exists

    You might consider using the FileSystemObject, which has a FileExists method you can interrogate: object.FileExists(filespec) The FileExists method syntax has these parts: Part Description object Required. Always the name of a FileSystemObject. filespec Required. The name of...
  11. aco2x

    Data Report Data Display

    I think you will need to introduce grouping into your data report and then pass a hierarchical record set as the data source to the Data Report. Something like the following, but you will need to flesh it out for the three levels that you want to achieve. 'Make sure you specify a Shape...
  12. aco2x

    Combo box property !!

    gvidali: Your solution worked perfectly for a similar problem I was having.....a star for you.
  13. aco2x

    Closing FileSystemObject

    What does the code look like in your flex grid click event? I think you are having trouble opening your picture file not having problems with the FSO in the command button.
  14. aco2x

    DHCP Connect Failure

    Thanks for the input. USB Drivers are loaded. What does registering the MAC address consist of?
  15. aco2x

    DHCP Connect Failure

    DHCP is enabled. I have also tried using a static IP address. I can then ping the loopback address and the static IP address of my own machine but cannot ping the gateway or any farther.

Part and Inventory Search

Back
Top