Any help on this would be greatly appreciated!!!
I want to rename the cn attribute something like billn to williamn
===========================================
private void RenameMember()
{
DirectoryEntry objUser;
if (String.Compare(NewUserName,User,true) != 0)...
I have a table that has an autoID, ForeignKey, ShiftID,EmpID,StartTime,EndTime and HrsWrked as shown below:
I have an initial query to make the pivot query simpler as:
SELECT (Employees.FirstName+' '+Employees.LastName) AS FullName, tempBatch.ShiftDate, (Format(tempBatch.StartTime,"h:n...
I have some Javascript that creates a nice monthly calendar. I want to format specific dates. However, I can't get the dates that I want to format unless I write some VBScript to get the specified dates from the Database. The premise of the code should look like this:
if...
I tried a simple html that merges two images into one as shown below:
<html>
<head>
</head>
<body>
<table height="658" width="801" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="277"><img border="0" src="Images/Left_First.JPG" width="277" height="658"></td>
<td...
I'm still having the caching problem as described in previous thread.
DotNetGnat mentioned "the best way to fix this is to attach a random string to the end of the URL." I'm unclear how to implement this solution. Won't the string itself be cached too?
Does anyone know of a site or some...
On my website an authenticated user will have a cookie value that I check as shown below:
sSessionUserLogin = trim(cstr(Request.Cookies(COOKIE_USER_LOGIN)))
If Len(sSessionUserLogin) > 0 AND sSessionUserLogin <> vbEmpty Then
///Do Stuff///
ELSE
Response.clear...
Good Afternoon All,
This will be for the dhtml gurus or someone with lots of Internet savvy.
I have an asp website that authenticates user's and adds a cookie to validated user's. However, when a user closes the browser the cookie is still valid for 30 minutes (length of cookie). I want to...
I would like to add a vertical cascading menu. I have found this one at http://javascript.internet.com/navigation/cascading-menu.html but I don't want the absolote position on the top.
Does anyone know a free script or how to edit the above so that I could place the menu in a table?
Thanks...
I have a table called TimeSheet that has EmpID, Date, ShiftID,HoursWorked as fields.
I would like to Sum the HoursWorked for each employee between 2 dates say June 20th to June 26th like:
SELECT TimeSheet.EmployeeID, Sum(TimeSheet.HrsWorked) AS SumOfHrsWorked, Count(EmployeeID) AS ShiftNum...
I'm using some simple code but I'm getting this error:
The command or action 'SaveRecord' isn't available now
The code is below is called a Command button just before opening another form:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Anyone know why this might be...
I want to first check to see if the specified file is created, if so delete it and then put the contents of my string (simple xml document built using string manipulations into a text file and save as an xml extension. If tried this code:
dim fso, TextFile
set fso =...
I have to write an update trigger that updates records in another table in another database (same SQL Server though). Do I create another connection (if so, how? Or do I write something like :
USE PUBS
Update Customer blah blah
Any help would be appreciated.
Thanks,
Rewdee
I have this parametized query:
PARAMETERS paramSling Short, paramLand Short, paramTSN IEEEDouble paramCraftID Text ( 7 );
INSERT INTO tblLogs ( Sling, Land, ENG_TSN, CraftID )
VALUES ([paramSling], [paramLand], [paramTSN], [paramCraftID]);
and I'm using this code to fill in the parameters...
I use to know how to do this but I've forgotten.
=================================================
Say I create a bound modal form and I call the form like this:
DoCmd.OpenForm "myform", acNormal, , , acFormAdd, acDialog
However, what if the user wants to cancel there entry (eg. say the form...
If I have a table like:
ID SomeField
1 5
2 1
3 2
etc.
How would I write (if possible) a query that keeps a running total as:
ID SomeField Calculated_Running_Total
1 5 5
2 1 6
3 2 8
etc.
Any help would...
I have a append query that includes the Str function that works on my computer but not on my clients: The query is:
INSERT INTO tblPhoenix ( Location, ItemNumber, Description, SerialNumber, Lot, ExpirationDate, Selected )
SELECT [Inventory].[Location], [Inventory].[ItemNumber] AS [Item...
I want to create a SP that inserts into one table and then makes another insert into another table with an autoincrement ID into a second table. Something Like:
CREATE PROCEDURE AddMotor(
@serialNumber varchar(50),
@Location varchar(40),
@MotorDesc varchar(100),
@Manufacturer varchar(50)...
I would like to change the data type of a column from money to char(1). Through experimenting I found that the best way to do this (and correct me if I'm wrong) is to drop the column (I don't care about the data in the column) and add a column with the same name. However, there's a constraint...
I have a foreign key constraint on a table that references another. I want to add Delete Cascade & Update Cascade. How do I do that? Do I drop the constraint and add a new one with ON DELETE Cascade or is there some way to alter table alter column blah blah?
Thanks,
Rewdee
I have a DTS package with two connections. We are updating one SQL Server Database into a blank database.
There is one table (call Table1) in the previous database that has a field (call Field1) is just straight text. In the new database, Table1, the Field1 is a lookup field from another...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.