table

Troubleshoot div that won't stretch

Hi, I have a web page that has several divs embedded and I'm having a problem when a table has too many rows; when it does, the containing div falls short and bottom ones are displayed on top of the background instead. Any hints on how to troubleshoot this ? I've tried setting several attributes to the different divs with no luck? Than...

sql server 2005 - return single row when 2 records in right table

Hi, I have two related sql server tables ... TableA and TableB. ***TableA - Columns*** TableA_ID INT VALUE VARCHAR(100) ***TableB - Columns*** TableB_ID INT TableA_ID INT VALUE VARCHAR(100) For every single record in TableA there are always 2 records in TableB. Therefore TableA has a one-to-many relationsh...

BIRT PDF report : fixed table heigth?

Hi, I am trying to display a table to display of products (rows) in a single A4 fixed layout page. I manage to add a table with header/detail/footer sections but I can not set a minimum heigth for the detail section (150mm for example). If I set a 150mm heigth on the detail row, then Each row will have that 150mm heigth. Whereas I would ...

jquery ui draggable custom helper element

Im working on building a jquery plugin to re-arrange the order of columns in a table NOT table rows! I'm using the jquery ui draggable/droppable libraries to do this. The table header cells are the draggable elements. Once a header cell is dragged I want the helper element to be a cloned verson of the table column. So far I've come up ...

VB.NET LINQ to SQL Delete All Records

I am having problems with deleting all records in a table with VB.NET. I am using this code to delete all records in the Contacts table For Each contact In database.Contacts database.Contacts.DeleteOnSubmit(contact) Next But I get this error Can't perform Create, Update or Delete operations on 'Table...

Help Auditing in Oracle

Hello everybody I need some help in auditing in Oracle. We have a database with many tables and we want to be able to audit every change made to any table in any field. So the things we want to have in this audit are: user who modified time of change occurred old value and new value so we started creating the trigger which ...

[VB .NET] Table with 3 columns. How can I make the middle one autogrow?

hey there. This might sound a really simple issue but it's kind of driving me nuts. I have a table with 3 columns. The first column has some numbers in labels. The second column has a ListView, and the 3rd column has some small buttons. What I want is that when the user maximizes the window, the column that grows is the middle one and...

Why do Lua arrays(tables) start at 1 instead of 0?

Hi, I don't understand the rational behind the decision of this part of Lua. Why does indexing start at 1? I have read(as many others did) this great paper. It seems to me a strange corner of a language that is very pleasant to learn and program. Don't get me wrong, Lua is just great but there has to be an explanation somewhere. Most of...

PHP HTML table is too wide

I have a table that I cannot get to size correctly. The table populates with information from a database via a loop. Sometimes if the data is too long the table extends past where it should. When the data is that long I want the data to wrap in the cells so the table stays where it should. I have tried the normal table data but it ...

A better alternative than   for showing empty HTML table cells?

It's a classic problem - when you have an empty table cell the browser doesn't render borders around it. There are also two well-known workarounds. One is to place an   in the table cell; the other is to use the empty-cells:show CSS property. Unfortunately both have drawbacks.   is kind of ugly when it comes to selecting text ...

Buttons are wrapping when rendered HTML/ASP.NET

I am using ASP.NET. I have an html table. One of the table cells (td) has two buttons. Just recently, when it is being rendered it is wrapping the buttons. Can anyone tell me why this is happening? Thanks! ...

Need help with many-to-many relationships....

I have a student and faculty table. The primary key for student is studendID (SID) and faculty's primary key is facultyID, naturally. Student has an advisor column and a requested advisor column, which are foreign key to faculty. That's simple enough, right? However, now I have to throw in dates. I want to be able to view who their advi...

How do I sort a hash table in javascript?

I have a javascript hash table, like so: var things = [ ]; things["hello"] = {"name" : "zzz I fell asleep", "number" : 7}; things["one"] = {"name" : "something", "number" : 18}; things["two"] = {"name" : "another thing", "number" : -2}; I want to sort these into order by name, so if I iterate through the hash table it will go in order...

LaTeX table too wide. How to make it fit?

I just started to learn latex and now I'm trying to create a table. This is my code: \begin{table} \caption{Top Scorers} \begin{tabular}{ l l } \hline \bf Goals & \bf Players\\ \hline 4 & First Last, First Last, First Last, First Last\\ 3 & First Last\\ 2 & First Last\\ 1 & First Last, First Last, First Last,...

Erlang: Find intersections in a ets table

I have an ets with the next items: [at, {other_place}, me], [other_place, {place}, {other_place}]], [at, {place}, me], [on, {surface}, {object}], [small, {object}] And I have the list [[at, door, me],[on, floor, chair],[small, bannanas]] I need to compare every item in the ets table to an item in the list and if the first one is the ...

lua table C api

I know of: http://lua-users.org/wiki/SimpleLuaApiExample It shows me how to build up a table (key, value) pair entry by entry. Suppose instead, I want to build a gigantic table (say something a 1000 entry table, where both key & value are strings), is there a fast way to do this in lua (rather than 4 func calls per entry: push key val...

block write access to table from an application in mysql

Hello, We have a CMS plugin that writes statistics to 1 table, this creates performance issues on the entire platform. We decided to use another statistics plugin which can connect to a different database server (the first plugin couldn't!) however we need parts of the first plugin. I want to lock the statistics table to prevent misusa...

Dynamic table in Asp.Net

Hi guys, i hav just created a dynmic table by clicking d button. Here I've one problem, tat s. I want to insert the dynamic table in the bottom of view1 in multiview. how can i do this? ...

Get links from a page and show them in a table?

I'd like to get the titles of some links on a webpage to show them in a table. The page links change a lot, so I don't know how to make the table "dynamic", to show the link titles correctly. Is this possible with JavaScript? ...

importing csv file into pgsql

ok im trying to upload this csv file onto my table in pgsql but im getting this error ERROR: invalid input syntax for integer: "mlname,mfname,slname,sfname,address,postalcode,membershiptype,hphone,email" CONTEXT: COPY members2, line 1, column id: "mlname,mfname,slname,sfname,address,postalcode,membershiptype,hphone,email" i really...