This is weird. I have removed all references to FM3 Version numbers on my table definitions in the DCT.
Here is the Global definition for glo:pgconn
Here are my two tables, as seen by pgAdmin III:
Here are the table properties for mediapad (mp)
and for ariana3 (a3)
I built a new application that just refers to these two tables. They are not related.
The “Start Without Debugger (Builds Solution)” successfully created the exe file, and then nothing appears to happen. No dialog boxes, no opening screen.
So I added in only the UltimateDebug (Global Extension) and changed “Build” -> “Set Configuration” to “debug” and ran “Start Without Debugger (Builds Solution)” again.
At least this time I get an error message.
So I’m making slow progress. I have looked at the generated CLW file for the global declarations, which includes the following:
glo:pgconn STRING('Driver={{PostgreSQL ANSI};Server=127.0.0.1;Port=5432;Database=nielsen;Uid=postgres;Pwd=donn; {92}')
SilentRunning BYTE(0) ! Set true when application is running in 'silent mode'
!region File Declaration
mediapad FILE,DRIVER('ODBC'),OWNER(glo:pgconn),NAME('public.mediapad'),PRE(mp),CREATE,BINDABLE,THREAD ! Media Pad Product
product_pk KEY(mp:product_local_id),NOCASE,PRIMARY ! Primary Key for Products
Record RECORD,PRE()
product_local_id LONG ! Product Local ID
product_name STRING(200) ! Product Name
section_guid STRING(40) ! Section GUID
section_local_id LONG ! Section Local ID
section_local_id_original LONG ! Section Local ID
section_name STRING(200) ! Section Name
category_guid STRING(40) ! Category GUID
category_local_id LONG ! Category Local ID
category_local_id_original LONG ! Category Local ID
category_name STRING(200) ! Category Name
sub_category_guid STRING(40) ! Sub Category GUID
sub_category_local_id LONG ! Sub Category Local ID
sub_category_local_id_original LONG ! Sub Category Local ID
sub_category_name STRING(200) ! Sub Category Name
advertiser_guid STRING(40) ! Advertiser GUID
advertiser_local_id LONG ! Advertiser Local ID
advertiser_local_id_original LONG ! Advertiser Local ID
advertiser_name STRING(200) ! Advertiser Name
brand_guid STRING(40) ! Brand GUID
brand_local_id LONG ! Brand Local ID
brand_local_id_original LONG ! Brand Local ID
brand_name STRING(200) ! Brand Name
product_guid STRING(40) ! Product GUID
product_local_id_original LONG ! Product Local ID
selected_session STRING(32) ! Selecttion Session Id
finished_task STRING(4) ! Finished Task
END
END
ariana3 FILE,DRIVER('ODBC'),OWNER(glo:pgconn),NAME('public.ariana3'),PRE(a3),CREATE,BINDABLE,THREAD ! Ariana Product
product_pk KEY(a3:product4_id),NOCASE,PRIMARY ! Primary Key on original Brand ID
Record RECORD,PRE()
product4_id LONG ! Product ID
product4_name STRING(200) ! Procuct Name
section_code LONG ! Section Code
section_code_original LONG ! Section Code Original
section_name STRING(200) ! Section Name
category_code LONG ! Category Code
category_code_original LONG ! Category Code Original
category_name STRING(200) ! Category Name
category3_code LONG ! Category 3 Code
category3_code_original LONG ! Category 3 Code
eng_category3_name STRING(200) ! Eng Category 3 Name
advertiser_code LONG ! Advertiser Code
advertiser_code_original LONG ! Advertiser Code Original
advertiser_name STRING(200) ! Advertiser Name
brand3_id_original LONG ! Product ID Original
brand4_id LONG ! Brand Local ID
brand4_name STRING(200) ! Brand Name
selected_session STRING(32) ! Selecttion Session Id
finished_task STRING(4) ! Finished Task
END
END
Just to be thorough I tried changing ‘public.mediapad’ to just ‘mediapad’ in the dictionary but the error message still remains after rebuilding the EXE.
What should I try now?