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 bkrike 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: *

  • Users: vb89
  • Content: Threads
  • Order by date
  1. vb89

    Copying listbox items...

    Essentially, I have an ASP.net page where I load a record set server side and upload it into a listbox. I'm trying to do all the movement functionalities of the listbox items client side. Specifically, I'm trying to figure out how to copy selected listbox items from one listbox to another --...
  2. vb89

    Loop through csv file...

    I'm trying to create a validation program which entails throwing everything in a csv file that i have into array and then looping through it and doing a comparison. Here is some of my preexisting code which currently finds the name of a file that I want to do a comparison off by basically...
  3. vb89

    Print first value of output?

    I have the following query SELECT count(*), COUNTRY_DESC FROM customer_data.cd_soccer_field_season WHERE SEASON_ID = 200849 group by country_desc order by count(*)desc how do i go about printing out only the first row of the output?
  4. vb89

    SQL Query Issue...

    I have the following code and im not sure what is missing or coded wrong here... Using: Oracle 10g open x_cursor; loop fetch x_cursor bulk collect into x_tab; for ii in 1 .. x_tab.count loop personID := x_tab(ii).personID; if profile_tab.exists (ipersonID)...
  5. vb89

    Combine Rows?

    I'm trying to combine two rows under one column. using: oracle 10g Here is my code select cr.report_id as report_id, cr.report_name as report_name, ei.info as info from SPSS.WEB_CLIENT_REPORTS_NFL CR, spss.web_report_extra_info_nfl EI where cr.report_id = ei.report_id current...
  6. vb89

    Never ending loop...not sure why?

    When I run my current procedure, it seems to be getting caught in a never ending loop, not entirley sure what the problem is...? I'm not quite the expert so if possible, the more detail in the explaniation the better...thanks in advanced!! --The cursors cursor konami_mlb_pitchers_crsr is...
  7. vb89

    UNION statement?

    I'm trying to add a union statement(my statement is towards the bottom of the page )to the following cursor, but when i compile it says "query block has incorrect number of result columns." I understand why this is, but how do i go about solving the problem. select ytd.player_id...
  8. vb89

    Not sure what is occuring in this code

    Can somone please explain to me what is happening in this code... If InStr(iTeamID,"lg") Then iLeagueID = Replace(iTeamID,"lg","") iTeamID = "" tTeamName = "" Else iLeagueID="9" 'All players (I-A and I-AA) End If
  9. vb89

    Synatx and Logic correct?

    I'm basically try to write a piece of code that displays which overtime it is based on the quarter of the game. Not sure if logic is correct and positive syntax isn't correct. if cInt(quarters) > 4 then ot = (""&cInt(quarters) - 5&" OT))" else ot = " " end if If for example quarters...
  10. vb89

    Keep getting error Component must me declared?

    im working in pl/sql and I keep getting the error componet 'first' must be declared, and i have no idea why... here is my code for my cursor and proc cursor cGetTeamStats is select * from varsity.soccer_period_results where game_code = p_GameCode; type team_stats_1d is table of...
  11. vb89

    If Else From Statement... Overwrite

    (This is a classic asp page pulling data from an oracle database) I basically just want the first if statement to overwrite the second statement in the case that the criteria of the first if statement is met. So basically if the league_id value is 0 and the team id value is 0 I would like the...
  12. vb89

    If Else From Statement... Overwrite

    (This is a classic asp page pulling data from an oracle database)(I know this is the wrong forum but it's still the same basic fudamentals and the closes to what i need...thanks) I basically just want the first if statement to overwrite the second statement in the case that the criteria of the...
  13. vb89

    Group By SUM, statement

    For the following code, the output displays two rows of data for some reason, it displays, team_name, punt_return, fair_catch, punt_ret_yd...any idea what is wrong with my code...thanks! select team_name, sum(Punt_ret) as Punt_ret, nvl(punt_fair_catch, 0) as punt_fair_catch...
  14. vb89

    Order by Statement

    I have the following SQL statement CURSOR player_cursor IS select * from customer_data.cd_soccer_players p where p.team_id = tID and p.league_id = p_leagueID and p.status = 'Y'; I would like to order the following statement by a column called player_position. Player...
  15. vb89

    What is happening in this code

    Can someone please explain to me what is happening in the following code: <SELECT name="cf" class="data" onchange="this.form.cftxt.value=this.options[this.selectedIndex].text;"> <OPTION value="">Select Conference</OPTION> <%tempDivId = 0 Set rsConf = SPSSconn.Execute(tConfSQL) Do While...
  16. vb89

    Wrong data displayed when filter value selected

    I have an ASP application with some java script coding in it(searchResults.asp), and the stored procs are being pulled from an oracle database. I have a page called leadersIndex.asp which basically has a bunch of filters to choose from and redirects me to the page searchResults.asp. The page...
  17. vb89

    Output files to text document

    What I'm trying to do is to create a program that reads through a certain directory and outputs the location of each file(both in the directory and subdirectorys) into a text file. I am completely new to Perl and under a time restriction so any help would be greatly appreciated...thanks in advance
  18. vb89

    Proper Syntax?

    When I run my code I seem to get a 'SQL command not properly ended ' Here is my code: 'WHERE CLAUS (FILTERS) tWhereSQL = " WHERE main.active_record <> 'R' "&_ " AND main.game_type_id ="& iGameType &_ " AND main.split_number = -1" &_ " AND main.league_id IN (1,6)" &_ "...
  19. vb89

    Replace character in filename

    Basically I'm kind of new to VB, can someone please help me make a program that: goes through every file in a directory and replaces any “$” characters in the filename with “_”. And if possible i'd like to hardcode the directory in the program (we can call the directory X for now) and to make...
  20. vb89

    Adding New Columns....

    I tried to add two new columns to my current coding (they're in bold): tTotalSQL = " replace(to_char(((sum(decode(minutes_seconds,null,minutes*60,minutes_seconds)) - (mod(sum(decode(minutes_seconds,null,minutes*60,minutes_seconds)),60)))/60),'999999990'),'...

Part and Inventory Search

Back
Top