Form Focus

groupy

Registered User.
Local time
Today, 19:09
Joined
Dec 17, 2001
Messages
33
Hi,

I need some help.

I want to implement the fSetAccessWindow(SW_HIDE) methode in my new database. Only I have a problem with the reports.

When I open een report in the db on a windows XP pc, everythink goes OK. But when I open de db on a win98 pc with the same version of Access (Access 2000) a other form will be showed before the report. This while the report have the focus.

A dummy db is attact.

Please help, because I want to implement the function fSetAccessWindow(SW_HIDE) in a real database.

Thanks
 
You forgot the attachment

IMO
 
Attactment

Here the attactment
 

Attachments

Hi,

Looks very nice the reportviewer, but when the screen is opened, a fatal error displayed:

Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience.

I think I know what the problem is but I don't know how to solve it. The problem is that you don't open the screen in acPreview mode. When you realise this I think the problem is over.

But I don't know how to realise.

I hope you can help me, thanks a lot.
 
It sounds to me like Access has been damaged. In your Control panel (Add/Remove Programs) try to re-install Access, see if this helps.

IMO
 
Hi IMO,

Thanks a lot for you help, I deleted the report and make a new one, after that it works.

One question left for you, do you have the same solution for datasheet forms. Because in my dummy database it is not possible to open a datasheet form in the SW_HIDE mode, only in de SW_NORMAL mode.

Is this true, so yes, do you have a solution for it. I really want to open the datasheet form in the SW_HIDE mode.

I hope you have a solution.

Thanks a lot!
 
Drag the datasheet form onto an unbound form, open the unbound form instead of the datasheet
 
Complete working version

Hi,

All thanks a lot for you're help.

As attactment a dummy version of the database who works fine.

The access windows is all the time hide and it's possible to preview reports and open datasheets.

Looks very nice.
 

Attachments

Glad you got it working

IMO
 

Users who are viewing this thread

Back
Top Bottom