How can I create a vLookup table to exclude a list of numbers (i.e., the seq column in data set) from a certain date forward from the data set below (data set will be from Sep thru Nov)? I will import the data set below into an access DB first.
ts,loc_n,bus,route,ttp,grp,des,seq,tpbc...
Is there a way I can get just the numbers of this column in a separate column by itself, so I can sort the data?
1-NORTH LAMAR/SOUTH CONGRESS
10-SOUTH 1ST/RED RIVER
17-CESAR CHAVEZ
2-ROSEWOOD
20-MANOR RD/RIVERSIDE
201-SOUTHPARK MEADOWS
21-EXPOSITION
22-CHICON
3-BURNET/MANCHACA
30-BARTON CREEK...
How can I count the next to last column of the dataset below and count the unique occurrence of the next to last column of the dataset below? Typical dataset is about 200,000 lines; so I would have to use a command to open the ascii file and then count.
'2010-07-28...
I would like to create a make-table that uses a multiple IIf function similar to the statement below:
DivAbr: IIf([BLOCKNAME]="640-10","UTFRI",[DIVISIONABBR])
Based on the 8 different [BLOCKNAME], I want the [DIVISIONABBR] to say "UTFRI".
It works for one condition, but not for several...
I will only have access (possibly only read-only access and ability to export) to the SQL Server 2005 Management Studio or the SQLCMD utility to export the data to a "fixed width" text file.
Is there a script or Transact-SQL code that I can run in the SQL Server 2005 Management Studio or the...
Need to export the MS SQL Server query data to the (fixed)text format below. (e.g. columns/rows must appear in fixed format)
Rout Block_ _Date_ D Bus_ D Trip Time_ On_ Off
392 392001 102008 1 7036 6 0451 25.0 2 0
392 392001 102008 1 7036 0 0516 28.0 7 8
392 392001 102008 1 7036 1...
I'm trying to replace values in Column B with Values from Column I.
Can someone help me debug the code below?
Sub Edit_APC_Data()
For Each c In Worksheets("Sheet1").Range("B2:B14786").Cells
Select Case Range("I2:I14786").Value
Case "UTFIN"
Range(c).Value =...
Does Crystal Reports "Add Command" utility allow you write Case statements.
Can anyone tell me how I can format the Query below into an equivalent query in Crystal Reports, using the "Add Command" utility? Or the Formula tool or the SQL Expression tool? Thanks in advance for any assistance...
I would like to export a MS Access Table to Fixed Width Text File.
I would like to use VBA script to set the start/end of field and the width of the field.
Does anyone know a simple way to do this?
Thanks for any help.
How can I write this query in the "MS Access Query Design Grid"
IIf DepartDiff > 330 place "Late" in field
IIf DepartDiff < -30 place "Early" in field
Else place "On-Time" in field
Here's a copy of what I have so far:
SELECT [0601sa].A_Time...
I would like to run a query that changes the value "00:02" to "24:02" and "01:04" to "25:04"
These values have a text data type.
"00:02" represents 12:02AM
"01:04" represents 1:04AM
Thanks, for any assistance.
I would like to create a new table from Table1
Table1 consist of one field:
OldField
300-06
982-35
001-12
030-04
I would like to use the make-table in query-grid to create
Table2 consisting of three fields:
OldField NewField1 NewField2
300-06 30006 300
982-35 98235 982
001-12 112 1...
How can I concatenate CommProjCode with UniqProjCode as FilePlanCode?
sql = "SELECT MasterProjectCodes.CommProjCode \& '-' \& CommonProjectCodes.UniqProjCode As FilePlanCode, " & _
" INTO Temp FROM CommonProjectCodes INNER JOIN MasterProjectCodes ON " & _...
I'm trying to update two columns but I get a syntax error.
Can someone tell me what's wrong with this syntax? What's the syntax to update two columns?
Thanks.
DoCmd.RunSQL "UPDATE MasterProjectCodes SET (UniqProjCode, UniqProjName) = (3000, 'APC')" _
& " WHERE CommProjCode='320-301' And...
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.