Primary Key not present on insert

2008-01-01 Thread Tobias Crawley
I'm having an odd issue that maybe someone on the list can shed some light on. I recently started a new project, and decided to try Frontbase instead of my usual MySQL. I am having an issue where EOF is not supplying the pk (id) on insert for one of my EO's. The EO in question (Diagnosis)

eclipse not running new project???

2008-01-01 Thread Theodore Petrosky
OKay, I finally have the example WO (nhlpm) running and talking to my postgresql backend. So my eclipse workspace has only the nhlpm project. I created a new project (WOApplication) called NewTest. I right clicked the selected project and selected 'run as' woapplication. What runs is the first

Re: eclipse not running new project???

2008-01-01 Thread Pascal Robert
Le 08-01-01 à 14:47, Theodore Petrosky a écrit : OKay, I finally have the example WO (nhlpm) running and talking to my postgresql backend. So my eclipse workspace has only the nhlpm project. I created a new project (WOApplication) called NewTest. I right clicked the selected project and

Re: Primary Key not present on insert

2008-01-01 Thread ute Hoffmann
Hi, I had a similiar problem. Did you put the FrontBasePlugIn.frameworkinto your Frameworks folder and link it into your Project as Framework. Regards Ute Am 01.01.2008 um 20:36 schrieb Tobias Crawley: I'm having an odd issue that maybe someone on the list can shed some light on. I

Re: Primary Key not present on insert

2008-01-01 Thread Tobias Crawley
Ute: Yes. Its in /Library/Frameworks/ and is linked in the project. Other inserts work fine - the sql for the Card insert just before the Diagnosis insert is correct, and I've been able to insert other EO''s as well, just not Diagnoses. Tobias On Jan 1, 2008, at 5:01 PM, ute Hoffmann

Re: Primary Key not present on insert

2008-01-01 Thread Miguel Arroz
Hi! I find very suspect that the ID of the card and diagnosisCodeId are the same. My bet is that you have a wrongly modeled relationship between card and Diagnosis. Yours Miguel Arroz On 2008/01/01, at 23:04, Tobias Crawley wrote: Ute: Yes. Its in /Library/Frameworks/ and is

Re: Primary Key not present on insert

2008-01-01 Thread Art Isbell
On Jan 1, 2008, at 9:36 AM, Tobias Crawley wrote: attributes = ( { allowsNull = Y; columnName = altDescription; name = altDescription; prototypeName = varchar255; }, {columnName = cardID; name = cardID; prototypeName =

Re: eclipse not running new project???

2008-01-01 Thread Theodore Petrosky
I am a little confused. Here is the line from the tutorial: Now run your application (remember to highlight the project name #64257;rst), and if all goes well you should see your beautiful data entry page. - I am confused about how to run a second project. I created a second

Re: Primary Key not present on insert

2008-01-01 Thread Mike Schrag
{columnName = cardID; name = cardID; prototypeName = id; }, How does EOF know to which column in your table to map your id attribute? Try specifying a columnName value for your id attribute. prototypeName = id sounds suspiciously like ERPrototypes in Wonder, which actually defines

Re: eclipse not running new project???

2008-01-01 Thread Pascal Robert
Le 08-01-01 à 19:41, Theodore Petrosky a écrit : I am a little confused. Here is the line from the tutorial: Now run your application (remember to highlight the project name #64257;rst), and if all goes well you should see your beautiful data entry page. - I am confused