Tristan Leask wrote:
Hi All,

Just pondering about something.

How do you guys sort the data out for a new application installation?
Do you generate it from within your program using the data layer to
build up whatever files are required therefore the same generation code
can be used for DBF/MySQL/MSSQL/yada...?

Hi Tristan,

I'm sticking to DBF's for now so this only works for that option. It also works nicely for when I modify a table or add a new one.

I have a new app installation exe that will generate all the DBF's for me using a function in Stonefield Database Toolkit. I just make sure the meta data files plus the DBC are copied over then I put in a text file "update.txt" in the system folder and check for this on startup. If the file is there I call

  oMeta.SetDatabase(dbc())
  IF oMeta.oSDTMgr.NeedUpdate()
      oMeta.oSDTMgr.Update()
  ENDIF
  ERASE ('system\update.txt')

Cheers

Peter



_______________________________________________
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
** 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.

Reply via email to