I have a whole lot of forms, queries, and reports already set up to look to that field, so for the time being I'll switch to the make-table query to get it done. I look forward to seeing any solutions you have to offer! thank you!
Well, I just pulled two of our progammers over here to look at this and they couldn't figure it out. When I first set this up (about two years ago), I had a make-table query and then an update from that query. I couldn't figure out why I ever would have done that, but I guess it was because I...
OK, so I can't do it that way. Here's what I originally had as my SQL statement:
UPDATE [MAIN] INNER JOIN [PAYMENTS] ON [MAIN].acctnum = [PAYMENTS].acctnum SET [MAIN].curbal = [MAIN].[amtclosed]-Sum([PAYMENTS].[pmt]);
I still can't see why this won't work! I appreciate you sticking with me...
UPDATE [MAIN] INNER JOIN [PAYMENTS] ON [MAIN].acctnum = [PAYMENTS].acctnum SET [MAIN].curbal = Expr1 WHERE Expr1 = [MAIN].[amtclosed]-Sum([PAYMENTS].[pmt]);
Here's the SQL. I added the table name to the where clause (I didn't have it in before). Now it tells me "Can't have aggregate...
I'm trying to run a query and am getting the error message
"You tried to execute a query that doesn't include the specified expression as part of an aggregate function or grouping"
I've been all over the net this morning and can't find something that will help. Here's the scenario...
I have a database that is being used by bill collectors to collect on accounts. At the end of each month, through the use of a combo-box, they designate for each account whether they would like to keep it or get a new one. They are only permitted to have 10 accounts at a time.
I currently...
My info is coming from 97 but I think it will still apply. Under "view" click on "grouping and sorting". Use the drop-down box to add major and make sure you are grouping by it and not just sorting. Also be sure to set to "group footer" to yes.
On the report...
I have a corrupted database that I am trying to recover but am running into problems.
I can't import anything from it. At all. All I get is the same error message. There are no *.ldb files out there. I also have disabled the AllowBypassKey function.
Could I ever recover it or is it gone...
OK, I've worked around this problem. All I did was create a new field in the table and update it with the value from the old field. Here is the code if you want to see....
Dim db As Database
Dim tdf As TableDef, fld As Field
Set db = CurrentDb
Set tdf = db.TableDefs("Homeq")
Set...
OK, that did work, but not how I wanted. I see that I may have been confusing you with my terminology (my bad!).
That code left the Data Type as text and changed the Format to currency. I want to change the Data Type to Currency and don't really to do anything with the Format. Thanks for...
I'm not sure if a Format Property is set. Looking at the table design, there is of course a data type (text), but nothing is set in the format options. I tried running the code anyway, but it didn't do anything at all. Is it possible to set a format property using code? Maybe by Setting p...
Is there a way to do this? I set up this function but Access asks me to define "Tables". I don't think this function is meant to work with tables but I don't know what else to try. Can anyone help?
Function FormatValue() As Integer
Dim val As Variant
val =...
Dave-
Thanks for the formula. I had to adjust a bit since there are labels in all the fields in column B, but it is working well now like this:
=IF(AND(ISNUMBER(A2)),A2,IF(AND(ISBLANK(A2),ISTEXT(C2)),B1,""))
That should take care of all of my problems. Thanks again to all who...
Mongooses, I've been able to separate the '101' from the 1,2,3 so they are now in different columns.
My problem is that I need to do several summaries with multiple categories each (e.g. 101,103,107 and 102,104,105,106)
Thanks for the input,
Zach
The table comes from another program as a .prn file. I just figured out that if I import it to Excel first with fixed column widths I can split the categories. This seems like too much work though as I would still have to type in 3 101's, 3 102's, etc. With the volume I'm working with, I...
I don't think this is possible, but I'll ask anyway...
I have a pre-formatted, 2-column table that looks something like this..
101
1 #
2 #
3 #
102
1 #
2 #
3 #
103
1 #
2 #
3 #
etc...
I need to summarize 1,2,3 based on the value that precedes them (i.e. add...
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.