Forum Array

Table Partitions On Existing Tables.

Hi guys , assuming right now I already create partition function (PF_Date) and partition scheme (PS_Date). Let say I would like to implement the partition on the existing tables ( eg: transaction table which is in PRIMARY filegroup), how am I switch it from PRIMARY to PS_Date ?  Is it I have to re-create the particular table then only able to put in the partition scheme? Hope can get any assistance here. Thanks alot.   Best Regards,            Hans

View Answers

Very Similar Questions

(RESOLVED!!)Need Help With Code For Checking If Data In Temp Table Is In Another Table
www.vbcity.com
Hi all,I have a code that will write my data from a tempimport table to a orderstable. Then deletes the temptable. What I need help with is how to check a value in my temptable before writing it to my orderstable. Below is the code I have so far and it works great but doesnt check for duplicate data before writing.I have looked at alot of differnt codes here and just can not seem to get a code to work correctly.I am using VB6 and the tables are in a SQL 2000 serverCode:Private Sub cmdImport_Click()Dim rst As ADODB.RecordsetDim xrst As ADODB.RecordsetSet xrst = GetRecordSet("select * from tempimport")Set rst = GetRecordSet("orderstable")Do While Not xrst.EOF    With rst        .AddNew        !ponumber = xrst!ponumber        !sfname = xrst!sfname        !slname = xrst!slname        !pfname = xrst!pfname        !plname = xrst!plname        !phone = xrst!phone        !streetaddress = xrst!streetaddress        !aptnumber = xrst!aptnumber        !city = xrst!city        !State = xrst!State        !zipcode = xrst!zipcode        !student = xrst!student        !studentpassword = xrst!studentpassword        !Parent = xrst!Parent        !parentpassword = xrst!parentpassword        !isp = xrst!isp        !isppassword = xrst!isppassword        .Update    End With    xrst.MoveNextLoopMsgBox ("Import Finished")GetRecordSet ("delete tempimport")End SubCode:Function GetRecordSet(ByVal SQLString As String) As ADODB.Recordset  Dim myConnection As New ADODB.Connection  Dim myRecordSet As New ADODB.Recordset  'assign connectionString  myConnection.ConnectionString = ODBCString    'open SQL database  myConnection.Open    'set CursorLocation  myRecordSet.CursorLocation = adUseClient    'get recordset  myRecordSet.Open SQLString, myConnection, adOpenDynamic, adLockOptimistic    'return adodb.recordset   Set GetRecordSet = myRecordSetEnd FunctionThanksClarkEdited by - clark on 2/15/2005 9:50:20 AM

Count From Table Code And Show How Meny Record With The Code Are In Table Info
www.vbcity.com
Count from table Code and show how meny record with the Code are in Table Info--In Field Code in Table CodenameI use this CodenameUSISENI am traing to count how many record are in Table Info with this Codename = US,IS,ENand if I add more Codename into Field Code I still can count from Table Codehow many recoer are in Table InfoIf somone can show me A sample so I can tray this and use to count and show the sum into ListboxTable CodeField CodenameTable InfoField Codename

Using Boolean 'and' To Update A Table Based On Values In A Link Table
www.access-programmers.co.uk
The attached Access XP file demonstrates my problem. I've included a form to make testing easier. Each record in the Projects table has one or more linked entries in the Keywordlink table, showing keywords that apply to that record. Each record in Projects has a Yes/No 'Utility' field. A third table, Keywords, supplies the keywords that the user can apply to records in Projects, using the subform on the main form. The Keywords table also includes a True/False 'Utility' field. I have set this to True for for the first three keywords. I need a query, a series of queries or some VB code that updates Projects_Utility for all records to True if and only if the record's linked entries in Keywordlink include all of the keywords for which Keywords_Utility is True (a boolean 'and', as opposed to an 'or'). Otherwise, Projects_Utility must be set to False. In the attached file, with the current settings in the Keyword table, the 'GetSelectedProjects' query should then produce single-row listings for ClientA and ClientF. I'd appreciate any help you can give me on this. I'm not a programmer, but I can manage a bit of VB code if I have to.

JQuery :: Drag Table Columns Of A Ajax.loaded Table
forum.jquery.com
I want to drag table columns of a ajax.loaded table.... is this possible with a jQuery-Script?

MVC :: How To Connect A Controller/Model To Existing Database Table
forums.asp.net
I'm having trouble connecting to my model to my existing database using Entity Framework .  Here is the code I'm working with: [Code]....

Can Not Link Access To A Table
www.access-programmers.co.uk
I’m trying to ling access to a table in Informix/Unix and I got this error “The operation failed. There are too many indexes on table xyz_Informix Delete some of the indexes on the table and try the operation again” This is the only table I’m bringing in to access. I do not want to use any of the indexes. How can I fix this problem? Can I modify the registry to accept more indexes? Thank you Joe

VB Code To Archive Data Via Command Button From One Table To Another
forums.aspfree.com
I am reasonably new to writing VB Code managing uptil now to get by on wizards and queries. Please help: I am trying to programme an on click event from a command button to recognise when a record held within a table is ready for archiving. Unfortunately I cannot get it to do anything, any advice would be welcome before I take the long walk out of the window? Private Sub cmdArchive_Recs_Click()On Error GoTo trappingRoutine Dim db As Database Dim rs As Recordset Dim x As Variant Set db = OpenDatabase("I:WORDLWMBriefcaseDatabaseWIP.mdb") Set rs = db.OpenRecordset("select * from tblAction where [lblArchiveFlag]=-1") x = rs.RecordCount MsgBox (x) Exit Sub trappingRoutine: Call modLorisMods.inLineTrapper(err.Number, err.Description)eam. Lori:<

How To Run Mysql Create Table Script Into MsSQL
www.sqlteam.com
Dear All, I have the table creation script and insret record script. This is MySQl Format. What changes I have to do so can I run this scripts into SQL Server 2000. If any body has successfully done it then please tell me the procedure. CREATE TABLE `activity` ( `id` bigint(20) NOT NULL auto_increment, `object_type` varchar(60) default NULL, `object_id` varchar(20) default NULL, `person_id` bigint(20) NOT NULL default '0', `activity_dtm` datetime NOT NULL default '0000-00-00 00:00:00', `activity_type_cd` varchar(25) NOT NULL default '', `description_code` varchar(200) default NULL, PRIMARY KEY (`id`), KEY `FK9D4BF30FB4715636` (`activity_type_cd`), KEY `FK9D4BF30F270CDEE0` (`person_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `activity` -- -- -------------------------------------------------------- -- -- Table structure for table `actv_type` -- CREATE TABLE `actv_type` ( `code` varchar(25) NOT NULL default '', `description` varchar(100) NOT NULL default '', `void_ind` char(1) NOT NULL default '', PRIMARY KEY (`code`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `actv_type` -- INSERT INTO `actv_type` VALUES ('job_create', 'Created job', 'F'); INSERT INTO `actv_type` VALUES ('job_update', 'Changed job', 'F'); INSERT INTO `actv_type` VALUES ('job_void', 'Voided job', 'F'); INSERT INTO `actv_type` VALUES ('job_activate', 'Activated job', 'F'); INSERT INTO `actv_type` VALUES ('job_deactivate', 'Changed job to deactive', 'F'); INSERT INTO `actv_type` VALUES ('job_appl_create', 'Created application', 'F'); INSERT INTO `actv_type` VALUES ('job_appl_update', 'Updated application', 'F'); INSERT INTO `actv_type` VALUES ('intrv_create', 'Created interview', 'F'); INSERT INTO `actv_type` VALUES ('intrv_update', 'Updated interview', 'F'); INSERT INTO `actv_type` VALUES ('person_update', 'Update person', 'F'); INSERT INTO `actv_type` VALUES ('person_create', 'Create person', 'F'); INSERT INTO `actv_type` VALUES ('company_void', 'Voided company', 'F'); INSERT INTO `actv_type` VALUES ('company_create', 'Created company', 'F'); INSERT INTO `actv_type` VALUES ('company_update', 'Updated Company', 'F'); Thanks in Advance.

How To Link Mssql Data (tables) In Notepad (HTML)
www.sqlteam.com
menardo writes "Hi there! I'm a very newbie in SQL programming. Can anybody help me how do I start to learn scriptings. Can you give me the process or scripts on how to export it?? Thanks in advance. -menardo"

Update A Query Table From A Command Button
www.vbcity.com
i need that a spreadsheet from the active control menu in front page shows a query from my access database. I can do this already but I need it to refresh everytime a person enters the page. I believe I need a button with a module in it that would refresh the database once pressed. I just don't know how to go about it. Any input?

How To Delete A Record In Access Table Using Command Button In VB
visualbasic.ittoolbox.com
hi,i have a supplier table in access.in vb form i have command button,text1.when user press the command button it should delete the specified record (i.e. text1.text).Please suggest me code for ADODB or ADODCnote: i am using ADODCthank youregardsmadhu

Open A Table With Code To Enter Data
www.xtremevbtalk.com
Hi Folks I am fairly new to VB. My problem is this.I have created a form in Vb, i want to open a table in an access database. i need open the table in edit mode so i can enter data imeadiatly. The next problem is how do you add a new record, using code?Thanks in advance.

Link Data / This Is Not Easy To Do, Who Can Help/link From Table Cust To Table Works
www.vbcity.com
HII am making a database to hold on customerthe database is ok and worksbut when I make new record and call customerand then I need to put on the customerthe work and it can be 1 or 5 or more worksThen I need to write to table cust the customerand to table work the work I put on the customerI am traing to link from table cust the record IDand the record in table work If someone can show me sample how I can do thisI realy realy need this Please someone help meor where I can find working sample, "only add new" "Delete" "and call data"this is wery important for me to make this workI use dbgrid to show the customer worksin table cust I use fieldName addressphonein table works I use fielddatenrtextcostcost2link = same number and ID in custssalomon@simnet.isMSN: siggisal@hotmail.comssalomon

Building A Table In Vb6
www.xtremevbtalk.com
i normally work in access, but i am trying to learn vb. i have vb 6 installed, but cannot for the life of me figure out how to design a table in vb. ms website is not much help, eveyrthing i read tells me to connect to foxpro or access tables. is that truely what i have to do, or can tables be built within vb, and if so how? thank you

Move Access 2000 Database Relink Tables W/transferdatabase Command
www.vbcity.com
Hi All,I have search this forum, found sound answer that came close but not enough information. I am trying to relink tables from a postgres database to access 2000. I am using docmd.transferdatabase which is working, but; I am prompt with a dialog box "Select Unique Record Identifier". I have put a "create index" statement in my code and I am still getting prompt with a dialog box. Does anyone have any suggestions. By the way, I am using a odbc connection. Partial code follows:'Open the connection    With cn        .Open "DSN=dsnconnection"    End With    If init = 0 Then 'Detect if this is the first time we have run this function       init = 1 'Mark we have been through here    End If    strSQL = "SELECT viewname as vname " & _              "FROM pg_views " & _             "order by viewname"    With rs        Set .ActiveConnection = cn        .Open strSQL    End With    On Error Resume Next    Do While Not rs.EOF       stable = rs![vname]       rs.MoveNext       If (stable = "acct_devices_v") Then          On Error Resume Next          DoCmd.DeleteObject acTable, stable          On Error GoTo 0          DoCmd.TransferDatabase acLink, "ODBC Database", "ODBC;Database=myDatabase;UID=username;PWD=password;DSN=dsnconnection", acTable, _stable, stable          DoCmd.RunSQL "create unique index myIdx on acct_devices_v(id);"       End If    Loop    'CleanupIf rs.State <> adStateClosed Then rs.CloseSet rs = NothingIf cn.State <> adStateClosed Then cn.CloseSet rs = NothingEnd SubThank you for your help.B. Davis-

Link Table From .mdf (sql Srv) File Into Access Db
www.access-programmers.co.uk
i have a pc which doesn't have sql server installed. is it possible to link tables from .mdf file sitting on the pc into access database?

Link One Table From MS Access To Outlook
www.access-programmers.co.uk
Hi, I have a question. Can MS Access table link to Outlook? Suppose there are Tom and Sue persons: Sue manage the acc.mdb database file, The database has one table which is called "input", Sue made the form, the form is come from "input" table info. and also Sue made one button to send the specific record to the Tom via outlook, once Sue send out, the mail has created a link, which link can open the document (NOT attached file). Once Tom receive the mail from Sue, Tom will click the link to open the document, and also fill out one signature inside the document, after filled it out, then the signature will automatically populate in the specific field of the "input" table in the acc.mdb database file. Can MS Access and Outlook do above situation? Please let me know, thanks a lot.

Access Link Table To MS Outlook Contacts
www.access-programmers.co.uk
I'm importing MS Outlook Contacts to Access by "Access Link Table". I have a data in "Contacts Note Field", but this field is not importing to Access. Only following fields are inporting to Access. First Last Title Company Department Office Post Office Box Address City State Zip/Postal Code Country Phone Mobile Phone Pager Phone Home2 Phone Assistant Phone Number Business Fax Home Fax Other Fax Telex Number Display name Email Type Email Address Account Assistant Send Rich Text Primary File As Home Address Business Address Other Address Journal Web Page Business Address Street Business Address City Business Address State Business Address Postal Code Business Address Country Business Address PO Box User Field 1 User Field 2 User Field 3 User Field 4 How to fix it?

Link Access Form To A Table Stoed On An Intranet Site
www.access-programmers.co.uk
Dear all, Does anyone know if ti is possible to link an access table to one stored on an intranet site? This is used for logging help desk calls and various locations need to look at it at the same time. I have tried it and seems to work but I get a "Not a valid file name" message thanks for looking

Rename Access File With Excel Pivot Table Link
www.access-programmers.co.uk
Hi, I would like to rename my access file. My problem: I have many pivot in excel link to this database so if i rename it all the links will be down...How can i resolve this?:confused: (of course rebuild all pivots could be a solution but I have around 50 pivots behind my database) Thanks for your help!

MS Word Link MS Access Table Data - Avoiding Duplicates
www.access-programmers.co.uk
Hi All, I have an MS Access table that currently links into word as a mail merge. Great! Sample data as follows: Tutor Student Mr A Donald Duck Mr A Mickey Mouse Mr A Minnie Mouse Mrs B Joe Bloggs I want to produce a mail document that allows me to address each tutor separately, along with the respective student names in a grid. Now I've setup the document, but when I view each document it produces the list of all students for each tutor. e.g. Dear Mr A Your students are: Donald Duck Mickey Mouse Minnie Mouse ------------------- Dear Mrs B Your Students are: Joe Bloggs Is this at all possible? Thanks:)

Link-table To A Table In A Database Stored Online??
www.access-programmers.co.uk
Hi all, I have a database I use for a company I am in the process of setting up. I also have a website for this company. I am looking to build a form of online account management/viewing for my customers. The database I have on my office machine has a table for customers, jobs, accounts etc. I would like the customers and accounts (financial info) tables to be stored on the same server as my website within an access database sitting in the root web folder. Is it possible for me to create a linked table within the database on my office machine to the access database stored on my web server. I have a hosting account with names.co.uk so the web server is not actually mine. Is this possible? Anyone done this before. I have tried the obvious way of just making a linked table but I get an error message saying "Not a valid file name". I would be very grateful of any help. Thanks Gaz

Table Link
www.access-programmers.co.uk
Is it possible i create one master table and link few table together?? In the mdb that i attached there have 3 table - tblMaster, tblConfiguration1 and tblConfiguration2. Using the relationship to link tblMaster's field Configuration to other 2 table Configuration field but there only showing 1 table data. Is it allow in tblMaster able to show this 2 table together??

Can't Link New Table
forums.aspfree.com
hi I have a new table that I added to the back end of my Access 2003 database. I compacted & repaired both the front and back and I can't see the new table in the front end still. Do you know why this is?? I can't find anything on this. thanks-

No Link Table Manager
www.access-programmers.co.uk
I am working on a new system. Have been given Full MS Access but Link Table Manager fails it gives a standard security warning that this new system enforces it says Opening: CProg..FilesMSOfficeOffice11ACWZTOOL.MDE however on selecting OPEN nothing happens. If Cancel is hit then long critical message saying in short " Can't find wizard , syntax error in delerations in VB. Likewise I cannot link to a spreadsheet without using the manager. Question is there anything I can do or is it the fact that these are options were not installed and it is an administrators job?

Table Link Manager
www.access-programmers.co.uk
I searched the internet and different forums, but could not find the solution for my problem. In Access 2003 I splitted the database and made a mde file of the frontend. When I copy the front and backend to another computer it cannot find the backend due to the original path is included. To solve this I would like the database to link the backend that is available in the directory of the frontend. No more and no less. Is this possible? I find a lot of questions in this direction, but could not destilate a solution.

Link Table To Excel
www.access-programmers.co.uk
Access 2000 How do I link a table to excel table so if I add or change things it changes in the other. Bub :rolleyes:

Read Only Table Link
www.access-programmers.co.uk
Is it possible to create a table link that is read only. I realize that there a a number of work-arounds, but I'm curious about this functionality specifically.

Link Table To Form
www.access-programmers.co.uk
Hiya Please be gentle I am no expert at this sort off thing..... Is there a way of clicking on a line in a table and the relavant form opens in a new window. You can then edit the form and the table is updated. Thanks Gibby

How To Remove The Table Link?
www.access-programmers.co.uk
anyone know how to remove the table link (not delete linked table) at run time?

Link Table Issues
www.access-programmers.co.uk
I have a frontend and backend database put in a network drive where users can access to the frontend version which has tables linked to the backend. When I set up the link tables from the frontend to the backend, Access points to a local drive letter in my computer. For example, if I map the network drive where the databases are, say to Drive R:, the link table in the frontend will always point to tables in the backend on R:. If other user map the same network drive to drive letter other than R:, the table links between the frontend and the backend will be broken. I wonder if anyone knows a way to set up table link with a physical path instead of a local drive letter? Thanks Mike :rolleyes:

Combo To Link Table
www.access-programmers.co.uk
Hi.. i have a combo1(InvoiceNo) that look up the values in a table, (there are invoices numbers on it) In the Invoices table i have InvoiceNo (that is the key) and other fields like InvoiceCity, SaleDate, etc I need to store the current date in Invoices.SaleDate = now() in Invoices table that matches with the combo1. The Form has as RecordSource, Customers Table Any tip or hint???

How Do I Link 2 Tables To Act As One Table?
forums.aspfree.com
What I need is a table that will hold a primary key field and 16 text fields at 255 characters per field. (NO memo fields) This will total about 4,080 characters but Access 2000 limits the record size to 2,000 characters. I have two tables with 9 fields in each table in a one to one relationship as follows: Table1: Primary Key = MyKey = autonumber field. Table1: 8 fields = text at 255 characters each field. (i.e. Data1, Data2, Data3, Data4, Data5, Data6, Data7, Data8) Table2: Primary Key = MyKey = number field. Table2: 8 fields = text at 255 characters each field (i.e. Data9, Data10, Data11, Data12, Data13, Data14, Data15, Data16) The problem is I want all the fields to act as though they are from a single table and to be on a single form. I don’t know how to go about the LinkChildFields and LinkMasterFields without using a SubForm. A SubForm don’t work because it expects the second table to have many records. Thanks Stan

Link Table With Code
forums.aspfree.com
Hi I am linking av table from Sybase Adaptive server anywhere 8.05 by using this code: DoCmd.TransferDatabase acLink, "ODBC", "odbc;DSN=database;UID=dba;PWD=sql;DATABASE=databas e", acTable, "trc.ansatt_dato", "trc_ansatt_dato", False This works just fine, but I gety this dialogbox where I am asked to select a unique keys or something.... . Is it possible to write a code to automatic choose OK? Anyone? eroness

Link Of Combobox From Same Table
forums.aspfree.com
I thought i had this fixed, but i cant seem to get this working. I have 1 table called AGENTALL and i have 2 colums. Agents and manager. So it would look like Agent Manager Dave Carmen Bill Gates There each agent has an assigned manager. I have a form that has 2 combo boxes, 1 agents(cmbagent) and 1 managers(cmbmanager) I need this to work like if i select manager it lists the managers, which works and if i select a specific manager the agent combobox will only be populated with the agent names associated to it. Anyone able to assist it would be greatly appreciated. Thanks,

Query('LOCK TABLES `a`, `b`, `c` WRITE');?
www.phpfreaks.com
just been looking at some code: <?php function updateStuff() { DB::query('LOCK TABLES `a`, `b`, `c` WRITE'); [code]...

Lock A Table For Read Mysql?
stackoverflow.com
I want to lock a particular table for reading but when I queried mysql_query("LOCK TABLES unique_voucher READ"); into the database it allows me to read only this table but not the other tables. Is it possible to lock this particular table ONLY and does not allow the users to query this table until some process is finished? (this is because i am holding a counter and if a lot of users connect at once they can get ambiguous numbers , so until one user is ready with once process I want to lock the reading for a table)

Script To Read/write/amend/delete On The Tables In A Mysql Db
www.webmasterworld.com
Running on a unix box and looking for a good (free!) php script I can use to read/write/amend/delete on the tables in a mysql db. Been searching for a while but can seem to find one with a good web front end to use.

To Write An Array To A Table
groups.google.com
I have a javascript array to pass to PHP: var javascript_array={{"1","Elisab eth","London"},{"2","Antony"," Paris"},{"3","Augusto","Roma"} ,{"4","Tom","Miami"}} I transform it into a string var string="1,Elisabeth,London;2,A ntony,Paris;3,Augusto,Rome;4,T om,Miami" I separated any old array with a ";" and any element of a singhe array with...

Link Tables Interface
www.xtremevbtalk.com
I'd like to develop an interface similar to the that within MS Access where users can link tables using the Query design view by dragging a column in one table and dropping it on a column in another table. Drawing a link between the tables would be required as well (see attached). Any examples would be great.

SQL Query Two Tables At Once And Loop Result As JSON Objects
stackoverflow.com
I have a MySQL database with a table called "Locations" which looks a bit like this id | name | other parameters 1 | shop1 | blah 2 | shop2 | blah [Code].... This works, but it is inefficient calling the database through the loop, how do I avoid this?

Regex To Parse HTML Tables
stackoverflow.com
I am trying to remove the tables within an HTML file, specifically, for the following document, I'd like to remove anything within the tags <TABLE....> and </TABLE>. The document contains multiple tables with texts in between. The expression that I came up with, <TABLE.*>s*[s|S]*</TABLE>s*, however would remove the text in between the tables. In fact it would remove everything between the first <TABLE> and the last </TABLE> tags. I would like to keep the texts in between and only remove the tables. [Code]....

Postback From Clicking HTML Table Cell?
forums.asp.net
how to make a cell in an html table, like "cellMonday" below, clickable so it can do a postback, if possible. [code]....

Binding Database To HTML Tables?
forums.asp.net
I am retreiving a row  with three colomns from the database and binding to the HTML table. 1.  How to  convert  those row names to hyperlinks. 2. If i click those hyperlinks it should navigate to another page.How to do that ?

Web Forms :: Radiobuttonlist - Insertion In Movement Table Done?
forums.asp.net
I have a radiobuttonlist which contains Movement and Backup I wanna do that when Movement is clicked in radiobuttonlist insertion in Movement table will be done and when Backup is clicked ,insertion in backup Table will be done I dnt know who do i code if movement { do insertion in movement } if Backup { do insertion in backup }

Can Insert Muiple Rows Into Table Using Entity Framework
forums.asp.net
i'm trying to use Entity Framework to insert into SQL SERVER 2005, using Visual studio 2008.the following codes are a Button onclick event,I want to insert into DB multiple rows at a time [Code].... however this does not work, it seems we can only insert into DB only one row at a time

Security :: Are The Aspnet_xyz Tables Linked / Related To The Membership Providers
forums.asp.net
After running the aspnet_regsql.exe tool, i notice a bunch of different tables pertaining to the ASPNET security (e.g. aspnet_Applications, aspnet_Membership, aspnet_Paths, aspnet_Personalations, aspnet_Profile, aspnet_Roles, aspnet_SchemaVersion, aspnet_Users, aspnet_UsersInRoles). Do the different providers (AspNetSqlMembershipProvider, AspNetSqlProfileProvider, AspNetSQLRoleProvider) relate or associated with certain aspnet_xyz tables? I imagine the AspNetSQLProfileProvider is responsible for the aspnet_Profile table correct?  The AspNetSQLRoleProvider probably is tied to the aspnet_Users, aspnet_Roles, aspnet_UsersInRoles table? Any links documenting the relationship between teh providers and the aspnet_xyz tables? 

C# - .NET Exception Handling Lookup From A Table?
stackoverflow.com
My manager designed a table exactly like this [Exception] PK | ExceptionId ExceptionCode varchar(100) ExceptionDesc varchar(255) ExceptionMSG varchar(255) I'm using ASP.NET Webforms and using stored procedures/ADO.NET for DataAccess. Now he does not want me to hard code validation in stored procedures nor in the code behind, but to catch the constraint exception message and look up the same error message in the database and look for the message that we want to show. I wonder if his design will work or should I explain to him that something is wrong here.

SQL Server :: How To Get Notepad All Item In Sql Server Database Table Field
forums.asp.net
I have one asp.net application using Sql server as back end.. in sql server database i have one table which consist two fields.. ItemName and RateI have one notepad file which consist around 700 ItemName with Rate..  So how to get this ItemName and Rate in my Table...

SQL Server :: How To Know If Field In A Table Is Encrypted Or Not
forums.asp.net
if field in a sql data table is encrypted or not ??!! like a function that return true or false>>> IsEncrypted()

SQL Server :: Show 5 Random Record From Table?
forums.asp.net
i need to show for every refresh of page five categories, every time different how can i do? in SQL do not exist select RND(field)...

Add Session Variable Or Custom Field To Elmah Error Log Table
stackoverflow.com
I want to add my own session variable to elmah error log table and display it. I already have modified the source code and added the new fields to Error.cs and other fields but I don't know but when I assign an HttpContext.Current.Session["MyVar"].tostring() value to my field in the constructor it stops logging exceptions and does not log any exception. I just need to get the value of the session variable is there other way for this ? I read a post which he added fields for the email but it does not say where exactly should I get the session value. I also read that Session and Cookies ar e logged by default by Elmah but I dont know how to access them.

SQL Server :: Cannot Insert The Value NULL Into Column ReviewDate - Table "ProrsumDB.dbo.Review"
forums.asp.net
I've been working on this project which requires me to insert data into a database. Due to the complexities of the function that I am doing, it is more complex to use SqlDataSource and hence I've used the traditional method of inserting to the database. The codes are as follows: [Code].... I am not too sure why, but even though I've debugged numerous times and the data gets inserted into the database through the form view, I get this error on the page after everything is executed: Cannot insert the value NULL into column 'reviewDate', table 'ProrsumDB.dbo.Review'; column does not allow nulls. INSERT fails. The statement has been terminated. reviewDate wasn't null when I tried and there are no exception thrown.

Forms Data Controls :: Cannot Insert Explicit Value For Identity Column In Table 'UserDetails'
forums.asp.net
I have error: Cannot insert explicit value for identity column in table 'UserDetails' when IDENTITY_INSERT is set to OFF. I'm trying to insert a record through a BLL (Business Logic Layer) class with an 'Insert' button attached to the FooterTemplate of a GridView2. My code:   [Code].... [Code].... BLL layer code:   [Code]....   The field 'idUser' is autoincremented. When I use SqlDataSource with a DetailsView, add option it adds a record and autoincrements the 'isUser'.

Forms Data Controls :: How To Insert Several Checkbox Values Into A Single Column In The Table
forums.asp.net
i have a form with several checkboxes....i want to insert the selected checkbox values in to a single column in the sql database..

MVC :: Cannot Insert Explicit Value For Identity Column In Table
forums.asp.net
Following the MVC1 vers of Nerddinner, but using 2010 and MVC2. Never seen this error. Looked in controller, model, view. Where does MVC pass the identity value, and how to stop it? I have never had to set IDENTITY_INSERT in any app before.

ADO.NET :: Performing Several Operations In One Table?
forums.asp.net
I have a table in a DB in which I need to perform the following operations: 1. Order the table using index A. 2. Traverse the table and do some calculations for every row. 3. Order the table using index B. 4. Traverse the table and do some calculations for every row. 5. Order the table using index C. 6. Traverse the table and do some calculations for every row. As you can see, what I need is to process such a table several times depending upon a different index for every process. If I use a DataReader I can only traverse it one way and one time, I cannot apply another index and start from the beginning once again. What strategy should I use to achieve my goal? Is a DataTable a good choice?

ADO.NET :: Table In Edit Mode?
forums.asp.net
i have 5 records in the table Student residing in db Aparna . i am inserting the records at the click of submit button . now i want to open the table at runtime in edit mode ie my table also has edit button which when clicked opens a particular record given by the user .Edit button has 2 buttons update & Cancel.then i waant to update the record & cancel acc to need . Is this possible ? how?

Web Forms :: Set Text Box Height According To (table Column) Text
forums.asp.net
I have a multiline text box on page which has style "overflow: hidden" to hide the scroll bar. I want to set the vertical hight of that text box at runtime according to the string coming from table column. Is there any way of doing it? I have tried to put the text in array but its not working.... Dim myParas As Object myParas = Split(TextBox2.Text, vbNewLine) ln = UBound(myParas) + 1 TextBox2.Height = 22 * ln

Web Forms :: How To Use A Checkbox List And Table Valued Parameters
forums.asp.net
I have a checkboxlist that gets all all the items from a look up table. The user is going to go to the list, check certail items and insert the checkboxid, the value (0 or 1),  and the userid  into a table valued paramater using a stored procedure. I have the user defined table type created but thats about it. Any body out there have any hints.

Table Background Image Is Devided?
forums.asp.net
i m using a table with the background image.when i add my usercontrol to that table then my image is devided.i mean when the height is incresed of that control.the new image is added in that same table.i want the same image in my control.i mean when the height of usercontrol is more then the height of image then is it possible that the height of image should also be automatically incresed rather then the new image will be added.i dont want to use scrollbars in my control.

Store Form Data In Tables For User Session?
forums.asp.net
I am using Visual Studio 2008. I created a New Project ASP.NET Web Application. I created a Textbox named VisitorName.  The visitor puts in their name and it goes in VisitorName.Text There is a Label that says "Which do you own?" There is a RadioButtonList.  It has Cat, Dog and None. There is a button that says Add to list. The button needs to add the results of the above items and put them in the list. Now you keep adding people and their pets. Once there are all entered you press send and I get the results for everyone entered during that session via email. I have no database access and the information does not need to be stored in such a way. I would like to use a datatable or datalist or something to that sort. Oh and I would like the visitor to be able to click on a name in the table and edit the data using the form controls not in the datalist or datatable itself.

Web Forms :: How To Use Temporary Table
forums.asp.net
I use code below in ASP.NET but got "invalid object..." error: select * from tempdb.dbo.#temp (For test, I create #temp and insert data in SQL query window.)

GetXML From A Table Adapter In Code Behind?
forums.asp.net
I have a TableAdapter coFW_OrderDetails_Details_SPTableAdapter that exposes the method GetData. GetData accepts numerous parameters. I would like to return the data using dataset.getXML for a webservice. The code I am using to fill the table adapter is below.

Checking Of Table Is Empty?
forums.asp.net
Im want to check of a table is empty and then just return a yes or a no. What iv done so far is: [code]....

Using <input> Tags Directly Inside <table>
stackoverflow.com
I'm generating a table with multiple editable rows. like a employee every row so that you can change multiple names at the same time. I have some hidden fields inside that also need to be looped with the table rows. The problem is that having inputs inside table tags is not valid xhtml. And I don't want to wrap them inside <tr><td> tags since this would clearly make a new column for hidden fields that don't need one. Does someone know if I can wrap them inside something else to make it valid xhtml?

Static Html Table Header Code?
stackoverflow.com
I want to have the headers of this html table fixed, so as I scroll down and the headers remain static. My table header HTML: <table style="width: 425px; height: 4810px;" border="0"> <tbody> <tr class="tableizer-firstrow"> <th colspan="3"> [Code]...

The Function To Switch Values Ie For Alternating Between 2 Colors In Table Display
bytes.com
What is the php function called which allows you to alternate between two values? I've completely forgotten it and my searches in php.net have not been fruitful!

Table Layout
www.webmasterworld.com
I am trying to create an online "sign up" page for the annual church pumpkin patch. People should be able to sign up for any date between Oct 1 and Oct 31, and choose between 10-12pm, 12-3pm and 3-6pm. Then I would like to serve up the results in table format, so that as people sign up, they can see who else has signed up and for what time slot So, initially, I set up one table called "sign up" with 93 different fields...each representing a different time slot (1-1 was Oct 1, 10-12, and so on). But that seemed a little cumbersome. At first blush, what would you recommend from a table/field set up? I'd be very grateful for some input.

How To Get Oracle Table Field Definition
bytes.com
from SQL*Plus, i use: DESCRIBE MyTable and I get this result (example):

Make A Html Table Column Sortable?
stackoverflow.com
I have an html table that is populated using a text file only and is basically sorted primarily by a timestamp.I would like the option of also sorting the table data by a column ($keys) called "Server" so I can view sorted data based on the server name. Since this is not using mysql and I can't use an 'order by', is there a way to do accomplish this? How do you do this in php? Here is some of my code showing how my table is created: $keys = array('Server', 'Target','Set','Time', 'Length','Size','Status'); echo '<table id="stats_1"><tr>'; foreach ($keys as $column) echo '<th>' . $column . '</th>'; echo '</tr>'; [Code]....

Echo And Sort Info Over Several Tables?
www.daniweb.com
I have a problem whereby i cant get all my data (over 1million and different csv files) to map and import properly, so i thought it would be better to create new tables with all the information seperate (which i can do within a few seconds each time). The only problem is my code currently just checks one table, how would i get it to do the same as now but check for example 5 different tables for the information My current code is as below all connection details + <?php $result = mysql_query("SELECT * FROM TABLE Where Name LIKE 'Smith%' ORDER BY Field10 asc") or die(mysql_error()); echo "<table class = results >"; [Code]....

Html - Which Library Or Framework Supports "Table Of Content" Generation
stackoverflow.com
I am looking for a javascript on the fly "Table Of Contents" generation from HTML (with anchors).Example: <h1>First level1 heading</h1> lorem ipsum <h2>1a heading</h2> lorem ipsum [code]... with the lines linked to the headings, and also the orignal html should be returned with anchors inserted.Is there something included in one of the big javascript libraries or frameworks?If none of them has, has someone seen a good JS module for this purpose?

JQuery :: Html - Add Content To Specific Columns In Table
stackoverflow.com
I have a table structure looking something like this. One outer table and in almost each td I got an inner table. <table class="outertable"> <tr> <td> [code]....

HABTM Relationship On The Same Table In Cake?
stackoverflow.com
I was modeling a social networking style website where people would be able to have other people on their contacts list, i wanted to model this relationship as a HABTM relation on the Same table i.e User, is this a good idea? or is there a better way to do it?

Insert Row Into Middle Of Table
phpbuilder.com
Is there a lovely easy way of swapping 2 mysql rows? Come to think of it, swapping the unique IDs instead of the entire row data may have the desired effect.

Alternating Colors In Table?
www.daniweb.com
I've been able to successfully implement this bit of php that alters the color of tables for each row, but I am having a difficult time implementing it on our current web app. I am thinking I have misplaced something because the output shows one grey row where all the rest are green. I am thinking the variable is not able to loop for some knuckle-headed reason. <?php for ($j = 0; $j < mysql_num_rows($result); $j++) $i=0; [code]...

Alternating Table Row Colors?
www.phpfreaks.com
This is probably completely wrong but I am trying to figure out how to alternate table row colors.  The color I am getting is a bright green for all the rows, even though I clearly specify RED and GRAY. Code: [Select]<table> <tr> <th><div align="left">Program</div></th> [code]...

Print Table With Background Colors
bytes.com
I've a table in wich I've this CSS: ..oddrow{background-color:#FFFFFF} ..evenrow{background-color:#CCCCCC} The oddrows are white and the even are grey. BUT ! when I do print the table, there is nothing !!!

Skipping A Duplicate Table
www.phpfreaks.com
I have a page that renders out a shopping list that a user has created. the shopping_list table reads like this: mem_id | product_id | cat_id ---------------------------------     1      |       2        |    1     1      |       3        |    2     1      |       5        |    1     1      |       4        |    2     1      |       1        |    2 the code that renders out the list is: Code:

Multidimentional Table In Mysql?
phpbuilder.com
How do i represent a multidimentional (2 0r 3) table in mysql and how do i read from and add to such a table.

Find Duplicate Links In MySQL Table?
www.phpfreaks.com
I'm trying to work out how I'd go about searching my database for URLs that have been submitted by users that are duplicates. Now this isn't as simple as http://www.example.com/something.php and http://www.example.com/something.php oh no! People have entered links such as http://www.example.com//something.php or http://www.example.com///something.php The script (I didn't write it) currently see's these links as unique, but they're not. They function exactly the same way. I was thinking maybe a straight forward LIKE '%//%' in the mySQL syntax, but this will bring all URLs up due to the http:// aspect of the link

Array_multisort Syntax
bytes.com
I have a table loaded in an array like so : $table[0][ID] $table[0][text] $table[0][text2] $table[1][ID] $table[1][text] $table[1][text2] $table[2][ID] $table[2][text] $table[2][text2] ...... now I want to sort this table using the ID column.

Jquery :: Drag And Drop Plugin Between Tables?
stackoverflow.com
I'm looking for a jquery plugin that makes it possible to drag and drop between two different tables. I have a table containing search results and I want to make it possible to drag each result to another table to be able to add them to that table.

Ajax :: Drag And Drop Table Jquery Plugin
stackoverflow.com
i am using drag and drop table jquery plugin in my project. but i don't know how i can connect the new order of table with ajax to backend php script. it author of plugin has said the serialise() method should be used but i don't know how.

Ajax :: JQuery Table Rows Drag And Drop Plugin
stackoverflow.com
I'm using this plugin to enable drag and drop table rows on a page. The plugin comes with a serialize function, which passes the ID of each table row to an AJAX function, like this: [Code].... Unfortunately, the HTML ID of the row is not of much use to me. Instead, I'm trying to pass the value contained within the first TD of the row, but as of yet I'm not having much luck. I've been trying to replace the rowId variable with something like this, but all it returns is 'undefined'. var val = $(rowId + "td:nth-child(1)").value; Is there a simple way to do this? Once I get the correct values to the PHP script I will be fine, but I am still quite inexperienced with javascript.

JQuery :: Drag And Drop Table Row Ordering?
stackoverflow.com
Are there any good tutorials for Drag-and-Drop table row ordering with jQuery-UI or some other plugin? I have been searching and cant seem to find any useful samples. Of course the order of the items would also need to be persisted to my database in some way...

Jquery :: Drag And Drop Table Rows
stackoverflow.com
if there is a good library or script out there that trivializes drag and drop functionality for table rows in Javascript? Really the only requirement I have is that rows must be draggable within the table itself, but also to other tables on the page. I'm not too familiar with JQuery or Javascript itself, so I'd like to try and find a self contained library or script that makes the drag and drop portion pretty simple so I don't have to write the code myself. I understand JQuery is a nice Javascript library, does it have this kind of functionality?

JQuery :: Drag & Drop On Table Rows
www.daniweb.com
I'm looking to find out a way to drag and drop table rows between two tables. I reused jQuery example for portlets, but that did not work to full satisfaction. In above screen shot I added border, but that is just for illustration of the issue. Problems:As you will see from the code I have to work with relative measurement there for I use percentage. I wasn't able to enforce row width to fill in whole table. How do I force full row width? Drag-able row are part of table body (tbody) and headers are done with thead. In this scenario I enforced same style settings on header as body and everything is now squashed to the left. If I leave styling out of header then first header stretches over whole tdody content and second is out of place over nothing. Sort of bad designed table when you forget one column. This become a big issue if there is more then 2 items in a row, for example 4 column in tbody get squashed under one thead column even though there are 4 headers to align under it. [Code]...

Jquery :: Drag & Drop Table Instead Of Rows?
stackoverflow.com
in jquery how to do the drag and drop of table instead of rows? by using var rows = table.tBodies[0].rows; only getting the rows.

JQuery :: Drag-and-drop To Reorder A Generated Table
stackoverflow.com
I have a table that starts out with a header and footer, and the user adds rows to it. I would like for the user to be able to organize these rows in some way, and it seems drag-and-drop is the most intuitive. I can't seem to find a plugin, or otherwise code something, that works on live content similar to how .delegate or .live work. *Edit: I came up with this as a temporary solution to rearrange user-added rows (I put up and down arrows in the table, with the class .uparrow and .downarrow). I am still hoping to find a way to drag and drop them. [Code]...

Jquery :: Drag & Drop Table Rows (reordering)
stackoverflow.com
im using jquery drag & drop function to move table rows up and down. the only problem is in saving data and getting the position of each row while im using php to show table rows, dont know how to get each table row position value. the script can only find first row position value

Drag And Drop Of TBODY Elements In TABLE?
stackoverflow.com
I have a table where I want to support dragging and dropping of tbody elements When dragging the row, all the elements are bunched left.There's no indication of where the tbody will be dropped. Defining a placeholder has no effect (which it does when using sortable on other elements). There seems to be no way to say that the placeholder should be a TBODY.

Ajax :: Drag And Drop Table Loaded Into A Tab
stackoverflow.com
On my Index.html page, many tabs. Into some of them, I load a table (grid) from an .asp file. It works fine. I want that table to be "drag and dropable". The .asp file works fine when run by itself, but doesn't into the tab. I make a sample .html file with a drag and dropable table (exact same structure as the result table of the asp file), it works... Why? :-) [Code]...

Jquery :: Drag And Drop In A Table - Change The Order Of Data
stackoverflow.com
I have a table with 5 rows and have data in it is there any drag and drop functionality in jquery that i can use to change the order of data inside the table

Jquery :: Drag And Drop - Update Table Content While Dragging The Element
stackoverflow.com
my question is can we update the table content while dragging/resizing the div.The content is the position and size of the div that is dragged or re-sized

Drag N Drop Table Rows From 1 To Another And Save Content In Database
stackoverflow.com
in javascript redips-drag.js there's a line in one function which is as follows if (tbl_cell.childNodes[d].tagName === 'DIV') { query += 'p[]=' + tbl_cell.childNodes[d].id + '_' + t + '_' + r + '_' + c + '_' + tbl_cell.childNodes[d].innerHTML +'&'; } in multiple-parameters.php which is used to input data in mysql code is as follows list($id, $tbl, $row, $col, $val) = explode('_', $p); echo $val; it prints me this ASP.NET Sharepoint Dropdown where ASP.NET Sharepoint are my table values and Dropdown is a select list where in selected value 1 in the table it still returns me the select dropdown when i echo the $val variable it should have printed me [Code]...

Reorder Table Rows (drag-and-drop) Along With Their Sub Rows
stackoverflow.com
I have a table which looks like this (simplified for the example): <table> <tr class="lvl_1"> <td> Level 1 [Code].... I'm now looking to implement drag-and-drop sorting functionality, make it possible to rearrange the level 1 and two rows. The tricky part is that once I start moving a row, the corresponding children (and grand-children, if any) should move along with it. Is this even possible with the current markup, or do I have to rearrange the code?

Jquery :: Toggling Table Row Changes Width Of Columns In Other Rows?
stackoverflow.com
I have a table like the following: <table width="100%"> <tr class="clickme"> <td width="1%">A</td> [code].....

Forms Data Controls :: Viewing Datalist Data Where From Another Table?
forums.asp.net
I am trying to show data on a datalist, but with some caveats.1. WHERE the User Id = the querystring id pass on the url2. WHERE the table 'resume', the 'permissions' column shows as '1'orWHERE the table 'resume' the 'permissions' column contains within it any number from 2-4, any of which matches one or more numbers in the 'permissions' column of the 'contacts' table (but WHERE the 'contacts' table where the url querystring id = column 'myuserid' and the signed in Profile.UserName = the column 'theiruserid'Its complicted, but i dont know how to reference another data table when selecting data from the first table...?