Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: column specified twice: msg#00024

db.rekall.general

Subject: Re: column specified twice

On Wednesday 15 June 2005 02:17, Mehmet Seckiner wrote:
> Hi!
>
> This is a great software. Solves most of my db
> programming needs under Linux. I believe it is much
> more powerful than I think. But unfortunately I have
> no time to go deep inside by learning python
> scripting.
>
> I designed a Form-Subform classic scenario of the form
> of ORDERS.
>
> there are three tables: orders, orders_detail and
> products. products and orders_detail are linked by a
> field ProductCode. I could manage to add a link object
> and succesfully see the names of the products instead
> of seeing their code only (they come from the table
> products) and edit them by using this dropdown effect.
>
> But when I add a row at the bottom of the
> orders_detail block a SQL error occurs: Column
> 'ProductCode' specified twice
>
> Insert into orders_detail (Qty, ProductCode,
> ProductCode, OrderCode) values (3, 11021, null, 110)
> Column 'ProductCode' specified twice
>
> I want to see the ProductCode field also in the detail
> block. And this is the reason I get this error. This
> is the reason the SQL statement include this field
> twice.

Go to the properties for the code field. find "no update" and check it. This
setting is normally used to prevent Rekall from saving it to the database,
but it should have the right affect here.

>
> Also I tried to use No Update. But if I use No Update
> option, the Link object becomes useless for me. This
> is not a solution.
>
> What can you recommend me on my problem?
>
> Thanks to all on providing this software come to life...

--
Regards
Mike

http://www.rekallrevealed.org
*THE* GPL/Open Source database front end for Linux and Windows.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation