On Wednesday 19 November 2008 05:36:28 pm Paul McNett wrote:
> johnf wrote:
> > I'm getting an error message ""Cannot populate without data for alias"
> > from dDataSet.py in _populate.
> > I have a the following that cause the error:
> > try:
> > billtoChoicesDS=localDS.execute('Select caddrno from
> > dataset')
> >
> > Of course the error message is correct the first time through my code.
> > But that's why I have it in a "try". So how do I suppress the error
> > message?
>
> Show us the entire traceback, and your entire try block.
>
> Paul
billtoChoicesDS = None
localDS=self.getDataSet()
try:
billtoChoicesDS=localDS.execute('Select caddrno from dataset')
except:
pass
there is no traceback. It is a message that appears in my terminal/command
prompt.
--
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]