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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tfstom

  1. tfstom

    Understanding promises

    I am trying to understand how to use promises. I am having a little problem with pouchDB so I needed to go back and research how promises worked. I have the following sample page I created with three promises and three status lines (two between promises and one after the promises). <!DOCTYPE...
  2. tfstom

    Promise not working

    I was under the assumption (maybe incorrectly) that the deferred code around the code would prevent the code from jumping outside of the promise chains. I understand it would jump to something else but would not follow the "then" chains until function was done.
  3. tfstom

    Promise not working

    I am using PouchDB to handle some local database processing and I am having an issue setting up my promise to work correctly. In essence I have the following: ... }).then(function () { return initialize(); }).then(function () { return updateWorkIssuesJson()...
  4. tfstom

    How to modify cell before SSRS totals your rows

    I have some cells that are duplicate values. I can blank or zero out a cell by comparing it to the previous column (using Previous() or a code method. The problem is that the summing seems to be done before these expressions or code are applied. So even if I clear the cell, the original value...
  5. tfstom

    Variable Data in a page header

    I can't seem to get values from my dataset in my page header where they change as my values change. Part of the issues is that I have multiple datasets and therefore cannot directly access the dataset form the header. I have a dealer and a region in my dataset. I have tried to add a variable...
  6. tfstom

    I am trying to order a set of numbe

    I am trying to order a set of numbers in Linq. var columns = source.Select(columnSelector).Distinct().OrderBy(x => x? x => x in intellisense only has normal object selections (Equals, GetHashCode, GetType and ToString). columnsSelector is passed as: "Func<T, TColumn>". This is just a list...
  7. tfstom

    Linq sort a list inside another list

    I have a list of books that I have grouped, summed and ordered the groups. But I can't figure out how to order the books within the groups. I have the following: public class Book { public string Title; public string Author; public string Genre; public...
  8. tfstom

    Class and links

    It does help. I got the a:link:visited syntax from another source that said this works fine. The deal was that if the 2 selectors are going to be treated the same for one or more properties, you can use this syntax. All I am trying to do is make sure that the Link items in our menu on the...
  9. tfstom

    Reading a Doc file from .net

    Is there a way to read a file from .dot net and just get the text? I am looking for a way to do this in .net or VB. I have about 300 documents that need to be added to our database and web page. I need to get the 1st readable line to use as a title or subject. The problem is that .doc files...
  10. tfstom

    Class and links

    I am just adding the class to my table tags or <td> tags and it seems to work fine. Was just curious if I needed to also add the class field by itself as well as the class and the pseudo classes (a:visited). a:visited:link would be the same as a:visited, a:link Thanks, Tom.
  11. tfstom

    Pictures not coming together

    That was the right direction. I also need to align the 3rd <td> to the right (and make it a fixed size and it works fine. Here is the code I ended up with that works as I wanted. <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000099"> <tr...
  12. tfstom

    Class and links

    Do I need to have a class definition if I am just using it for links? For example, I have the following class - MenuLinks - that I want to use in my menu. This is the only place I am going to use it. I set up the following: .MenuLinks a:link:visited { font-family: Arial, Helvetica...
  13. tfstom

    Pictures not coming together

    The first part of the table is: <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000099"> <tr height="100"> in my CSS file I have body { margin: 0; padding: 0; } This will all the table to fill the whole screen, no matter what size the browser...
  14. tfstom

    Pictures not coming together

    I have a logo that was originally 625x100 pixels. The problem is that if I put it in browser it stretches the image. So what I did was slice the image into 3. The middle slice is just a solid color with a strip that is a solid color, so this is the piece I use to stretch, since it won't...
  15. tfstom

    Html page inside another

    I did try to include the HTML page, but it didn't work. It messed up the tables and the rest of the page. Also, I was just looking for a way to quickly (and temporarily) put our current pages into a framed window (not to be confused with frames) just to be able to get the whole site up quickly...

Part and Inventory Search

Back
Top