View Single Post
Old 16-08-2005, 17:20   #10
Raistlin
Inactive
 
Join Date: Feb 2004
Location: There's no place like 127.0.0.1
Services: Depends on the person and the price they're offering
Posts: 12,384
Raistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered stars
Raistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered stars
Re: Creating Form objects in Access from within a Module

Ok, something weird's happening.

In the on_click event for butButton I've got:

CreateControl (frmMyForm,acLabel,acDetail,,,6.998,3.598,5.399,2. 4) As Control

Which should be the correct formatting for that function.....

Whenever I hit return at the end of the line, or space, or try to save the form, the database just shuts down (no error messages or anything) and I get returned to the desktop.

The .ldb is still open and I need to open and then reclose the database to clear the .ldb file.

When I do this Access doesn't save the new line of code.

Any ideas what's causing this? I'm sure it's not a problem with the code, so I'm guessing that it must be a "feature"
Raistlin is offline   Reply With Quote