Viewing 15 posts - 16 through 30 (of 32 total)
I don't know of any built-in functionality, but you might want to look at Access Analyzer from FMS (http://www.fmsinc.com). I used this in the past and I thought that...
June 7, 2010 at 6:47 am
I would definitely go with your first option. Even if the second option has faster performance, I just see a maintenance nightmare as reports are modified or new reports...
December 18, 2009 at 7:02 am
jonathan allen-270981 (11/16/2009)
Rather than get over concerned about collation for choosing the character to replace the 2nd space you can use any string, so you could use
SELECT LTRIM(RTRIM(
...
November 16, 2009 at 7:49 am
Try this:
INSERT INTO qsum ( coa, desc, quant )
SELECT '399999' AS coa, 'Total' AS desc, Sum(qsum.quant) AS quant
FROM qsum
WHERE (qsum.coa Like '3*');
September 2, 2009 at 7:59 am
I just realized that there shouldn't be quotes around Username:
select UserID, dbo.getUserName(UserID) as UserName
from User
order by
(case when @sortorder = 1 then CAST(UserID AS varchar(50))
when @sortorder = 2 then dbo.getUserName(UserID) END)...
August 25, 2009 at 9:55 am
Yes, I missed that. When I tested it, I used two varchar columns. I suppose that you could wrap a CAST around the UserID like this
select UserID, dbo.getUserName(UserID)...
August 25, 2009 at 9:05 am
Try this:
select UserID,dbo.getUserName(UserID) as 'UserName'
from User
order by
(case when @sortorder = 1 then UserID
when @sortorder = 2 then dbo.getUserName(UserID) END) desc
August 25, 2009 at 8:04 am
Scott,
I think that you could gt it to work as a modification of what we've done before, but, assuming that this isn't a homework problem, I'm thinking that it would...
July 24, 2009 at 2:24 pm
Scott,
Glad to be of assistance. I've never had a situation like that before and it was good to figure it out. Good luck with your project.
Steve,
Thanks...
July 24, 2009 at 12:22 pm
Scott,
Here's my code:
CREATE TABLE [dbo].[Cities](
[CityID] [int] IDENTITY(1,1) NOT NULL,
[CityName] [varchar](50) NOT NULL,
CONSTRAINT [PK_Cities] PRIMARY KEY CLUSTERED
(
[CityID] ASC
)
)
CREATE TABLE [dbo].[Users](
[UserID] [int] IDENTITY(1,1) NOT NULL,
[UserName] [varchar](50) NOT NULL,
[CityID] [int] NOT...
July 24, 2009 at 7:12 am
Steve,
I think that the OP misstated the relationships. I believe that there is a 1:M relationship between City and User and between City and Area so City is at...
July 23, 2009 at 12:54 pm
I suggest four tables: User, City, Area, and UserCityArea. I would put a city column in the User table. You will then have your 1 user to 1...
July 21, 2009 at 7:20 am
The code I had was to strictly run a stored procedure. Unfortunately, I've never tried to return a recordset from a stored procedure. Here's some info I copied...
April 17, 2009 at 1:15 pm
I've used an ADODB.Command for this. Here's a sample that I've used:
Dim cmd As ADODB.Command
Set cmd = New ADODB.Command
cmd.ActiveConnection = CurrentProject.Connection
...
April 16, 2009 at 9:06 am
Glad I could help and I don't think that was a stupid assumption on your part. Keep learning and soon you'll be an expert. Someday I might be...
February 13, 2009 at 2:37 pm
Viewing 15 posts - 16 through 30 (of 32 total)