Advertisement
Advertisement
| 05.08.2008 at 02:25PM PDT, ID: 23387774 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: |
Function CountofFileExtensionsbyCategories()
Dim SQL As String
Call EnumerateTables
SQL = "" & _
"SELECT [_File Extensions with Categories].[File Extension] , " & _
" [_File Extensions with Categories].Description , " & _
" [_File Extensions with Categories].Category , " & _
" COUNT([Format Dated to yyyy/mm/dd].[File Ext]) AS [CountOfFile Ext] , " & _
" IIF(SUM([Format Dated to yyyy/mm/dd]![Logical Size(Mb)]) IS NOT NULL,CDbl(FormatNumber(SUM([Format Dated to yyyy/mm/dd]![Logical Size(Mb)]),4)),NULL) AS [Logical Size(Mb)], " & _
" [_File Extensions with Categories].Included " & _
"INTO [FE_ File Extensions by Categories] " & _
"FROM [_File Extensions with Categories] " & _
" LEFT JOIN [Format Dated to yyyy/mm/dd] " & _
" ON [_File Extensions with Categories].[File Extension] = [Format Dated to yyyy/mm/dd].[File Ext] " & _
"GROUP BY [_File Extensions with Categories].[File Extension], " & _
" [_File Extensions with Categories].Description , " & _
" [_File Extensions with Categories].Category , " & _
" [_File Extensions with Categories].Included " & _
"ORDER BY [_File Extensions with Categories].Category, " & _
" IIF(SUM([Format Dated to yyyy/mm/dd]![Logical Size(Mb)]) IS NOT NULL,CDbl(FormatNumber(SUM([Format Dated to yyyy/mm/dd]![Logical Size(Mb)]),4)),NULL) DESC;"
DoCmd.RunSQL SQL
SetFieldProperty CurrentDb.TableDefs![FE_ File Extensions by Categories], "Description", dbText, "8a. File Extensions with Categories"
End Function
Public Function SetFieldProperty(obj As Object, strName As String, varFieldType As Variant, varSetting As Variant) As Boolean
Const conPropNotFound As Integer = 3270
Dim prp As DAO.Property
On Error GoTo SetFieldProperty_Error
obj.Properties(strName) = varSetting
obj.Properties.Refresh
SetFieldProperty = True
SetFieldProperty_Exit:
Exit Function
SetFieldProperty_Error:
If Err = conPropNotFound Then
Set prp = obj.CreateProperty(strName, varFieldType, varSetting)
obj.Properties.Append prp
obj.Properties.Refresh
SetFieldProperty = True
Resume SetFieldProperty_Exit
Else
MsgBox Err & ": " & vbCrLf & Err.Description, , CurrentProject.Name & ": Field Property Error"
SetFieldProperty = False
Resume SetFieldProperty_Exit
End If
End Function
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 05.08.2008 at 02:27PM PDT, ID: 21528631 |
| 05.08.2008 at 02:29PM PDT, ID: 21528642 |
| 05.08.2008 at 02:31PM PDT, ID: 21528651 |
| 05.08.2008 at 02:33PM PDT, ID: 21528667 |
| 05.09.2008 at 12:09AM PDT, ID: 21530864 |
| 05.09.2008 at 08:28AM PDT, ID: 21533856 |
| 05.09.2008 at 01:47PM PDT, ID: 21536311 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
Sub ListProperties(objDAO As Object)
Dim prp As DAO.Property
On Error Resume Next
For Each prp In objDAO.Properties
Debug.Print prp.Name; Tab(22); prp.Type,
Debug.Print prp.Value
If Err Then
Debug.Print "*Error: " & Err.Description
Err.Clear
End If
Next prp
End Sub
|
| 05.12.2008 at 08:04AM PDT, ID: 21547572 |
| 05.12.2008 at 03:11PM PDT, ID: 21550907 |