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 IamaSherpa 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. StoykinButNotKrstakn

    Automatically checking a checkbox from value

    Thanks for the response. I actually figured it out with VBScript. I do an onclick event in the radio box: onclick=&quot;do_statchange(<%=TheTeamID%>) In the VBScript subroutine, I do this: sub do_statchange(TheTeamID) for i = 0 to AssignTeams.TeamID.Length -1 if...
  2. StoykinButNotKrstakn

    Automatically checking a checkbox from value

    I have a situation where I want to get a team ID that has been modified. The user is provided with a list of teams and then a radio group showing assigned/unassigned, and then a submit value. Internally I have a hidden checkbox for each team holding the groupname &quot;TeamID&quot; and the...
  3. StoykinButNotKrstakn

    How can I determine if nothing is returned

    Correction: The line: selectCMD2 = MySqlCommand.ExecuteReader() Should be: selectCMD2 = SQL.ExecuteReader()
  4. StoykinButNotKrstakn

    How can I determine if nothing is returned

    This is how we approach the problem: Dim conn as SQLConnection Dim SQL as SQLCommand Dim selectCMD2 as SQLDataReader Dim SQLserver AS String = &quot;server='MyServer'; user id='MyID'; password='MyPassword'; Database='MyDatabase'&quot; Dim ds AS New DataSet conn = new SQLConnection(SQLServer)...
  5. StoykinButNotKrstakn

    DataGrid Commands and Passing parameters to URL

    Thanks to Link9, this thread gave me the idea to fix the above problem using SQL. I just made a field in the dataset called &quot;TheHyperlink&quot;, and built it up in the query: select book_id, book_title, author_address, book_price, 'edit_entry.aspx?Id=' convert(varchar(6), book_id) +...
  6. StoykinButNotKrstakn

    More Listbox woes - multiple selection

    Sorry, my bust. I am using MyString = MyString & MyListItem.Value. Thanks for the input though. &quot;They never said it was going to be easy....&quot;
  7. StoykinButNotKrstakn

    More Listbox woes - multiple selection

    Thanks for the response! I'm taking a similar approach to this... I think what is happening has to do with the postback (e.g. my script that handles when the user hits &quot;Submit&quot; is occurring after(?) some sort of postback event). Again, I made sure that the listbox, it's routines, the...
  8. StoykinButNotKrstakn

    More Listbox woes - multiple selection

    I have a listbox set up for multiple selection, and for some reason, I can't retrieve updated information on it. It is set up for multiple selection, and the check against it is triggered by a submit button. Everything is set as runat=&quot;Server&quot; - so I'm not sure what I'm doing wrong...
  9. StoykinButNotKrstakn

    Dropdown list invisible until EDIT selected

    I was able to do it with your template idea, along with doing a datgrid.columns.item(#).Visible command on the edit, cancel and update routines. Thanks for the help! R/ Nuke
  10. StoykinButNotKrstakn

    Dropdown list invisible until EDIT selected

    Thanks! I think you got me on the right track. I tried to post it as helpful but their website returned an error with a session variable LOL - looks like they need to ask someone in tek-tips about that! R/ Nuke
  11. StoykinButNotKrstakn

    Dropdown list invisible until EDIT selected

    I'm trying to populate a dropdownlist for a user to select from when in EDIT mode, but I would rather not have it visible during standard browse mode. Is there an easy way to do this? Example: I have a table that will show the employee and the team they belong too (both as text) in a...
  12. StoykinButNotKrstakn

    utilizing ID on event

    That's exactly it (passing the ME part and getting it as an object to the script) - - Thanks a mil! Nuke
  13. StoykinButNotKrstakn

    utilizing ID on event

    When an ID is assigned to a TR or a TD, does anyone know how to retrieve and USE the ID on an event? I can't figure out how to pass this value in a manner that it is an object and not a string - so I can use it along with the properties (e.g. IDNAME.Style.Color = &quot;Black&quot;). Example...
  14. StoykinButNotKrstakn

    memo fields and variables?

    You may be having a similar problem that we had in our devleopment. The error we have when attempting to assign text fields to variables is that fields remaining PAST the text field cannot be assigned. For example: Set MyArray = MyDatabase.Execute(&quot;select integer, Memo, integer2...

Part and Inventory Search

Back
Top