From: Simon H. <sim...@ma...> - 2005-01-11 16:12:43
|
I like the flat file database example, but want to extend it a bit. What I want is something visualy like the addresses sample, with a list of records on the left, and the etails of a record in a form on the right. The FlatFileDatabase object makes all fields in the form 'columns' in the database, so if I put a list box on the form then each record in the database has a list box in it with different contents in each list box - not what I want. I recon I can get round this by putting a list box on the left hand side of the form, and a tabbed notebook on the right. I load the FlatFileDatabase app into a page in the notebook and voila! It's contents are isolated to the notebook page. Some problems: I had to change the orriginal FlatFileDatabase module so that it loads as a PageBackground rather than as a Page. A few other small changes required, but it basicaly works and I can start the app and all looks good! The next problem, where I need help. How do I refer to fields in the FlatFileDatabase from the main app? I can't get at my data! Simon hibbs |