Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Schema utilities
Re: Schema utilities [message #20674 is a reply to message #20668] Tue, 31 March 2009 13:03 Go to previous messageGo to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
I think it's pretty simple. Ignore .sch files which already exist in that example. In OpenDB() comment everything which is after //schema line (only return true should stay there). Somewhere in your program use
SaveFile("filename", ExportSch(m_session, "test"));
// or
SaveFile("filename", ExportSch("test"));
// you may also assign content returned by ExportSch to a Upp control

Second version use global SQL session.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: readonly nests
Next Topic: TheIDE: Package highlight experiment
Goto Forum:
  


Current Time: Sun Apr 28 17:15:28 CEST 2024

Total time taken to generate the page: 0.06094 seconds