-
WSjpgus
AskWoody LoungerOctober 24, 2007 at 11:36 pm in reply to: Create copy of Master-detail Records from form (Access 2k) #1080901Thanks Hans.
If those forms are based queries rather than tables such as qryOrderdetail rather than Orderdetail and some of the fields on the form are based fields in that query that will not be updated by this code… Will it still work?
EXample the code would insert the copied values for….
ordernumber, productid, qty
But other items on the form such as the item description gets filled in by the query on linked table products…
Thanks
Jason
-
WSjpgus
AskWoody LoungerThanks Hans.
I did as you say. I got inconsistent results. Not sure why. Sometimes it updated others is did not. I added to yours and think I have consistent updating now. Will keep testing
I used this in case you are interested….
Private Sub cntdpuntos_AfterUpdate()
Me.refresh
Me.Parent!frmAsigsubPuntoSUM.Requery
End SubThanks again very much
-
WSjpgus
AskWoody LoungerThanks Hans.
I have that working now as you instructed. However When I change the number of ponts on my first subform. The new second form does not update unless I put the focus on the main form and manually refresh. I have tried my hand with all manner of events like “afterupdate” to no avail. Any thoughts. Thanks
-
WSjpgus
AskWoody LoungerThanks Francios.
Where in this code would I indicated the this is mysql and not SQL. or where does it reference the ODBC driver?
-
WSjpgus
AskWoody LoungerSeptember 29, 2005 at 12:43 am in reply to: Show detail rec’s left to right beside group data (2kpro) #976050thanks to both.
I used John’s sample in his DB and it worked. I imported his tables and query into my DB and got the same errors as before. I deleted my Concat module. and imported his. His query worked worked in my DB with his module. (I noticed his module was named module1 in the module window. I had named mine Concat there… maybe I created myself a conflict doing that) Eventual after additional pain and suffering my query also seems to work.
Notes.
In the query I had to NOT ADD the table that is being concatenated (I seemed to create a huge record set until I figured that out)
Also the “table” being concatenated can be a query but there is nothing that says whether it is a query or table so I assume if you had a table and query by the same name (or maybe access wont permit that?) you would get a conflict.
At one point I got into an eternal loop in the de###### —strRSt was highlighted and I would hit end and just kept looping … It said I lacked some additional perameter. I had to control alt delete to make it stop. (nothing unusual for me)These notes are only meant to help provide feedback in case it is useful. Not at all meant to complain..
Thank you both very much John and Hans. This is great. I can use ths other places too!
Very truly yours.
Jason
-
WSjpgus
AskWoody LoungerSeptember 28, 2005 at 11:39 pm in reply to: Show detail rec’s left to right beside group data (2kpro) #976047thanks Hans.
The error says
undefined function ‘Concat’ in expresion.
Thanks again
Jason
PS (sending a stripped down version is rather impractical with this DB… ) -
WSjpgus
AskWoody LoungerSeptember 28, 2005 at 11:13 pm in reply to: Show detail rec’s left to right beside group data (2kpro) #976043Thanks for the help. I think you are correct. However I added the module. I checked the DAO 3.51 in tools references in the VB editor. Inside the query builder I click build and go to functions and the function is there. I include it in my query and when I run the query it very quickly responds telling me there is an unknown function Concat
Any thoughts. ( I have added a total of maybe 3 functions…in my life so I am sure it is an issue how I added the function….
Thank you very much
Thanks
-
WSjpgus
AskWoody LoungerSeptember 12, 2005 at 1:34 pm in reply to: Make table Qry 1 record per number with a range (Access Office2000pro) #972505Hans.
As Always your solution works great.
Thanks
Jason
-
WSjpgus
AskWoody LoungerThanks
Here is a zip of my mdb.
jason -
WSjpgus
AskWoody LoungerThanks
Here is a zip of my mdb.
jason -
WSjpgus
AskWoody LoungerWhat is it that allows you to show “data” as opposed to numerica values resulting from aggregate funtions in “interior grid”
your crosstab query result.I get this error
” You tried to execute a query that does not include the specified expresion ‘client’ as part of an aggregate function.”This occurs when I change the crosstab row to EXPRESSION in the GUI query designer. If I set it to first. It gives me “-1” in all the “cells” where I wish to see the client’s name. It seems that Leeshas crosstab query (in file posted by Francois) does what I want (and a whole lot more) Maybe its simpler than I think.
I have products that I sell exclusively by city. In the USA a city has multiple zip codes but the left 2 digits roughly define a city. So I want my cross tab to have Left([zipcode],2) accross as column headings… ProductID as row headings and the cell values of Client name (or empty if nobody in that city carries that product)
Thanks for the help… Jason
-
WSjpgus
AskWoody LoungerWhat is it that allows you to show “data” as opposed to numerica values resulting from aggregate funtions in “interior grid”
your crosstab query result.I get this error
” You tried to execute a query that does not include the specified expresion ‘client’ as part of an aggregate function.”This occurs when I change the crosstab row to EXPRESSION in the GUI query designer. If I set it to first. It gives me “-1” in all the “cells” where I wish to see the client’s name. It seems that Leeshas crosstab query (in file posted by Francois) does what I want (and a whole lot more) Maybe its simpler than I think.
I have products that I sell exclusively by city. In the USA a city has multiple zip codes but the left 2 digits roughly define a city. So I want my cross tab to have Left([zipcode],2) accross as column headings… ProductID as row headings and the cell values of Client name (or empty if nobody in that city carries that product)
Thanks for the help… Jason
-
WSjpgus
AskWoody LoungerI have a similar need. I have a query that has InvoiceID and INVdetailnum I’d like to add a field that essential assings a line item number 1,2,3 etc to each Invdetail num so in the end you can see that invdetailnum 136 id item 3 of invoice 17. So. the querry should sort first on InvoiceID, then on INVdetailnum, and the Linenum fields starts at 1 and goes up by one until it sees that its hit a record with a new InvoiceID so it starts at 1 again and counts up by one…. Any hope for me.
-
WSjpgus
AskWoody LoungerI have a similar need. I have a query that has InvoiceID and INVdetailnum I’d like to add a field that essential assings a line item number 1,2,3 etc to each Invdetail num so in the end you can see that invdetailnum 136 id item 3 of invoice 17. So. the querry should sort first on InvoiceID, then on INVdetailnum, and the Linenum fields starts at 1 and goes up by one until it sees that its hit a record with a new InvoiceID so it starts at 1 again and counts up by one…. Any hope for me.
-
WSjpgus
AskWoody LoungerMarch 4, 2004 at 6:28 pm in reply to: IE shortcuts open with only text referenc (IE6.0.280 W2k) #794361modified registry to exclude space. Now double clicking internet shortcut produces the following pop p form.. see attchd
Regards
Jason
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Can’t make Opera my default browser
by
bmeacham
1 hour, 41 minutes ago -
Do not Fall For This Purdentix Scam (Awaiting moderation)
by
elizabethkaur56
1 hour, 48 minutes ago -
*Some settings are managed by your organization
by
rlowe44
11 hours, 47 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
14 hours, 1 minute ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
14 hours, 25 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
23 hours, 26 minutes ago -
AI slop
by
Susan Bradley
22 hours, 36 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
1 day ago -
Two blank icons
by
CR2
10 hours, 16 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 9 hours ago -
End of 10
by
Alex5723
1 day, 12 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
10 hours, 11 minutes ago -
test post
by
gtd12345
1 day, 18 hours ago -
Privacy and the Real ID
by
Susan Bradley
1 day, 8 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 22 hours ago -
Upgrading from Win 10
by
WSjcgc50
10 hours, 21 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
13 hours, 55 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 14 hours ago -
The story of Windows Longhorn
by
Cybertooth
2 days, 2 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 16 hours ago -
Are manuals extinct?
by
Susan Bradley
1 hour, 53 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
3 days, 1 hour ago -
Network Issue
by
Casey H
2 days, 12 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 13 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 13 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 15 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 16 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days, 17 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days, 17 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.