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 strongm 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. GuardianOfTheFlame

    [Enum Implementation] can I loop through class constants?

    hi all, my question is (regarding the ReportType class): is there a way to loop through the costants defined in the class? this is my enum implementation: final class ReportType { const Total = 'total'; const SpecificCenter = 'specific_center'; const AllCenters = 'all_centers'...
  2. GuardianOfTheFlame

    can a trigger know info about the process raises it?

    Hi all, in my database, I have: - a table "Visit" - a stored procedure "sp_create_visit" - a table "logs" CREATE TABLE `logs` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `operation_type` int(2) NOT NULL DEFAULT '1' COMMENT '1=no changes; 2=insert, 3=update, 4=delete', `users_id` int(11)...
  3. GuardianOfTheFlame

    limit number of parameters in a stored procedure

    Hi all, is there a limit to the number of parameters in a stored procedure? I have an engine that generate a "CREATE PROCEDURE" script that receives in input a list of columns. I cannot find a way to pass an array parameter in MySQL, so the XSLT must create a parameter for each column: CREATE...
  4. GuardianOfTheFlame

    Cursor for a prepared SELECT

    Hi all, how can I create a cursor for a SELECT statement previously prepared? I must do something like this: DECLARE cur CURSOR FOR SELECT * FROM <tab> WHERE Id=<id>; <tab> and <id> are parameters passed to my stored procedure. Can I prepare the SELECT statement and then assign it to the cursor...
  5. GuardianOfTheFlame

    MySQL stored procedure output parameters

    Hi all, I'm using a MySQL database that contains some stored procedures. Some of them have output parameters. How can I call those sproc? I've tried using mysqli, but I cannot understand how to call a procedure that execute a SELECT statement and use 2 output parameters. :-| i.e. how can I...
  6. GuardianOfTheFlame

    server/client communications changing their roles

    Hi all! This is the problem: I have a server application and various clients that show data using a grid. I would like that when a client asks the server to save data in the db, the server sends the changes to the other clients (so that they can refresh their data). I use a MarshalByRefObject to...
  7. GuardianOfTheFlame

    XSLT: remove CRLF from a string

    Hi all, how can I remove CRLF chars from a string? I have this fragment of XML that create a javascript output: <xsl:text> dd.elements["</xsl:text><xsl:value-of select="@domid"/><xsl:text>"].props["content"] = "</xsl:text> <xsl:call-template name="cleanQuote">...
  8. GuardianOfTheFlame

    XSLT function and VS2005

    Hi all, I use Visual Studio 2005 to create my xsl transformations but I don't understand how can I use functions. Searching on the internet I see that exists the tag <xsl:function> but VS doesn't recognize it (and in the MSDN index this tag is not documented)... is there an other way to create...
  9. GuardianOfTheFlame

    XSLT and HTMLinput tag not closed

    Hi all, I have this XSLT: <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="yes" /> <xsl:template match="/"> <html> <head> <title><xsl:text>Actide -...
  10. GuardianOfTheFlame

    XSLT formatting

    Hi all! I have an XML file representing the definition of a page (a list of items such as radio, check, paragraph and textbox with their properties) and an XSL Tranformation used to visualize the page as HTML. The problem is the formatting of the output (HTML), full of tabs, spaces and carriage...

Part and Inventory Search

Back
Top