-
WSdazednconfused
AskWoody LoungerJune 28, 2005 at 11:46 am in reply to: Using concatenation to translate values (Access 2k, Win 2k) #956414The new code uses the same number of characters regardless of the product, if there is no need for an option we populate that part of the code with null values. With the exception of the last three characters all options in the new code are two characters.
The table we have with the translation values has four additional columns in it for the start and stop position of the two options. in my earlier example for instance IA would have a start position value of 3, stop position value of 4, in the new product code, while having a start position value of 1, stop position value of 2, for its equivalent value in the old code.
-
WSdazednconfused
AskWoody LoungerJune 28, 2005 at 11:31 am in reply to: Using concatenation to translate values (Access 2k, Win 2k) #956409Hans
OK, knew I should have included an example…. sorry
eg of new code: -VSIAL1AEF1CXA2H01
equivalent old code: -IA025F1CXA1H1
The codes are constructed from options, each character pair, or the odd individual, being the code for an option. It is the options I have in two columns (I really messed up explaining that bit) rather than the entire codes. So, by parsing out the parts of the new code that have an equivalent, in this case: –
VS has no match
IA= IA
L1 has no match
AE = 025
F1 = F1
CX = CX
A2 = A1
H01 = H1I can find the old option value in the translation table, having found the options values I can rebuild them into the old code using concatenation. Where I’m struggling is to work out how to match my 7 parsed fields to the 7 records that will allow me to rebuild the old code.
I hope that makes more sense??
-
WSdazednconfused
AskWoody LoungerAs usual, Hans and Wendell know more about what I’ve done to my databases than I do!!!!
I had overlooked the ownership of the forms, fortunately the datatables had been secured properley. Just had a very quick re read of the security FAQ and it’s not that obvious about the ownership issue (spotted it now I know about it, but…), I’d understood it that once the Admin user had no priviledges you were safe….
I must pay more attention at the back of the class in future.
Thanks again
Ian
-
WSdazednconfused
AskWoody LoungerI did have a vague idea that both Admin and User could not be deleted.
I also thought I’d removed all the Admin user priviliedges, I’ll have a better look.
Should I also remove the priviledges from the Admin User group?? I kept this as the easy option and simply removed the Admin user from the Admin group.
Live and learn, thanks.
Ian
-
WSdazednconfused
AskWoody LoungerThanks for that tip, I’d missed that in the security FAQ.
Just checked the database I copied the forms out of, the admin user still exists, but the owner of the two forms I copied is my own user name, not the Admin user.
The Admin privledges are set to the user group and the user group privilidges are nil. Should I have deleted the Admin user totally?
Apologies for taking this off on a tangent.
Thanks
Ian
-
WSdazednconfused
AskWoody LoungerIt might be possible to copy items out of a secure database, I just copied a couple of forms out a datbase I secured using MS Access security and could have had the tables as well.
The database in question uses a different MDW file to the one I have on my HDD, so it might work for you as well. I was surprised it let me though!!
Ian
-
WSdazednconfused
AskWoody LoungerJune 10, 2005 at 9:10 am in reply to: Udate table using update query in code (Access 2k win 2k) #952696I’ll give that a try, unfortunately it’s not the first time that will have been done to this database, I think it has got to the point that a major overhaul is in order.
-
WSdazednconfused
AskWoody LoungerJune 10, 2005 at 6:55 am in reply to: Udate table using update query in code (Access 2k win 2k) #952690Hans
Thanks foi the help, I’d tried the … bit, it takes me straight to my code, so it is attached to the right control.
The information I’m trying to update is in the datatable, it is not displayed on the form, nor is it in the query used to populate the form.
I have just tried adding it to the query and then updating a text box on the form, but no luck. I’m now fairly convinced that some of the problems are down to very bad database design, I’ve come across a few comments about spaces in field names not beng a good idea, this database has lots of them. While Access alters the name by adding an underscore when it’s dropped onto a form, the table still has the original name with the space.
I’ve looked into the database in depth and there are a great many occasions where this has been done, almost every field in every table!!
To confirm my theory I’ve copied a small amount of data into a new database, recreated the form and subform, the code works, so unless I’m wrong about the spaces in the field names it looks like that’s my problem.
Thanks again Hans
Ian
-
WSdazednconfused
AskWoody LoungerJune 9, 2005 at 2:27 pm in reply to: Udate table using update query in code (Access 2k win 2k) #952537OK, here is what I’m trying to do: –
The database is used to record all work requests made to our maintenance department along with the response made by that department. Due to a lack of PC skills (the don’t like typing) I’ve been asked if it’s possible to enter the date and time by clicking onto a button or control. As there is a control (check box) that they have to click to identify what task they are currently working on I wanted to use this checkbox to populate the date / time field. It was at this point that I started to have problems.
To be honest, the database is a bit of a mess, mainly due to a host of modifications made to try and reduce the amount of typing to be done. This is just one more job.
It’s times like this that I start to think it would be a fun job if not for the users……..
Thanks for the assistance so far.
Ian
-
WSdazednconfused
AskWoody LoungerJune 9, 2005 at 2:02 pm in reply to: Udate table using update query in code (Access 2k win 2k) #952530Hans
Thanks for the advice, but I’m still not having any luck. Although I’m now thinking it’s not related to the code. I’ve replaced all the code with a message box line and even that doesn’t appear!! Is there any reason that a control on a sub form might not allow code in its ‘on click’ event to run?
I had noticed the qDf was superflous, but as it was in the MS help example I put it in when the code wouldn’t work….. Result, no change….
I have persuaded the database to do what I want from my ‘test’ form, using the docmd.runsql line of code, however, even that wont work from the dratted subform.
I’m starting to think it might be down to this being displayed in continous forms??
Thanks for the help.
Ian.
-
WSdazednconfused
AskWoody LoungerMarch 30, 2005 at 11:15 am in reply to: Linked Tables, how to see the file name? (Access 2K, Win 2k) #938014Thanks for the replies, that tool tip ting would be brilliant if 2000 had it, pity we wont be upgrading to 2003 any time soon.
The properties window will do me, it even solved the long standing mystery of where the $ sign comes from in the error messages about tables not existing…
Thank You.
Ian
-
WSdazednconfused
AskWoody LoungerGreat
Thanks for the help, all methods seem to work fine.
Ian
-
WSdazednconfused
AskWoody LoungerSeptember 9, 2004 at 12:02 pm in reply to: SQL not populateing recordset in code (Access 2000) #875146It’s the dates. For some reason the date is being changed to US style in the SQL ouptput in my immediate window. I changed the day and mopnth back to how they should be and now have a result from a query, by setting the EndDateTxt control to September next year I get results.
I’ve just gone through my PC’s settings and they haven’t been changed as far as I can tell, the date format is still dd/mm/yy style, is thre a way of forcing SQL, or Access to accept the dates in a certain format? Or, is there anywhere in Windows 2000 that controls the date format outside of the control panel?
Francois
Sorry, just noticed the one I’d posted still had the spaces in, bu tonly after you pointed it out to me……. Charlotte will be thinking I’m a bit thick…
Thanks for the time and trouble.
Ian
-
WSdazednconfused
AskWoody LoungerSeptember 9, 2004 at 12:02 pm in reply to: SQL not populateing recordset in code (Access 2000) #875147It’s the dates. For some reason the date is being changed to US style in the SQL ouptput in my immediate window. I changed the day and mopnth back to how they should be and now have a result from a query, by setting the EndDateTxt control to September next year I get results.
I’ve just gone through my PC’s settings and they haven’t been changed as far as I can tell, the date format is still dd/mm/yy style, is thre a way of forcing SQL, or Access to accept the dates in a certain format? Or, is there anywhere in Windows 2000 that controls the date format outside of the control panel?
Francois
Sorry, just noticed the one I’d posted still had the spaces in, bu tonly after you pointed it out to me……. Charlotte will be thinking I’m a bit thick…
Thanks for the time and trouble.
Ian
-
WSdazednconfused
AskWoody LoungerSeptember 9, 2004 at 11:21 am in reply to: SQL not populateing recordset in code (Access 2000) #875134Hope a zip file is OK?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Discover the Best AI Tools for Everything
by
Alex5723
9 hours ago -
Edge Seems To Be Gaining Weight
by
bbearren
3 hours, 46 minutes ago -
Rufus is available from the MSFT Store
by
PL1
19 hours, 58 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
22 hours, 7 minutes ago -
KB5061768 update for Intel vPro processor
by
drmark
4 hours, 32 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
43 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
17 hours, 53 minutes ago -
Office gets current release
by
Susan Bradley
20 hours, 30 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 days, 10 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
1 day, 19 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days, 11 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
2 days, 21 hours ago -
X Suspends Encrypted DMs
by
Alex5723
2 days, 23 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
2 days, 23 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 1 hour ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 days, 13 hours ago -
Enabling Secureboot
by
ITguy
2 days, 20 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
3 days, 8 hours ago -
No more rounded corners??
by
CWBillow
3 days, 4 hours ago -
Android 15 and IPV6
by
Win7and10
2 days, 18 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
3 days, 21 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
3 days, 18 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
4 days, 7 hours ago -
May preview updates
by
Susan Bradley
3 days, 18 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 days, 10 hours ago -
Just got this pop-up page while browsing
by
Alex5723
3 days, 23 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
3 days, 20 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
2 days, 22 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
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.