General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
I started some basic testing, and need a little help to make sure I am off to the right start here...
(P.S.. I've already played with creating a DE class and separate CA classes (with Mark McCasland's CA Builder9 tool), and I plan to use that method for production, but for now, I am just experimenting in IDE mode to make sure I get the vision of this stuff, and get the basic mechanics working)
So...
I created a new form in the IDE using my base form, and I went to View->Data Environement of the form, and did right-click on the DE window area and picked Builder, then added the ODBC connection data on the Data Source tab, and then clicked on the Cursors tab, then clicked New to create a CA in the right in the forms DE. I set the "Use DataEnvironment data source" flag, and chose a table and fields from the SQL Server connection. I also gave it a Name and an Alias.
So now I have a CA in the form's DE.... Next I ran the (mostly empty) form, but I got no cursor opened up in the Data Session dialog box. It is not opening the CA that I added to the DE!
The only way I found to make it work is to add code in the DataEnvironment.init() method, like this: "this.Jobs.cursorfill()".
So, is that the right way to open up and populate the CAs, by adding code in the init() of the DE?
I guess I kindof expected it to open them since they were there.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only