473,326 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

/decompile and updatable recordset

Hello,

I have two questions:

1. The file-size of my mdb-Database grew extremely large after having
written a lot of VBA-code. I know about the /decompile-option tried it
.... it did not work. Why? what to do now?

2. I have a query producing an updatable dynaset of data. When I tried
opening it in a VBA-routine like

DIM qry AS DAO.QuerySet
DIM rst AS DAO.Recordset

set qry ...
set rst = qry.OpenRecordSet

my rst is NOT updatable. I tried to modify the opening-process ... no
success.
What could be the problem?
(May be I better send the whole code ... later, as I dont have it here,
now.)

Thanks.

Holger.

Nov 12 '05 #1
6 2159
remember to reassign any references you may have in your old MDB if you
choose to copy to a new MDB
Nov 12 '05 #2
hal boyles wrote:
remember to reassign any references you may have in your old MDB if
you choose to copy to a new MDB


And check Relationships. All mine disappeared after a decompile!
Nov 12 '05 #3
> And check Relationships. All mine disappeared after a decompile!

Inasmuch as "decompile" only affects the VBA code, I suspect that your problem
has a different source.

--
Bruce M. Thompson, Microsoft Access MVP
bt******@mvps.org (See the Access FAQ at http://www.mvps.org/access)
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<
Nov 12 '05 #4
Bruce M. Thompson wrote:
And check Relationships. All mine disappeared after a decompile!


Inasmuch as "decompile" only affects the VBA code, I suspect that
your problem has a different source.
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<


Hmmm, that's interesting, I just assumed it was the decompile. Time for
some testing...
Nov 12 '05 #5
Actually, Bruce is right -- /DECOMPILE would not do this.
--
MichKa [MS]

This posting is provided "AS IS" with
no warranties, and confers no rights.
"Deano" <ma************@hotmail.com> wrote in message
news:WW********************@wards.force9.net...
Bruce M. Thompson wrote:
And check Relationships. All mine disappeared after a decompile!


Inasmuch as "decompile" only affects the VBA code, I suspect that
your problem has a different source.
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<


Hmmm, that's interesting, I just assumed it was the decompile. Time for
some testing...

Nov 12 '05 #6
Michael (michka) Kaplan [MS] wrote:
Actually, Bruce is right -- /DECOMPILE would not do this.


It was probably me...

Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: RP | last post by:
Hello, in an earlier post I asked about connection.open options. The DSNless version seemedto work fine, but now I am having trouble getting a record set to updatable. I am not sure if this has to...
1
by: Martin van Vliet | last post by:
Hello, When I try to run the following code I get an error: "Recordset not updatable". It is possible to show data from the same table on a webpage, so the database name and the table nam must...
4
by: cronept | last post by:
Hi, I made a database and split it to one back end and one front end. I am using Access 2000. I put the front end db on my co workers' computers and the back end on the server. The problem is...
1
by: Bob Darlington | last post by:
I am using code (simplified for this post) to generate a recordset to which I want to add a record. Set rs = db.Openrecordset("SELECT * FROM qVariations WHERE ......") ws.Begintrans If...
0
by: kentsoi | last post by:
i write the code as follow: when i try to edit text3's content' the message " this recordset is not updatable" is display. can anyone tell me what's wrong ??? thanks a lot...
3
by: Sim Zacks | last post by:
I have a postgresql backend with an access front end and I am trying to redefine the recordset of the form to use an ADO recordset. The problem is that the CursorType always changes to...
6
by: ZRexRider | last post by:
I've been reading the newsgroups and most of the solutions for this message are simple and obvious but unfortunately don't solve my problem. I have an MS-Access 2002 ADP application that...
3
by: ruthboaz | last post by:
Hi, I am upgrading the current ms access .mdb file to a .adp with sql server back end. I have been converted tables, forms, reports to .adp.. The tables are reflected at the server. a) ...
1
by: beceri | last post by:
Hi ; I use too mix query ( four relationship and main and child tables :) ) so that of couse my query is not updatable I agree this ! :( but I want to different thing ; when form is open my mix...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.