User Profile

Collapse

Profile Sidebar

Collapse
jamesm6162
jamesm6162
Last Activity: Jul 19 '08, 06:04 AM
Joined: Mar 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jamesm6162
    started a topic Absolute Positioning problem in IE6

    Absolute Positioning problem in IE6

    I have an image contained inside a div element somewhere in my page.

    Using javascript in the onclick event of the image, I change the position of the image to absolute and change the top and left of the image in order to enlarge it across the screen.

    Everything works fine in Firefox, IE7 and Opera, but not IE6.

    In IE6, the image stays inside the div, but most of it gets hidden behind the div because the...
    See more | Go to post

  • jamesm6162
    started a topic XSLT vs DOM
    in PHP

    XSLT vs DOM

    I want to insert some formatted XML data into my webpage using php.

    My question is which option would be the best choice in terms of performance:

    1.) Using the php DOM functions and iterating over the structure mannually

    2.) Or using the XSLTProcessor class and simply creating an XSLT stylesheet to use with it. (3 lines of php code)

    Note: I do not need to write to the data, only read from...
    See more | Go to post

  • jamesm6162
    started a topic post_max_size
    in PHP

    post_max_size

    Hi

    Suppose for a moment that you do NOT have access to the php.ini file....

    Okay, now, I have a form to upload images and it does contain the MAX_FILE_SIZE hidden input field, and it does appear before the file upload input field.

    It sets the max upload size to roughly 3MB

    The current value of the php directive post_max_size is only 2M.
    If I try to upload a file of about 6MB, it gives...
    See more | Go to post

  • jamesm6162
    started a topic XSL-FO table problem
    in XML

    XSL-FO table problem

    Hi I have the following XSL-FO document that I'm testing with the FOP processor.

    The table I put in, however, is completely stuck to the left side of the body-region, regardless of which margins or paddings I insert. How do I indent the whole table?

    This is extremely frustrating.

    Thanks

    Code:
    <fo:flow flow-name="xsl-region-body">
    			<fo:block space-before="5mm"
    ...
    See more | Go to post

  • jamesm6162
    replied to XPath & namespaces
    in XML
    Ah yes of course. Thanks
    See more | Go to post

    Leave a comment:


  • jamesm6162
    replied to Combobox changes data
    Yes i am, in fact i didn't use any code at all.
    I just selected a new data source from the Data menu and basically dragged the icon of the datasource from the data sources explorer window onto my form.

    The components appeared automatically. They are the Dataset, MemberBindingSo urce, MemberTableAdap ter, and MemberBindingNa vigator.

    So I ended up with a grid, a few edit boxes and comboboxes on my form.
    See more | Go to post

    Leave a comment:


  • jamesm6162
    started a topic XPath & namespaces
    in XML

    XPath & namespaces

    Hi

    I have an XML document that I want to transform using MSXSL.exe:

    Code:
    <EA:Coming_So on xmlns:EA="http://www.ea.com">
    <EA:Game>
    ....
    </EA:Game>
    </EA:Coming_Soon>
    This is probably a very dumb question.

    How do I access the root element, EA:Coming_Soon, using XPath?

    I tried /EA:Coming_Soon, but I receive...
    See more | Go to post

  • jamesm6162
    started a topic Combobox changes data

    Combobox changes data

    Hi

    I'm very new to VB.

    I have a few combobox linked to a datasource with a memberbinding source.
    But everytime i select a different record in the combobox it not only moves to the selected record, but also changes the old record (that i had selected) to the new value.

    Why does it do this and how can I stop it from happening.

    Thanks
    See more | Go to post

  • jamesm6162
    started a topic PHP error regarding Arrays
    in PHP

    PHP error regarding Arrays

    I use function to change a password in an xml file using simplexml. It works fine on my local server, as well as from the remote server when I use firefox, But for some reason, when I use IE and test the remote page it gives me the following error:

    Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in somepath.php on line 530

    Here is the code snippet it points to:
    ...
    See more | Go to post

  • jamesm6162
    replied to Getting Unique values with GROUP BY
    Ok thanks alot for the help.

    Im off trying to create the compound query to eliminate these duplicates

    cya...
    See more | Go to post

    Leave a comment:


  • jamesm6162
    replied to Getting Unique values with GROUP BY
    Okay I see what you mean.

    I tried your way above and got 6888 records as opposed to the 6420 unique personnel_numbe rs in the table.

    Just as a test, if i do the following:

    Code:
    Select period, personnel_number FROM myTable 
    GROUP BY period, personnel_number
    And I get fewer results than when i simply say:
    Code:
    Select period, personnel_number FROM myTable
    then it means I...
    See more | Go to post

    Leave a comment:


  • jamesm6162
    replied to Getting Unique values with GROUP BY
    Yea sure.

    They are:
    period (datetime), personnel_numbe r (nvarchar), ppaygrade(nvarc har)

    The table serves as records of updates. I want to retrieve the latest (period) update for each personnel_numbe r, with the updated ppaygrade value for that period...
    See more | Go to post

    Leave a comment:


  • jamesm6162
    replied to Getting Unique values with GROUP BY
    No it doesn't work.
    I get way too many results....
    See more | Go to post

    Leave a comment:


  • jamesm6162
    started a topic Getting Unique values with GROUP BY

    Getting Unique values with GROUP BY

    Hi

    I'm trying to create a view containing 3 fields, all from the same table.

    Here's what I have:

    Code:
    SELECT MAX(dateField), field2, field3
    FROM table1
    GROUP BY field2, field3
    Basically I want the highest dateField for each field2, and then just add the corresponding field3 next to it. But this query doesnt give me unique values for field2

    If I leave the field3 out...
    See more | Go to post

  • jamesm6162
    started a topic MSSQL Equivalent for SHOW CREATE TABLE

    MSSQL Equivalent for SHOW CREATE TABLE

    Hi

    I need to convert the queries in a php system from MySQL to MSSQL.

    What is the equivalent for SHOW CREATE TABLE?

    Thanks
    See more | Go to post

  • jamesm6162
    started a topic How to get an element in ASP

    How to get an element in ASP

    Hey all.

    Lets say I want to make an element (ex. an HTML select element) invisible when the user clicks a certain button.

    How do I access that element in an ASP page, using VBscript (I will be using a database)?

    Thanks
    See more | Go to post
No activity results to display
Show More
Working...