A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Splitted DB Front-End issue (error 3048)



 
 
Thread Tools Display Modes
  #1  
Old December 31st, 2008, 03:16 AM posted to microsoft.public.access.gettingstarted
Mishanya
external usenet poster
 
Posts: 197
Default Splitted DB Front-End issue (error 3048)

Conceited and fully happy with myself I've just finished my first Access
project. Since I'm a rookie, I suspect my work is not over-loaded with
bombastic VBA modules and elaborate functions (comparing to what I've seen in
some DB I've downloaded for learning purposes). Some couple of dozens of
tables (mostly with a very few fields), about the same amount of queries most
of wich serve as sources for reports' pie-charts (though, 2 with subqueries
and one union), Allen Browne's Calendar (probably the most elaborate part of
my project wich I simply copy-pasted without tempering inside - I'm not that
level of Access user to understand it's functions' labirint anyway), a dozen
of forms with nested subforms (again - nothing
super-power-rangers-staff-extraordinary).
Although, I did build 2 things wich I'm proud of:
1) The main all-in-one-workplace form wich presents simultaniously most of
the data related to selected client (a dozen of subforms,nested partly in
tab-controls, partly alone, a few sub-sub-singlview-forms content of wich is
controled by clicking its parent' datasheet-view subforms' controls, command
buttons for opening other general forms using link criteria, etc.). Again -
no common sense raping - just exploitation of the big 21'' screen.
2) The main report consisting of 13 subreports with 7 of them having
subsubreports (the pie-charts designed in forms , copy-pasted to the reports
and linked on the mainreport ClientID' parameter in their underlying queries).

Everithing works perfect while unsplitted, no delays or "calculation"
hanging while opening the main form or running the main report. I was
planning to deliver it tomorrow to the final user with only one thing to
complete - splitting the DB so it would serve 2 users (the computer of 1 of
them serving a server role). After learning, that the task of splitting is
quite simple, I've tested it anyway on my machine.

After the splitting, while both BE and FE files are still in the same
directory in my computer (no server or multiple users involved), all the
forms still react nicely (a minor delay with the mainform opening). But my
"cherry of the cream", the report, wich the whole thing is built for, have
turned out on me.
It does run end even opens in preview on page 1, but when I click the arrow
to procede to the page 2, it throws Runtime error '3048 cannot open anymore
databases', then some big box with cursing about 'an error while sending data
to the OLE server' and all the possible why's to this - at best (the first
6-7 subreports do show, then blank pages, no pies at all), or crashing and
closing Access with no further explanation at worst. Yet, every subreport
(including those, having sub-sub-reports) opens individually with no problem.

I've read all the treads on the issue in the forum - seems that that kind of
problem occurs here and there and the root might lie in Access inability to
handle many queries simultaniously. My question is:
1) Why it does not seem to be a problem at all while the DB is unsplitted?
2) The number of the mainreport queries may increase while run by multiplie
users, but in my case I'm the only one and the DB is still runs inside one
machine, so what is the crucial difference?
3) Comparing to the projects people describe in this forum, mine is really
light-weight, so how can it be unexecutable while splitted even on this low
level of sofistication and data mass?
4) And most importantly - I can't even imagine how to approach the task of
solving the issue - there are 3 or 4 domain aggregate functions in my
mainform (2 including RecordsetClone), but not a single in the report,
naturally there are few mainform' comboboxes and quite a lot of controls
populated on the open mainform. So when I run the report while the mainform
is closed, the output is much better - all the table-view subreports do show,
but the charts still fail. But is the Access so weak indeed?

For those who had patience to read this saga (my longest composition in
English in my life - but I'm really frustrated) - please advise.
Happy New Year to all of You!

  #2  
Old December 31st, 2008, 10:38 PM posted to microsoft.public.access.gettingstarted
Dorian
external usenet poster
 
Posts: 542
Default Splitted DB Front-End issue (error 3048)

What version of Access?
MDB or MDE?
have you compacted and repaired?
have you tried creating a fresh database and importing all modules?

-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"Mishanya" wrote:

Conceited and fully happy with myself I've just finished my first Access
project. Since I'm a rookie, I suspect my work is not over-loaded with
bombastic VBA modules and elaborate functions (comparing to what I've seen in
some DB I've downloaded for learning purposes). Some couple of dozens of
tables (mostly with a very few fields), about the same amount of queries most
of wich serve as sources for reports' pie-charts (though, 2 with subqueries
and one union), Allen Browne's Calendar (probably the most elaborate part of
my project wich I simply copy-pasted without tempering inside - I'm not that
level of Access user to understand it's functions' labirint anyway), a dozen
of forms with nested subforms (again - nothing
super-power-rangers-staff-extraordinary).
Although, I did build 2 things wich I'm proud of:
1) The main all-in-one-workplace form wich presents simultaniously most of
the data related to selected client (a dozen of subforms,nested partly in
tab-controls, partly alone, a few sub-sub-singlview-forms content of wich is
controled by clicking its parent' datasheet-view subforms' controls, command
buttons for opening other general forms using link criteria, etc.). Again -
no common sense raping - just exploitation of the big 21'' screen.
2) The main report consisting of 13 subreports with 7 of them having
subsubreports (the pie-charts designed in forms , copy-pasted to the reports
and linked on the mainreport ClientID' parameter in their underlying queries).

Everithing works perfect while unsplitted, no delays or "calculation"
hanging while opening the main form or running the main report. I was
planning to deliver it tomorrow to the final user with only one thing to
complete - splitting the DB so it would serve 2 users (the computer of 1 of
them serving a server role). After learning, that the task of splitting is
quite simple, I've tested it anyway on my machine.

After the splitting, while both BE and FE files are still in the same
directory in my computer (no server or multiple users involved), all the
forms still react nicely (a minor delay with the mainform opening). But my
"cherry of the cream", the report, wich the whole thing is built for, have
turned out on me.
It does run end even opens in preview on page 1, but when I click the arrow
to procede to the page 2, it throws Runtime error '3048 cannot open anymore
databases', then some big box with cursing about 'an error while sending data
to the OLE server' and all the possible why's to this - at best (the first
6-7 subreports do show, then blank pages, no pies at all), or crashing and
closing Access with no further explanation at worst. Yet, every subreport
(including those, having sub-sub-reports) opens individually with no problem.

I've read all the treads on the issue in the forum - seems that that kind of
problem occurs here and there and the root might lie in Access inability to
handle many queries simultaniously. My question is:
1) Why it does not seem to be a problem at all while the DB is unsplitted?
2) The number of the mainreport queries may increase while run by multiplie
users, but in my case I'm the only one and the DB is still runs inside one
machine, so what is the crucial difference?
3) Comparing to the projects people describe in this forum, mine is really
light-weight, so how can it be unexecutable while splitted even on this low
level of sofistication and data mass?
4) And most importantly - I can't even imagine how to approach the task of
solving the issue - there are 3 or 4 domain aggregate functions in my
mainform (2 including RecordsetClone), but not a single in the report,
naturally there are few mainform' comboboxes and quite a lot of controls
populated on the open mainform. So when I run the report while the mainform
is closed, the output is much better - all the table-view subreports do show,
but the charts still fail. But is the Access so weak indeed?

For those who had patience to read this saga (my longest composition in
English in my life - but I'm really frustrated) - please advise.
Happy New Year to all of You!

  #3  
Old January 1st, 2009, 12:38 AM posted to microsoft.public.access.gettingstarted
Mishanya
external usenet poster
 
Posts: 197
Default Splitted DB Front-End issue (error 3048)

Hi Dorian and Happy New Year!
Access 2003, MDB file (Access 2000 file format), C&R - Yes, all the time.
I have not tried to create a fresh DB.

The report consists of 20 subreports:
1) 13 single subreports of wich
2) 7 have charts (pies) and supporting information as sub-subreports.
All the sub- and sub-subreports as well as the charts are based on queries,
3 have DLast and DFirst domain aggregate functions, 2 have subqueries, 1 is
based on Union query. No other VB.
The charts were initially built in forms then copy-pasted to reports and
linked by ClientID parameter in WHERE clause to the main report.
The report runs instantly and smoothly, with only here-and-there delays
while formatting pagebreaks.
After splitting the DB into BE and FE, while both the files are still in one
directory in my computer, runnung the report causes 3048 error, ending up
with 6 first non-chart subreports and blank pages for the rest and at times
even crashes Access alltogether.
Every subreport including those with charts still run succesfullly while
executed alone.
The whole report, executed when all other application' forms are closed,
complete the run with fewer 3048 errors and shows all but the charts reports.
By elimination and counting the number of the error boxes appearances, I've
definetly concluded that the error is caused by the charts.
Tried to split the main report in two (10 subreports each) and to run
separatly - succesfully, although, I can't be sure it'll still be so when BE
and FE separated to different computers. Anyway, splitting the main report is
not convinient, as all the data in it is coherent and needed combined.

How can splitting have so drastical effect even though both the files are
still in the same hard disc?


"Dorian" wrote:

What version of Access?
MDB or MDE?
have you compacted and repaired?
have you tried creating a fresh database and importing all modules?

-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"Mishanya" wrote:

Conceited and fully happy with myself I've just finished my first Access
project. Since I'm a rookie, I suspect my work is not over-loaded with
bombastic VBA modules and elaborate functions (comparing to what I've seen in
some DB I've downloaded for learning purposes). Some couple of dozens of
tables (mostly with a very few fields), about the same amount of queries most
of wich serve as sources for reports' pie-charts (though, 2 with subqueries
and one union), Allen Browne's Calendar (probably the most elaborate part of
my project wich I simply copy-pasted without tempering inside - I'm not that
level of Access user to understand it's functions' labirint anyway), a dozen
of forms with nested subforms (again - nothing
super-power-rangers-staff-extraordinary).
Although, I did build 2 things wich I'm proud of:
1) The main all-in-one-workplace form wich presents simultaniously most of
the data related to selected client (a dozen of subforms,nested partly in
tab-controls, partly alone, a few sub-sub-singlview-forms content of wich is
controled by clicking its parent' datasheet-view subforms' controls, command
buttons for opening other general forms using link criteria, etc.). Again -
no common sense raping - just exploitation of the big 21'' screen.
2) The main report consisting of 13 subreports with 7 of them having
subsubreports (the pie-charts designed in forms , copy-pasted to the reports
and linked on the mainreport ClientID' parameter in their underlying queries).

Everithing works perfect while unsplitted, no delays or "calculation"
hanging while opening the main form or running the main report. I was
planning to deliver it tomorrow to the final user with only one thing to
complete - splitting the DB so it would serve 2 users (the computer of 1 of
them serving a server role). After learning, that the task of splitting is
quite simple, I've tested it anyway on my machine.

After the splitting, while both BE and FE files are still in the same
directory in my computer (no server or multiple users involved), all the
forms still react nicely (a minor delay with the mainform opening). But my
"cherry of the cream", the report, wich the whole thing is built for, have
turned out on me.
It does run end even opens in preview on page 1, but when I click the arrow
to procede to the page 2, it throws Runtime error '3048 cannot open anymore
databases', then some big box with cursing about 'an error while sending data
to the OLE server' and all the possible why's to this - at best (the first
6-7 subreports do show, then blank pages, no pies at all), or crashing and
closing Access with no further explanation at worst. Yet, every subreport
(including those, having sub-sub-reports) opens individually with no problem.

I've read all the treads on the issue in the forum - seems that that kind of
problem occurs here and there and the root might lie in Access inability to
handle many queries simultaniously. My question is:
1) Why it does not seem to be a problem at all while the DB is unsplitted?
2) The number of the mainreport queries may increase while run by multiplie
users, but in my case I'm the only one and the DB is still runs inside one
machine, so what is the crucial difference?
3) Comparing to the projects people describe in this forum, mine is really
light-weight, so how can it be unexecutable while splitted even on this low
level of sofistication and data mass?
4) And most importantly - I can't even imagine how to approach the task of
solving the issue - there are 3 or 4 domain aggregate functions in my
mainform (2 including RecordsetClone), but not a single in the report,
naturally there are few mainform' comboboxes and quite a lot of controls
populated on the open mainform. So when I run the report while the mainform
is closed, the output is much better - all the table-view subreports do show,
but the charts still fail. But is the Access so weak indeed?

For those who had patience to read this saga (my longest composition in
English in my life - but I'm really frustrated) - please advise.
Happy New Year to all of You!

  #4  
Old January 1st, 2009, 01:34 AM posted to microsoft.public.access.gettingstarted
Mishanya
external usenet poster
 
Posts: 197
Default Splitted DB Front-End issue (error 3048)

Tried to create a fresh DB - no effect.

"Dorian" wrote:

What version of Access?
MDB or MDE?
have you compacted and repaired?
have you tried creating a fresh database and importing all modules?

-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"Mishanya" wrote:

Conceited and fully happy with myself I've just finished my first Access
project. Since I'm a rookie, I suspect my work is not over-loaded with
bombastic VBA modules and elaborate functions (comparing to what I've seen in
some DB I've downloaded for learning purposes). Some couple of dozens of
tables (mostly with a very few fields), about the same amount of queries most
of wich serve as sources for reports' pie-charts (though, 2 with subqueries
and one union), Allen Browne's Calendar (probably the most elaborate part of
my project wich I simply copy-pasted without tempering inside - I'm not that
level of Access user to understand it's functions' labirint anyway), a dozen
of forms with nested subforms (again - nothing
super-power-rangers-staff-extraordinary).
Although, I did build 2 things wich I'm proud of:
1) The main all-in-one-workplace form wich presents simultaniously most of
the data related to selected client (a dozen of subforms,nested partly in
tab-controls, partly alone, a few sub-sub-singlview-forms content of wich is
controled by clicking its parent' datasheet-view subforms' controls, command
buttons for opening other general forms using link criteria, etc.). Again -
no common sense raping - just exploitation of the big 21'' screen.
2) The main report consisting of 13 subreports with 7 of them having
subsubreports (the pie-charts designed in forms , copy-pasted to the reports
and linked on the mainreport ClientID' parameter in their underlying queries).

Everithing works perfect while unsplitted, no delays or "calculation"
hanging while opening the main form or running the main report. I was
planning to deliver it tomorrow to the final user with only one thing to
complete - splitting the DB so it would serve 2 users (the computer of 1 of
them serving a server role). After learning, that the task of splitting is
quite simple, I've tested it anyway on my machine.

After the splitting, while both BE and FE files are still in the same
directory in my computer (no server or multiple users involved), all the
forms still react nicely (a minor delay with the mainform opening). But my
"cherry of the cream", the report, wich the whole thing is built for, have
turned out on me.
It does run end even opens in preview on page 1, but when I click the arrow
to procede to the page 2, it throws Runtime error '3048 cannot open anymore
databases', then some big box with cursing about 'an error while sending data
to the OLE server' and all the possible why's to this - at best (the first
6-7 subreports do show, then blank pages, no pies at all), or crashing and
closing Access with no further explanation at worst. Yet, every subreport
(including those, having sub-sub-reports) opens individually with no problem.

I've read all the treads on the issue in the forum - seems that that kind of
problem occurs here and there and the root might lie in Access inability to
handle many queries simultaniously. My question is:
1) Why it does not seem to be a problem at all while the DB is unsplitted?
2) The number of the mainreport queries may increase while run by multiplie
users, but in my case I'm the only one and the DB is still runs inside one
machine, so what is the crucial difference?
3) Comparing to the projects people describe in this forum, mine is really
light-weight, so how can it be unexecutable while splitted even on this low
level of sofistication and data mass?
4) And most importantly - I can't even imagine how to approach the task of
solving the issue - there are 3 or 4 domain aggregate functions in my
mainform (2 including RecordsetClone), but not a single in the report,
naturally there are few mainform' comboboxes and quite a lot of controls
populated on the open mainform. So when I run the report while the mainform
is closed, the output is much better - all the table-view subreports do show,
but the charts still fail. But is the Access so weak indeed?

For those who had patience to read this saga (my longest composition in
English in my life - but I'm really frustrated) - please advise.
Happy New Year to all of You!

  #5  
Old January 7th, 2009, 11:09 PM posted to microsoft.public.access.gettingstarted
Larry Linson
external usenet poster
 
Posts: 3,112
Default Splitted DB Front-End issue (error 3048)

"Dorian" wrote

"Give someone a fish and they eat for a day;
teach someone to fish and they eat for a lifetime".


Give a man a fish and he eats for a day,
Teach a man to fish and you'll never see him at home again.


  #6  
Old January 7th, 2009, 11:26 PM posted to microsoft.public.access.gettingstarted
Pete D.[_3_]
external usenet poster
 
Posts: 488
Default Splitted DB Front-End issue (error 3048)

Especially if he has a beer cooler
"Larry Linson" wrote in message
...
"Dorian" wrote

"Give someone a fish and they eat for a day;
teach someone to fish and they eat for a lifetime".


Give a man a fish and he eats for a day,
Teach a man to fish and you'll never see him at home again.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.