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 Mike Lewis 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. Menthos

    Datarelation using multiple columns??

    Actually think I've gotten around the 'issue' by concatenating the two fields together as a new column when creating the table in the dataset. Cheers, Menthos
  2. Menthos

    Datarelation using multiple columns??

    I'm trying to create a datarelation using two columns instead of the one that all the examples I've seen use. Anyone know if this is possible? is there a way to create a datarelation using a multiple column key perhaps? Cheers, Menthos
  3. Menthos

    Reading control in a nested datagrid

    Looks like that did the trick! Thanks!!! :D
  4. Menthos

    Reading control in a nested datagrid

    OK, here goes... apologies for the sloppy code :) <%@ Page Language ="VB" debug="true" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.ODBC" %> <script runat="server"> Sub Page_Load(Source as Object, E as EventArgs) 'DB connect goes here Dim objDataSet As...
  5. Menthos

    Reading control in a nested datagrid

    Yep, exactly that. Here's the datagrid code: <html> <body> <form id="form1" runat="server"> <asp:TextBox id="Textbox1" text="Test textbox" runat="server" /> <asp:Button id="Submit" onclick="Submit_changes" text="Submit" runat="server" /> <asp:DataGrid id="Datagrid1"...
  6. Menthos

    setting textfield text to value from drop down list

    Hmmmm... well I don't think that's the fix for my problem... apologies for semi-hijacking your thread wallaceoc80.
  7. Menthos

    Reading control in a nested datagrid

    I wasn't checking for that, however I set the default values for the DDL's in the main page load, and if I check for postback and don't set them they reset to the first item in the list. Does that make sense?
  8. Menthos

    setting textfield text to value from drop down list

    Look forward to seeing the solution for this, as it's a similar problem to mine (http://www.tek-tips.com/viewthread.cfm?qid=1000235&page=1) Spooky :) Cheers, Menthos
  9. Menthos

    Reading control in a nested datagrid

    OK, I've run into another problem :) The desired outcome of this datagrid setup is to be able to use the DDL on each row to set the access level for a corresponding forum (the rows show forum names). The child datagrid's rows have a hidden unique ID column which I use to reference an array to...
  10. Menthos

    Reading control in a nested datagrid

    OK, found out where I was going wrong, I had to cycle through the parent datagrid to get all the child datagrid controls... the code changes are as follows: Private Sub Submit_changes(source As Object, e As EventArgs) Dim ParentGriditem as datagriditem dim ChildGridItem as datagriditem dim...
  11. Menthos

    Reading control in a nested datagrid

    Ok, I've got a parent/child datasource setup and bound to a datagrid with a nested datagrid within to show hierarchal info. For each row of the nested datagrid shown, I have a DropDownList with 3 options. What I want to be able to do is click a submit button and read through each of the...
  12. Menthos

    can't connect from remote machine

    You need to grant your user access from your client. Check the manual for usage of GRANT. I think it's something like GRANT ALL PRIVELIGES ON <db> TO <user>@<host> IDENTIFIED BY <password> Cheers, Menthos
  13. Menthos

    Updating a table with values from the same table...

    I'm sure this is possible, probably with a sub-query... I want to update a record with a value from another record in the same table. E.G. Name Val_1 Val_2 Check_col Test1 0 0 s Test1 10 20 M Test2 0 0 s Test2 20 25...
  14. Menthos

    OFO - Initialization Failure

    Do you have OFO installed on the remote machine too? I'm fairly certain you need both the Remote Agent and OFO installed. Hope that helps. Menthos
  15. Menthos

    Win2k DOS file error

    Aha :) I guess we're moving OT for this particular forum, but are you able to let us have a look at the Scriptor.bat file in detail?? Not sure if the forum admins will want to move this thread to a more appropriate place.
  16. Menthos

    Win2k DOS file error

    The /c switch closes the Shell once execution has finished. Penahill - you say that you can run convertscript.bat manually from a DOS prompt? and that works? If so there shouldn't be any difference running it from a VB shell command. My gut feeling is that it could be your Scriptor.bat file...
  17. Menthos

    Win2k DOS file error

    Can you let us see the code involved? both the VB code and the DOS batch file would help all round with a solution. Menthos
  18. Menthos

    Excel: Change color of PART of a cell

    Just recorded a very quick test macro and this is what it came back with (I've deleted the non-important properties and added a comment for the colour). Shouldn't be too tricky at all to use this method to colour the relevant bits of your cell text. With...
  19. Menthos

    Binary FTP file transfer using Internet Transfer Control

    Yes, the files have been checked via a hex editor and the CR/LF's are present at the ends of lines on the Unix box. Nope to having it backwards on the manual downloads. I'm using a DOS session to manually retrieve the file, and I'm physically setting the transfer mode to Binary. Some research...
  20. Menthos

    Binary FTP file transfer using Internet Transfer Control

    Yup, you're right, the site is a Unix box, however the files are sitting on it with the CR/LF's correctly. I know if I were to pull the files down using an Ascii transfer, that they would strip the CR's out, hence using binary mode when manually transferring. ITC would appear to be using...

Part and Inventory Search

Back
Top