I did a bit of work with the TransferText macro recently and when I encountered something like this, I found that Access was taking in fields from the text file which were numeric, assigning them to integer variables and then failing to load them to the tables as the fields were set as Text. It...
Yes, I've done this before.
Naturally you must have some connection specified using the Data Environment interface when developing and compiling your app but you can change the connection dynamically by editing the connection string as follows -
DataEnvironment1.Connection1.ConnectionString =...
...this -
Public Function getUser() As String
'Generic function to return the NT user name
'Used for security requirements
Dim strBuffer As String * 255
Dim lngLength As Long
Dim lngI As Integer
strBuffer = Space(255)
lngI = getUserName(strBuffer, 255)
getUser = Mid(strBuffer, 1, (InStr(1...
You can get Dark Basic in stores okay. I got a boxed version with a full printed manual and tutorials, though I've seen a more recent version in a PS2 type box where manuals and tutorials are on the CD in pdf format.
The docs that come with the CDs go into a good depth with explanations of all...
How you format the results within Access, I don't really know but to get the answer you want you need to do an embedded Select query like this-
Select MF, Store, Branch, Model, Size, [Serial Number],
(Select Count(MF) from TableName TN1 Where TN1.MF = TN.MF)
From TableName TN
Order by MF
The...
I recently had to design an Access database with a chunk of functionality through VBA modules and forms. The brief I was given was that the database is for a web download and should be a single self contained file. As such, no add ins were allowed.
I got everything done and as a bonus, I...
Joe,
I'm no expert on graphics issues but if the problem persists when accessing DOS, I think its pointing to your monitor. As far as I'm aware, using a command line interface makes little or no calls to your graphics card unless your running DOS games or visual editors/spreadsheet programs...
Is this occurring regardless of the application you open? If it's the one application again and again, try re-installing.
Otherwise check for processor overheating (make sure the fan's working okay), or chip creep (just make sure your processor and memory chips, graphics and sounds cards are...
I'm curious, how did the problem start to manifest itself?
I have a Celeron PC (on a micro ATX) that recently gave me big trouble. Problems started with program freezes and spontaeneous reboots while running memory intensive software. This continued until the system was virtually like yours, ie...
Access sometimes interprets dates in the American format. That means it reads #3/01/01# as March 1st and #6/07/01# as June 7th. That's why June 28th is missing.
I have never really found a good foolprood way around this. I generally make my dates explicit, like #03/Jan/01#. This may work for...
The "AllowByPassKey" function allows users to bypass any forms that load when your database is kicked off (by pressing the shift key as the database is loading) and get straight at your database tables.
To get the function to disable this working you have to call the function in your...
Michael,
I had to do this as whoever set up the Access workgroups security where I work hadn't done such a good job. Joining the workgroups set security measures on Access in general and not just the database I wanted to protect.
I didn't set the Database Password under the tools option...
...that each User is associated with the correct Password.
Dim rs_check_users As Recordset
Set rs_check_users = CurrentDb.OpenRecordset("Select * from Users")
Do While Not rs_check_users.EOF
If (strUserName = rs_check_users!User) And (strPassword = rs_check_users!Password) Then...
You can also try the DateDiff() function.
DateDiff("h", dteDate1, Now) > 3, will return true for any value of dteDate1 which is more than three hours older than the current time.
One thing to be wary of using this is that it works in whole hours and doesn't consider that more than...
You can set properties for an Access form's Max and Min buttons and Close buttons seperately on the Properties tab, or by setting the Control Box to No (also on the Properties tab), all three buttons go.
The down side is that this will not hold if your forms are maximised! Even if you set your...
I know this is probably a really thick question to ask but why not simply use the anchor tags?
<table style='Cursor:hand'><a href="http://...">
Table here
</a></table>
This works for me.
Brendan
Hi all,
I did an upgrade to Oracle 8i on a users PC and found afterwards that the user had set up some data-bases as User DSNs with Oracle 7.3 drivers. When I try to remove them I get an error that the system no longer has Oracle 7.3 drivers installed and the DSN cannot be uninstalled until...
A possible alternative would be to use a Select Case statement.
Try assign the user answer to a variable (say strAns) like
so-
strAns = Trim(UCase(Text1.Text))
(Remember to initialise this string as empty each time the checking code loops just to be sure your answers are correct)
Then, try -...
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.