473,508 Members | 2,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Read/Write in a Query

4 New Member
I have a Query that combines the columns that I need to access in a form from 2 different tables; one is local to the system and I can change any value in it, the other table comes from an online database and only has read privileges. When I make the query I can't edit any of the columns that come from the table that I have write privileges to. Is there a way that I can edit just these values? I don't need to change the read only table.

Thanks,
Tim
Jun 11 '07 #1
2 1609
JConsulting
603 Recognized Expert Contributor
I have a Query that combines the columns that I need to access in a form from 2 different tables; one is local to the system and I can change any value in it, the other table comes from an online database and only has read privileges. When I make the query I can't edit any of the columns that come from the table that I have write privileges to. Is there a way that I can edit just these values? I don't need to change the read only table.

Thanks,
Tim
Hi Tim,
There's a couple of approaches to take here. You'll have to choose which works best for you.

Separate your form into a form/subform...or main form and 2 subforms. Since we haven't been told how the records interlace, you may be able to arrange the fields so that they can sit side by side, then you can update one subform...and just create a dynamic link to the read only one so that the records still coincide.

Another option is to use DLookup and VBA to populate the Read Only fields, and set them to Locked on your form. The current record ID is used I assume to link your tables, so it would be used as the key to looking up the REad Only Data.

The other option is to create a "temp" table from the linked table so that it's local to your database. Not sure how often you might want to refresh it..maybe when the form opens? However, it can be cleared out once the form closes.

Let us know what you think...and we'll help you further.

J
Jun 12 '07 #2
TMorrison
4 New Member
Thank you for the response, sorry I haven't been around to reply to you sooner. This project of mine got put on hold and ended up getting redefined a little. Unfortunately I have no Access experience, and no one on my team really knows how to program in it either.

Here's what I need it to do: I have an online database that will periodically have new entries added to it, I figured out how to get this data into a table but you can only have read privileges for it. The trick with this is that I want to be able to add extra info that will be kept offline, and I also want to be able to add a new entry even if I don't have access to the online database. The way I was thinking about doing this is to create a new table and have the online database table copy over to this if the entry doesn't already exist (each entry will have a specific case number so you'd only need to check if that number is in the table).

Problem is I have absolutely no idea how to do that. I've been trying to go through some online tutorials of Access but they don't seem to be helping me much. Could you possibly help me out with this, or at least give me a starting point? I'd appreciate any help offered.


Thanks,
Tim
Jun 28 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
27072
by: Baldy | last post by:
Hi folks. I have a query opened from a menu bar. Is it possible to make the query read only? Thanks Al
4
1392
by: Katherine Hanson | last post by:
I have an Access database in a network folder that only a few users have write access to. I'd like other users to be able to query the database but not update records. The problem is the code I'm...
1
10067
by: libbythomas | last post by:
I created an Access 2000 form from a query. But I cannot edit it. I can flip through the records. If I create a table from the query (maketable) and then create the form from the table, it is...
1
1740
by: windandwaves | last post by:
Hi Folk I am working with the TYPE property. I want to change that from 2 (byte) to 4 (long integer) for a field that already contains tons of data. How can I do that? The help reads: ...
24
41541
by: Bob Alston | last post by:
Anyone know a way to make all access to a linked table, in another Access MDB, read only? I really don't want all the hassle of implementing full access security. I can't do this at the server...
3
2925
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
I try to follow Steve's paper to build a database, and store a small text file into SQL Server database and retrieve it later. Only difference between my table and Steve's table is that I use NTEXT...
7
13249
by: Igor | last post by:
1. In this topic...
0
1275
by: Arvi Laanemets | last post by:
Hi We are trying to create a simply ASP code, which creates guests list from Access database, and displays a country flag for every guest. All flag images are stored as *.gif in subfolder...
1
1879
Oodles Of Noodles
by: Oodles Of Noodles | last post by:
Hello fellow geeks I have a problem in my database iVB .Net program that is generating 'Error:Invalid attempt to read when no data is present.' The weird part is that when you call the page from...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.