What am I missing here?
<?php
//session1.php
session_start();
$_SESSION['webuser'] = 'Ronnie';
header("Location: session2.php");
?>
<?php
//session2.php
session_start();
echo "<br>Web user is: " . $_SESSION['webuser']; //does not output "Ronnie"
?>
How do I specify size (Decimal(18,9)) in the following code:
Dim cmd As ADODB.Command
Set cmd = New ADODB.Command
cmd.ActiveConnection = CurrentProject.Connection
cmd.CommandText = "strGetQuantity"
cmd.CommandType = adCmdStoredProc
cmd.parameters.append...
Is there a better way of getting the primary key ID of a record that I had just newly inserted via stored procedure? I currently use:
CREATE PROCEDURE strInsertRecord
@value1 varchar(50),
@value2 varchar(50),
@NewRecordID int OUTPUT
AS
INSERT INTO MyTable (Field1, Field2) VALUES (@value1...
Is there a way in starting an Access 2000 adp without a default username being shown in the log-on window? Where is this username information stored? It doesn't seem to be included in the BASE CONNECTION STRING.
Im using Windows XP Pro. Aside from moving the folder into the MyDocuments folder, is there a way to make a folder private? I would like to set the Guest account in such a way that it cannot access certain folders, and possibly, deny access to a whole drive.
I have an AOPEN AX64Pro mobo (ATX power supply) which powers up immediately when power is supplied. No beeps, no display, no drive operation (HDD and FDD). Operating immediately are the FANS (CPU and power supply) and the HDD LED. No power LED. It does not obey the power switch. It cannot...
Is it okay to use a DDR400 memory module on a motherboard that accepts DDR333 memory modules?
I've been getting STOP: 0x8E BSoDs (blue screen) lately and the computer shop replaced my memory module with a DDR400. The BSoDs are still present but the computer passes the windows memory diagnostic...
I'm using SQL Server 7, and have something like this in a stored procedure (this is a simplified version):
SELECT EmployeeID, Lastname FROM (SELECT Employees.ID AS EmployeeID, Employees.Lastname FROM Employees)
The error is: Line 7: Incorrect syntax near ')'.
Strangely, the following will...
I would like to add another PC to a wired CAT5 LAN connection to a point approximately 70 meters away in wire length. Physical restrictions such as small conduit piping and fixed wall panelling makes it extremely difficult to physically add another LAN cable.
Other than adding a switch, or a...
Im using SQL Server 7.0 and have discovered this odd behavior:
A product is sold either as a whole unit or a fraction of it:
1 unit = 24 parts
and are represented by:
UnitQty smallint ' one whole unit
PartQty tinyint ' part of a unit, 1 unit = 24 parts...
I installed MSDE2000 as new instance on a machine having SQL Server 7.0. I can connect to the MSDE2000 instance using the format MYCOMPUTER\MSDE2000.
However, from a second machine, I could not connect to the said MSDE2000 instance installed in the first machine. Why?
Both machines are...
I need to find a way to determine how long a string would be when printed on a report.
I'm printing a string on a pre-printed form and would like to dynamically change font size if the string to be printed cannot fit in the space provided in the pre-printed form.
Any ideas?
I need to find a way to determine how long a string would be when printed on a report.
I'm printing a string on a pre-printed form and would like to dynamically change font size if the string to be printed cannot fit in the space provided in the pre-printed form.
Any ideas?
I am using ADP and have a main form and a subform. The SQL server is on a different computer somewhere on the LAN. The ADP file is on the local computer.
MAIN FORM: The recordsource is a parameterized query returning a single record.
SUBFORM: The recordsource is a query with no parameters...
All my compressed folders in my WinXP Pro suddenly became corrupted. However, if I transfer these same files by LAN to another computer, they are fine.
Maybe if I could disable and re-enable compressed folders, this might resolve the problem? How do I do this?
I want a folder to be included in "My Computer -> Files Stored in this Computer" group. Originally, this group would include the Shared Documents, and all other user's "My Documents". I would like to add a 2nd Shared Documents Folder perhaps.
How would I do this?
When I connect to my VPN, the following error occurs:
TCP/IP CP reported error 733: A connection to the remote computer cannot be completed. You might need to adjust the
protocols on this computer .........
What is this? Both machines are WinXP Pro.
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.