On Wednesday 17 December 2008 02:21:29 pm Ed Leafe wrote:
> On Dec 17, 2008, at 1:43 PM, johnf wrote:
> > Is it possible to create a tempCursor without bizobj's?
> > I have no way to pre-define the structure for a bizobj.
> > It would be nice to be able to have a temporary cursor to allow me
> > to populate
> > the cursor "_records" with something like
> > 'dabo.db.dDataSet(tuple(mydata))'
> >
> > What about using the app DaboPreferences.db to allow a temp cursor?
>
> What is the purpose of having a cursor without the ability to query
> or write to a data source?
>
> > I was able to fake it -
> > mycur
> > =self.Application.getConnectionByName('msConnection').getDaboCursor()
> > because I had a connection. But it would still be nice to have a
> > Dabo cursor
> > without the need to create a connection. I'm using a text file to
> > populate
> > the the cursor. And once I have the cursor I can use all the Dabo
> > tools.
>
> What are "all the Dabo tools"?
>
> When you want to accomplish something, it helps if you explain what
> it is you need to do. There may be other approaches that are more
> appropriate, but without knowing what your goal is, there's no way for
> me to know what the right solution is.
>
>
> -- Ed Leafe
I'm gathering data in the form of text (sometimes delimited) creating a dict
and then I would like to create a Dabo.DataSet and then have it display in
controls. I would also like to create filters based on 'dataset' (as in
select * from dataset where something=something). That's what I'm doing and
how Dabo could help.
First issue I don't know in advance what the structure will be - so how can I
define a bizobj. Once I have the data I know a little more info but not
enough to create a bizobj. The user decides how the text is broken into
parts. From my display I would then determine what I needed to do
(translate/change/add) to the text. After I do that I'll be able to define a
bizobj. But I'm not really updating a table and I don't have need of a
bizobj. The end result will be another text file. Most likely a file that
describes many bizobj's along with SQL statements etc..
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]