Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2008

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Trouble with SQL String in VBA12 Mar 2008 05:31 GMT3
I have a table which stores SQL statements as strings.  I'm trying to filter
the table for a particular SQL string in VBA.
The code fails at: Set rst = db.OpenRecordset(strSQL).  I get Run-time
error: 3075.  The error message indicates that I'm missing an operator.
ADO connection problem11 Mar 2008 22:35 GMT9
I am getting an error # 3219 Invalid operation when opening a connection. The
code is as follows:
Dim cn As ADODB.Connection
Set cn = New ADODB.Connection
Assign Current Form Name to a variable in VBA11 Mar 2008 21:05 GMT3
Using Microsoft Access 2003,
I would like to assign the current form's name to a variable.
So opening the VBA code for a particular form, at the top I want to
Dim strFormName as String
Do...Loop Help11 Mar 2008 20:49 GMT6
I have a table that has data based on 15 minute increments.  The table has an
ID field, a time field, and a total field.  I would like to identify the
highest total hour for the data which typical spans 12 hours.  How do I
create the loop to evaluate the total for four 15 minute ...
dbseechanges error 362211 Mar 2008 20:43 GMT2
I'm using Access xp.
I'm racking my brain over this...I have an Access mdb front-end with a SQL
2005 table linked in via ODBC.
But when I run the following code (this is just a snippet of the
Check for Exclusive11 Mar 2008 20:22 GMT9
My thanks to Marshall for his patience with me in trying to code a database
to check for the presence of the lock file before opening. His suggestion was
to attach the following to the open event of an unbound form that opens at
startup:
Storing a changable string11 Mar 2008 20:19 GMT1
I currently have a listbox that gets its list information from a constant.
eg
in a module:
Public Const GeneralList = "'K8','Jet4','Ch900','N47'"
me. string variable issue11 Mar 2008 18:12 GMT4
I have a for next loop that I thought should work.  Basically am setting
certain fields to visible based on a number from a combo box on another form.
What I can't figure out is how to set it up so that I can use the string I
create as part of the me. .visible command.
string concatenation11 Mar 2008 17:12 GMT5
in Access 2003, I'm trying to "conditionally" concatenate strings. It's been
my understanding that the "+" symbol does the job. This is what I'm trying to
do:
       If InStr(1, strInput, "A", vbTextCompare) > 0 Then _
new form error11 Mar 2008 16:36 GMT3
I have a very substantial and complex Access application that has been
developed over about 5 years.   Currently we are trying to make it work in
Access 2003 with SP3.  One of the problems I have encountered is a Reserve
Error 2950 pops up when a user clicks on a button that ...
VBA Breakpoint Set, But Not Hit11 Mar 2008 15:43 GMT3
Hi.  I'm an ASP.NET developer who's trying to work with a Microsoft Access
project.  The access .mdb file is 225 meg, and it's a hugh database.
Whenever I set a breakpoint in the code, it never hits.  This occurs every
time I insert a breakpoint.  I verify that the code executes ...
Weekdays11 Mar 2008 15:09 GMT4
I am very new to VBA and would like to know if there is a way to have a
function return the number of week days in a given month for then entire
year?
I have supervisors who are required to make rounds of their assignments on a
help with my code11 Mar 2008 15:08 GMT3
I have a form with one selection criteria and also one with two selections
criteria to filter the results. The one selection criteria worked well, but
somehow the two criteria selection is not filtering. Here is a sample code of
one selection.
Runtime Error 13 Type Mismatch11 Mar 2008 14:32 GMT5
OK so why do I get a Type mismatch on the openform line?
Private Sub butOpenForm_Click()
Dim stData As String
Dim stWhere As String
format fields based on filter?11 Mar 2008 10:42 GMT1
I have a form with several fields that can be filtered. I would like to put
in a VBA in ON OPEN or ON LOAD, so if any field is filtered (or if they have
the same records), then disabled that field or change the background color of
that filtered field?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.