microsoft.public.access.modulesdaovba
  Home FAQ Contact Sign in
microsoft.public.access.modulesdaovba only
 
Advanced search
September 2008
motuwethfrsasuw
1234567 36
891011121314 37
15161718192021 38
22232425262728 39
2930      40
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
microsoft ... modulesdaovba Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  How to convert Upper case to Proper Case         


Author: Candicehkjc
Date: Sep 20, 2008 08:41

Is there any function in Access can convert Upper case or Lower case words to
Proper case?
2 Comments
  Exporting to Excel and importing back (Access2007) - Determing Ran         


Author: JiiPee
Date: Sep 20, 2008 07:03

Hi

I'm collecting and updating information on customers in an Access 2007
database continiously via Excel. For this purpose I first import the data
from Access to Excel sheet "Input" via Access oledb link. This works fine.

When I get back the files I use the transferspreadsheet command. So far I
have had a separate sheet "Output" where I have all the data linked with a
formula. Again this has worked fine. I would like to get rid of this and keep
the data on the "Input" sheet only and let the people to make changes in that
sheet.

I've tested that Excel recognizes a range called: "Table_database.accdb"
where 'database' is the name of my database and the range covers exactly the
fields in the Excel import from Access. In addition, I manually imported the
file into access and the wizard automatically proposed a Range called
"database#accdb". So it seems that Access can identify the correct range
name. However, when I try to use any of the above as a 'Range' on
transferspreadhsheet command, it fails.

If I change the imported table to a range in Excel and name it as "Range",
the transferspreadhseet again recognizes the correct range. I dont want to do
this as I woudl prefer to use the same file over and over again.
Show full article (1.29Kb)
1 Comment
  DEVELOPER PACKAGE SOLUTION         


Author: Developerme
Date: Sep 19, 2008 23:42

Getting ready to package my access database for distribution. Using MS
deployment solution included with Access 2007. I need to include a
self-extractor file. I added as per instructions, but it won't run when I run
the install disk. Any help would be appreciated. Thanks
no comments
  RE: Use a Variable to set a Variable         


Author: dch3
Date: Sep 19, 2008 20:16

Now that we've chased, killed, skinned and sold the rabbit on EBAY...

Here are the assorted subs..

[External Module]
Option Compare Database
Option Explicit

'Provide a global array to store the OpenArgs parameter names & values for
easy retrieval
Global aOpenParameters()

Sub openRptLoadListDetail(Optional strView As String, Optional
strWhereStatement As String, Optional strReportTitle As String, Optional
strLoadListInformation As String)

'Encapsulate opening the report so that OpenArgs string is built as needed
and passed in, this way, we don't have to remember what the parameter names
are as we code AND we centralize all code that opens the report.

Dim strOpenArgs As String

If Len(strReportTitle) > 0 Then strOpenArgs = strOpenArgs &
"mReportTitle=" & strReportTitle

If Len(strReportTitle) > 0 And Len(strLoadListInformation) > 0 Then
strOpenArgs = strOpenArgs & ";"
Show full article (5.88Kb)
no comments
  Detect if a particular *.Exe is installed (Snapshot Viewer)         


Author: dch3
Date: Sep 19, 2008 19:34

How would I detect if a specific app is installed on a machine? Specifically
Snotshot Viewer.
3 Comments
  Access 2002 Lock File Location         


Author: ChosenOfGod
Date: Sep 19, 2008 16:07

I'd like to change the default location of the lock file that is generated
when a .mdb is opened. Usually, it is put in the same location as the .mdb.
Does anyone know how to specify the location?

--
gba
1 Comment
  Change Formats using VBA         


Author: Jacinda
Date: Sep 19, 2008 14:21

Hi, I have a table that collects file names via VBA . (p:\Drawing001)

When the table generates if I set the orginal property to text and then
change it to hyperlink (manually) it will automatcally open the file. I would
like to change the property using VBA so that I don't have to go into the
table to change it.

I tried setting the property to hyperlink to begin with, but that does not
seem to work...

any suggestions?
--
-Jacinda
1 Comment
  make QAT inaccesible         


Author: XP
Date: Sep 19, 2008 14:01

Using Win XP with Office 2007;

I searched this forum for an answer to this, but I didn't find anything;

Could someone please post an example VBA sub or function that makes the
Quick Access Toolbar (QAT) unavailable to users?

Thanks much in advance.
1 Comment
  File Browse - Full Path         


Author: Joshua McLemore
Date: Sep 19, 2008 11:04

Hello,

First, thanks for reading my question.

I am trying to allow users to browse out to find a file and then, when
selected, enter the full file path to that selected file. The code I have
right now is ALMOST right, but only gives the file name with extension.

Any help would be excellent! Thanks.

Current Code:

Private Sub Getfile_Click()
Dim retFile As String, dlg As Variant, s As String
Set dlg = Application.FileDialog(msoFileDialogFilePicker)
With dlg
.InitialFileName = CodeProject.Path
If .Show = -1 Then s = .SelectedItems(1)
End With
If s <> "" Then
retFile = Right(s, Len(s) - InStrRev(s, "\"))
CurrentRoundupFile.Value = retFile
End If
End Sub
Show full article (0.74Kb)
2 Comments
  Generate Table with Calendar dates to 2020         


Author: Snickers
Date: Sep 19, 2008 10:59

There has to be a way to easily create a table with calendar days? I just
need a table with dates, nothing fancy.
1 Comment
1 2 3 4 5 6 7 8 9