|
From: TJ89 on 5 Jul 2008 00:30 Is there some easy way to save and restore all the data on a form? What code do I need to find all data fields? I'm thinking like the following air code... SaveForm frmPmain LoadForm frmPmain ******************** Public Sub SaveForm(frm as Object) Dim AllData as String For each ???? in frm AllData=AllData & ????.??? & vbTab Next 'save to file End Sub Public Sub LoadForm(frm as object) Dim AllData() as string AllData=split('get data,vbTab) For each ???? in frm ????.???=AllData(Index) Index=Index + 1 Next End Sub
From: TJ89 on 5 Jul 2008 04:34 TJ89 wrote: > Is there some easy way to save and restore all the data on a form? > Thanks, I think I found what I'm look for. http://www.vb-helper.com/howto_save_form_settings.html
|
Pages: 1 Prev: Activating Toolbars and MenuItems Next: Disable print option |