PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → update a table based on a query of linked tables
update a table based on a query of linked tables
Débuté par Christine schokkaert, 17 déc. 2004 12:25 - 1 réponse
Posté le 17 décembre 2004 - 12:25
i make a query of a file zipcodes (linked to a country file)
I make a table in a form based on this query.
So in the result i have the zipcodes with the country name as well
When i want to make a changement (like the city name) in the table
windev tells me
Unable to initialize 'Table_qTestPostkodes' control. Hyper File Error:
=============================
Operation not supported by native MySQL access.
Opération non supportée.
=============================
In the global declaration of the WINDOW i write :
HExecuteQuery(qTestPostkodes)
(no parameters).
When i tried the same out with a query with no linked file (so a single file) i can modifie in the table themselves.
Is this logical ?
This is my sqlcode of the query
SELECT TZipCodes.zcZipCode AS zcZipCode,
TZipCodes.zcCountriesID AS zcCountriesID,
TZipCodes.zcCityNed AS zcCityNed,
TZipCodes.zcZipCityFrans AS zcZipCityFrans,
TZipCodes.zcBillingPointsID AS zcBillingPointsID,
TCountryCodes.ccShortname AS ccShortname,
TCountryCodes.ccDescriptionNed AS ccDescriptionNed,
TCountryCodes.ccDescriptionFrans AS ccDescriptionFrans
FROM TCountryCodes, TZipCodes
WHERE TCountryCodes.ccID = TZipCodes.zcCountriesID

Christine
Posté le 17 décembre 2004 - 15:18
Hi,
WinDev doesn't support database updates on joined queries, only on single file queries. This is truly a real (but understandable) shortcoming.
Regards,
Peter