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 Wanet Telecoms Ltd 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. oakpark5

    general....why c#.net

    I have a general question. We have decided to build a new customer relationship management/sales order entry program. We all agree on the problems and where we want to be.....but, we are debating what to develop in. We currently use Visual FoxPro 5,8 and will probably upgrade to 9. We recently...
  2. oakpark5

    passing query results to storedprocedure

    OK, i got that to work, now I'm trying to carry a couple variables through, like the subject and the body. I dont quite know how to account for multiple rows.....here is that I'm using: CREATE PROCEDURE sp_remindertest AS declare @email as char(50) declare @custno as char(25) declare @task as...
  3. oakpark5

    passing query results to storedprocedure

    Thanks everyone, it worked perfectly! Software Engineer Team Lead damn bill gates, he has everything
  4. oakpark5

    passing query results to storedprocedure

    I have a stored procedure that executes a query, I want to pass the results to another stored procedure, not quite sure how to do that, i tried setting @results to the select query and the executing it, but when i put @results in for the email protion it returned the whole select statement. I...
  5. oakpark5

    current_date

    got it, thanks!!! Software Engineer Team Lead damn bill gates, he has everything
  6. oakpark5

    current_date

    I've got a sql string and what I'm trying to do is this: select * from table where invdte between current_date and current_date - 3 months. Basically I want everything thats between the date today and the date 3 months ago... just not sure how to get the three months ago part.... Software...
  7. oakpark5

    trigger calls stored procedure help

    OH!, I remember doing something with that...so if i give it an alias and designate its IP, can I then set it as a linked server? Thanks you're a big help... Software Engineer Team Lead damn bill gates, he has everything
  8. oakpark5

    trigger calls stored procedure help

    Got it working I needed to install the DTC windows component, and add the SET XACT_ABORT ON in the code of the trigger,but now I have to set up another linked server that is on a VLAN and I know names dont resolve through, but IP'S do. Just have to figure out the naming convention.... Software...
  9. oakpark5

    trigger calls stored procedure help

    Well the linked server works if i dont use it in a trigger, bit I need a trigger to do this. Here is what is happening. We have cisco VOIP phones that insert information into a SQL database, i've put the trigger on that databse to fill a table on another database that runs more of our internal...
  10. oakpark5

    trigger calls stored procedure help

    Server: Msg 7391, Level 16, State 1, Procedure trig_insertcalls, Line 7 The operation could not be performed because the OLE DB provider 'MSDASQL' was unable to begin a distributed transaction. [OLE/DB provider returned message: [Microsoft][ODBC SQL Server Driver]Distributed transaction error]...
  11. oakpark5

    trigger calls stored procedure help

    Hopefully someone can help me with this.... I created a trigger to insert 4 records into a SQL server databse from another SQL server database. The two databases are linked by linked servers... CREATE trigger trig_insertcalls on dbo.testcalls for insert as print 'hi' insert into...
  12. oakpark5

    SQL linked servers

    Having some problems linking two sql servers together, one is my local machine. I'm setting up the link to the main server to connect to mine, but it doesnt seem to want to work. This is what I've tried: use master go sp_addlinkedserver @server = 'ITDAVID', @srvproduct = ' ', @provider =...
  13. oakpark5

    Function arguement value error

    Well thanks for the help everyone, I finished the program...and no offense but this was the first and most likely the last time I'm going to use FoxPro, I'll stick with C# and Java..... Software Engineer Team Lead damn bill gates, he has everything
  14. oakpark5

    Function arguement value error

    Adding this to the first line seemed to fix the problem: or empty(lc_plinid) I'm not to happy with the speed of the programe either. I'm connecting to a SQL server, does foxpro5 support ADO and can it call sql stored procedures? Do you think this would help the speed of the program? Software...
  15. oakpark5

    Function arguement value error

    OH, and why cant I call functions on a form? Annoying... Software Engineer Team Lead damn bill gates, he has everything
  16. oakpark5

    Function arguement value error

    Mike, I was born in Edinburgh.....how is Scotland treating an Englishman. LOL. Alright, well the foxpro app that is calling the form I'm working on is in foxpro5....it gives that error. I ran the debugger and it gave me no errors, when i run it in the foxpro ide I dont get any errors, only when...
  17. oakpark5

    Function arguement value error

    I keep getting an error: Function arguemnt value,type,or value is invlaid. This program is developed in FoxPro5, now the program runs fine when i run it in foxpro but when i attatch it to another program that calls it,...I get that error, that doesnt make sence to me. I'm a C#.net programmer so...
  18. oakpark5

    update a null

    thye are nulls, they say nulls in the fields, so i tried this but it didnt work update artran set disc2='0' where ISNULL(disc2) i didnt think updating a null would be this difficult... Software Engineer Team Lead damn bill gates, he has everything
  19. oakpark5

    update a null

    i think this is easy but it doesnt seem to work... update artran set disc2 = '0' where disc2 = null how do i enter the null value, 'null', '', nothing seems to work, thanks for the help. Software Engineer Team Lead damn bill gates, he has everything
  20. oakpark5

    delete trigger

    ok, now i'm trying to use an update... what i'm trying to do is, if an update occurs on one table, i want the exact same thing to happen on the other table. This is what i have thus far: create trigger trig_updateicitem on pro30..sqltest for update as insert into pkpro..testsql(select * from...

Part and Inventory Search

Back
Top