473,544 Members | 2,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft Access / VBA Forum

Microsoft Office Access database and VBA - Ask questions about microsoft access queries, reports, forms, macros, modules, security, automation, functions, records, mining, visual basic for applications and more.
2
1,757
thread by: Ben Yanis | last post Nov 12 '05 by: Ben Yanis
I've been developing and selling Access based database products for years, and this group has always been a great resource to me. Now I find myself releasing a new Active-X based on some of my code that I've been using for years; and I would like to know what the group thinks of the idea... I have put together a ocx control that allows...
5
3,053
thread by: Steve | last post Nov 12 '05 by: Steve
I have an unbound combobox in the form header of a continuous form. The selection in the combobox sets the where clause in a querydef which determines QryPFrmInventoryManagement. The following code is in the afterupdate event of the combobox: Me.RecordSource = "QryPFrmInventoryManagement" Me!ItemCount = Me.RecordsetClone.RecordCount & "...
2
2,214
thread by: Shaun | last post Nov 12 '05 by: Bob Quintal
Hi, I have two columns in my Bookings table of type DATETIME - Booking_Start_Date and Boking_End_Date. How can i update every row so that all of the times for Booking_Start_Date are 09.00 and all of the times for Booking_End_Date are 17.30, without affecting any of the dates? Thanks for your help
4
26,392
thread by: Dave Hitt | last post Nov 12 '05 by: Dave Hitt
I'm trying to put a function into a query. I want to check the logical field "closed." If it's true, I want to return a text value of "Closed". If false, I want to return a text value of "Not Yet." Here's the value in the query: Expr1: IF(,"Closed","Not Yet") It accepts it without an error message, but when I try to display it I get...
2
1,881
thread by: John | last post Nov 12 '05 by: Lyle Fairfield
I'd love to hear some expert opinion on my situation. My department relies on Excel as a database, which causes crashing due to resource depleting and basically is just too slow. For example, a user must open seven Excel workbooks so that each can lookup values in the other to rollover into a separate "summary" workbook. Obvious problems...
2
3,260
thread by: ColinWard | last post Nov 12 '05 by: Tony Toews
Hi I have a database that I would like to be able to compact when the exit button on the main form is clicked. Can anyone help with this? TIA Colin *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
1
1,416
thread by: Carl | last post Nov 12 '05 by: Trevor Best
Can someone tell me how I would delete all rows but one when both records (in a two column setup) are duplicates? For example: NAME | AGE BOB | 23 BOB | 23 BOB | 23 BOB | 25 BOB | 25
2
1,253
thread by: Matthew Braumiller | last post Nov 12 '05 by: Ross Presser
Greetings again: The database we are using at the office here has an Access 2002 front end (client) on each user's work station. The data tables are stored on the server located elsewhere in our office. Each client links to the tables on that server allowing shared access by the 25 users we have here. Is there a way to have the queries run...
0
3,031
thread by: Matthew Braumiller | last post Nov 12 '05 by: Matthew Braumiller
On Thu, 2 Oct 2003, "Gary Floam" <floam@comcast.net> wrote: >Sure you can do that. The easies way is to create a table of the last names >selected, and join that table into the query definition. > >If you write your own SQL, you can create a string something like > where LastName in ("Smith", "Jones", "Brown") > >Good luck >
5
3,932
thread by: bebelino | last post Nov 12 '05 by: Pieter Linden
I'm working on a calendar-program. I wonder what the best approach would be for storing the begin- and end date/time for a particular calendaritem. Right now I have two fields: Startdate and Enddate. Both date/time. This is giving me terrible headaches when trying to let the user edit time-part. Let's say startdate is '01/01/2003 22u15'. When...
0
2,028
thread by: Graham Drabble | last post Nov 12 '05 by: Graham Drabble
Hi, I have a table with a field "signiture" that is set with a data type of "OLE Object". If I view the table (in datasheet view) and right click on the relevent cell I can "insert object" which then allows me to link from an existing file. What I want to be able to do is to get to the "insert object" part from a Form. Any ideas on how...
0
1,803
thread by: Todd Matson | last post Nov 12 '05 by: Todd Matson
After installing a few security updates yesterday, I was surprised to discover that none of my MS Access applications work today. After doing some research, I have discovered that when the DAO TableDef.Attributes property is set to dbAttachSavePWD, I now get an "Invalid Argument" error where I did not before. My theory is that one of the...
0
1,148
thread by: FAQPoster | last post Nov 12 '05 by: FAQPoster
An HTML version of this document is available at: http://www.mvps.org/access/netiquette.htm Feeling left out? Alone? Wondering why everyone's ignoring you? Or why you're being flamed for what you deemed an innocent post? The following tips will not only help you, they will help us help you. Please note: The latest changes to this...
5
3,544
thread by: MARK | last post Nov 12 '05 by: Pieter Linden
Hi, I have a printer consumables database. I have a form designed to change the status of consumables ie. in use, dead, stock etc. I select one of my consumables records from the combo box and it displays the current 'status' field in a 2nd combo box. I can then select from the status table (ie in use, dead etc) but i need to take that...
1
5,889
thread by: Ben | last post Nov 12 '05 by: Lyle Fairfield
I have written a procedure which calls the CORREL function of Excel to run correlation analysis on two arrays, then populate a table with the resulting correlation coefficient. This process loops through several records and recordsets. The procedure works well for awhile (sometimes upwards of 10,000 times!), but then mysteriously begins...
1
1,563
thread by: Norman Scheinin | last post Nov 12 '05 by: Ben Yanis
I have a linked bitmap as the background in a subreport. If I run the subreport by itself, the bitmap appears. If I run the full report, the subreport appears but without the background. If this the way it is suppose to work, or is their a trick I am missing? Using Access 97. Thanks, Norman B. Scheinin F-22 Applications Development
1
4,435
thread by: Todd Matson | last post Nov 12 '05 by: Todd Matson
I am trying to diagnose a rather insidious problem. Yesterday, I tried to install the .NET Framework 1.1. That installation failed. No big deal -- I can live without it. Now, however, none of my MS Access applications work. I've researched the problem and found that whenever the DAO TableDefs.Append method is executed in code, I get...
1
2,065
thread by: Yisroel Markov | last post Nov 12 '05 by: Ross Presser
Greetings, In Access 97 I have a subreport with two labels and a control. The record source for the control is a simple SQL query referring to another query: SELECT DISTINCTROW qryInitPositions.PortfolioNum, qryInitPositions. FROM qryInitPositions;
1
1,459
thread by: Hank Reed | last post Nov 12 '05 by: Ben Yanis
Microsoft Access help says the maximum number of Modules, Forms, and Reports is 1000. It appears that linked tables do not count. What about local tables? Help also says that the maximum number of open tables is 2048 (or less). That would seem to leave linked tables out of the above mix. Can anyone comment on these limits or quote...
3
5,355
thread by: Andante.in.Blue | last post Nov 12 '05 by: Peter Russell
Hello everyone! I'm building a form in Access 97 and I want to to show a special icon if the record has been marked as deleted. Obviously, I don't want the icon to show if the record was not marked as deleted. I understand the conditional formatting is available in Access 2000 for this purpose, but it is not in 97. Is there a way to...
0
492
thread by: Zachary Burns | last post Nov 12 '05 by: Zachary Burns
I've got several access databases that are missing passwords and am decrypting them using the following algorithm. I am running into problems translating some of the missing items. It looks like some of the information is stored as ASCII or EBCIDIC, but cannot determine what the missing HEX codes mean. Anyone have any clues? Zack ...
5
7,725
thread by: Pato Secruza | last post Nov 12 '05 by: Pieter Linden
How can I print the database structure, including non default variables like Requiered, FieldSize, and most important DESCRIPTION. I want a table like this: ----------------------------------------------- | Name | Type | Size | Required | Description | ----------------------------------------------- | ... | ... | ... | ... | ... ...
2
2,490
thread by: Mark | last post Nov 12 '05 by: Mark
I am producing a report that requires me, among many other things, to calculate the average contracts for about 1000 companies during the yr 2003. The "quirk" is that all the companies do not have the same number of months. When using DB2 the below code counts the average contracts of each group for 2003. What code can I use in MS ACCESS to...
7
8,389
thread by: Sigurd Bruteig | last post Nov 12 '05 by: Sigurd Bruteig
Hi! The following code give me an error message (syntax error 3075) and I can't figure out what is wrong! Any suggestions? Sigurd Dim stDocName As String stDocName = "rptFaktura" Dim stLinkCriteria As String stLinkCriteria = "= " & Date
1
2,479
thread by: Mary Ann | last post Nov 12 '05 by: Allen Browne
I have a main form with 4 subforms. One of the subforms reflects other costs/miscellaneous charges that an account might be assessed. The main form includes a field with a total pulled from that other cost subform. The total field reflects the correct amount as long as there is at least one record for the account in the other cost subform. ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.