Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why is my table not displaying?

Status
Not open for further replies.

Soundsmith

Programmer
Feb 21, 2001
84
US
I'm going to try to avoid details on this one, all I'm looking for is help figuring out how to troubleshoot the problem-a full explanation would take all week!

I'm trying to create a form to handle 'exception' records which contain insufficient info to be automatically matched to the primary tables. One Case may have multiple Claims, and in a few instances, the same Claimno with a different aid_cod (different primary key.) The primary key for the primary tables is, therefore, a composite of caseno, claimno and aid_cod. Transaction records contain this key plus a transaction detail-trans_type_code, trans_amt, etc.

The exception records typically either are missing some element of the primary key, usually claimno, or the balances are mismatched, as the records come in in random order, but MUST go into our system in their proper order, and we can't change the import record structures (they come from the state, and it takes years to get ANY change incorporated, even if the approval committee agrees...

A human worker can look at these records and the existing transactions to compare and match them up. My current form has the exception records listed by Caseno only, with a subform showing all records matching the caseno (continuous display.) The form also displays all cases in the system with that case number. The idea is for the worker to pick a primary case, and assign exception records to it in their proper order.

When the records have been identified (the new sequence number is entered on the subform) I have the user click on a command button which appends records into tblTest, first all records which match the primary key from the main tables, then the records which have been identified from the exception table. This part works fine. I can stop the process at this point and examine the table, all the records are there.

Now click on tab 2, opening the page to a subform which displays the tblTest records. If I do this directly, clicking on the form button in the database object window, all the records are there and display properly. When I do this with the subform on the tab page, MOST of the time, the form is blank-no records, no empty fields, nothing. But OCCASIONALLY, I'll get the data. I cannot find any logic to describe when this will occur-I can page through the system, and about one out of 10 or 12 will display.

Does anybody have an idea where I should start looking? I'm not using recordsets, just creating and displaying the tables on the fly. Filters are set off, and I'm stumped.

Thanks for any help you can offer. David 'Dasher' Kempton
The Soundsmith
 
Hi David,

do you have any link criteria set for parent and subform??
if there are no records that match you will get a blank form! if the link doesn't match.

if you do and the data has been changed you may need to do a refresh either by code or just the menu|records|refresh

regards

Robert Dwyer
rdwyer@orion-online.com.au
 
If you have SetWarnings set to false at any point, comment that out and see if you get any messages.

HTH John

Use what you have,
Learn what you can,
Create what you need.
 
John,
Thanks - SetWarnings is not referenced in any module. Good thought, though.

Robert,
I don't have links set that I can locate. I'm opening the table directly for the subform. I tried a query instead,with the same results. I have a Current event set that deletes and reconstructs the table as the user scrolls through the Exception records, and the table seems to be kept current. But the table display shows blank most of the time.

Very puzzling... David 'Dasher' Kempton
The Soundsmith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top