I have always created my forms at design time using the Form Designer. I now need to create and populate a form on the fly with an unknown number of labels and comboboxes. The app will be importing a text file with a header row showing the fields in the file. There may be any number of fields (up to say 30) and they may be in any order. I need to display each field with an associated combobox containing a list of standard field names to allow the user to match the fields in the header with those in the standard list. I haven't a clue where to start <g>. I am proposing to create a form in the Form Designer initially with a title and buttons then add the rest with code at run time. Can anyone point me to some code in Help or elsewhere which will give me a start on how to add an object to a form? Where should I put the code on the form - Init? Each combobox will use the same array or cursor of standard field names - can I use an array property of the form?
TIA John Weller 01380 723235 07976 393631 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/f0742e6efef84af0a38137a09cfdd...@wessex1 ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

