Connecting Tech Pros Worldwide Forums | Help | Site Map

Vanishing Sub-Form Data

ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,219
#1: Apr 23 '06
I am experiencing an extremely peculiar problem, which occurred immediately after converting a self-contained Access 2003 database to a Front/Back End architecture. When I enter a specific field ([SubLocation]) in a Sub-Form and move the Mouse to other Records within the same field context, all values in those fields will consecutively disappear. The integrity of the underlying data is intact and a Data Refresh, Form/Sub-Form Requery, or Refreshing the Table Links does not solve the problem. The Main Form must be closed and opened again for the data to be properly displayed. This problem does not exist within the self-contained version of the database. There is no code in the MouseMove Event of this field. The Enter Event of this field contains code, which modifies the RecordSource of the [SubLocation] field based on the value of the current [Location]. I am at my wits end – can anyone provide some insight into this situation? Thanks

NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,731
#2: Jan 9 '07

re: Vanishing Sub-Form Data


Did you ever get a resolution to this ADezii?
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,219
#3: Jan 10 '07

re: Vanishing Sub-Form Data


Quote:

Originally Posted by NeoPa

Did you ever get a resolution to this ADezii?

No one from this planet has ever encountered a similar problem, and to this day I have never found the underlying cause. Had to create spaghetti code that writes to a Local Table then updates the Back End on the Server. A real nightmare for keeing the data in sync, since other Users are duplicating this process on their localized Front Ends. Thanks for the thought.
nico5038's Avatar
Moderator
 
Join Date: Nov 2006
Location: The Netherlands
Posts: 2,232
#4: Jan 10 '07

re: Vanishing Sub-Form Data


Hmm, I've had some strange problems when a bound field was present on the report, but the field was removed from the report's query.
Perhaps worthwhile to check your fields.

Did you also try to decompile the splitted .mdb ?

Nic;o)
PEB's Avatar
PEB PEB is offline
Expert
 
Join Date: Aug 2006
Location: Bulgaria
Posts: 1,380
#5: Jan 10 '07

re: Vanishing Sub-Form Data


Quote:

Originally Posted by ADezii

I am experiencing an extremely peculiar problem, which occurred immediately after converting a self-contained Access 2003 database to a Front/Back End architecture. When I enter a specific field ([SubLocation]) in a Sub-Form and move the Mouse to other Records within the same field context, all values in those fields will consecutively disappear. The integrity of the underlying data is intact and a Data Refresh, Form/Sub-Form Requery, or Refreshing the Table Links does not solve the problem. The Main Form must be closed and opened again for the data to be properly displayed. This problem does not exist within the self-contained version of the database. There is no code in the MouseMove Event of this field. The Enter Event of this field contains code, which modifies the RecordSource of the [SubLocation] field based on the value of the current [Location]. I am at my wits end – can anyone provide some insight into this situation? Thanks


Hi,

I've had the same problem! There is long time that i'ven' t had it but before i've removed all heavy code and expressions.

Pls verify that there is no null data that participate in ur recordset and u check in it for not null data!

Yesterday just i've had this pb with Access 2.0! Imagine only! :)
PEB's Avatar
PEB PEB is offline
Expert
 
Join Date: Aug 2006
Location: Bulgaria
Posts: 1,380
#6: Jan 10 '07

re: Vanishing Sub-Form Data


Sometimes i've other pb: in All Fields it is written #Name and can't see anything behind!


And in fact also when there is no users and i'm the only one in the front end /back end database this prb appeared!

Check ur expressions! Do them sas simplier as possible! And expect the use of null!
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,219
#7: Jan 10 '07

re: Vanishing Sub-Form Data


Quote:

Originally Posted by nico5038

Hmm, I've had some strange problems when a bound field was present on the report, but the field was removed from the report's query.
Perhaps worthwhile to check your fields.

Did you also try to decompile the splitted .mdb ?

Nic;o)

Tried that also, thanks.
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,219
#8: Jan 10 '07

re: Vanishing Sub-Form Data


Quote:

Originally Posted by PEB

Hi,

I've had the same problem! There is long time that i'ven' t had it but before i've removed all heavy code and expressions.

Pls verify that there is no null data that participate in ur recordset and u check in it for not null data!

Yesterday just i've had this pb with Access 2.0! Imagine only! :)

Data in question are all Required, Numeric Fields derived from a multicolumn Combo Box.
Reply


Similar Microsoft Access / VBA bytes