Y
Yannick Majoros
Hello,
Hope this is the right newgroup...
For some multilingual application, I have a table with all strings in
different languages. Each entry has a reference, a language and a text
value, e.g.:
Ref Language Value
greeting en Hello
greeting fr Bonjour
Now, I tried to build a form for easy translation between french and
english (let's say it is a special case).
So, I thought I'd base in on a query which would include a string in
english, it's reference and it's value in french (if it exists). Here is
what I would want:
Ref English_text French_text
greeting Hello Bonjour
Writing this query wasn't a problem, but... It isn't updatable :-( .
It seems queries based on 1 single table aren't. I tried with different
joint types, with implicit queries (you know, SELECT * FROM Strings AS
Strings_fr, Strings AS Strings_en), subqueries, ... The best I was able
to do was to use a "calculated" field for the french text, which used
some db to do another select... It works almost, except I can't update
the french text, naturally.
I need this updatable query to base my form on it. Or is there another
way?
I don't think it would be a good idea to change my table structure to
have both "English_text" and "French_text", because I could want to add
languages later. And I have a similar problem with, say, my user
preferences which are stored in a similar page, but which I would want
to be updatable by a form...
Any ideas, anyone?
Best regards,
Yannick Majoros
Hope this is the right newgroup...
For some multilingual application, I have a table with all strings in
different languages. Each entry has a reference, a language and a text
value, e.g.:
Ref Language Value
greeting en Hello
greeting fr Bonjour
Now, I tried to build a form for easy translation between french and
english (let's say it is a special case).
So, I thought I'd base in on a query which would include a string in
english, it's reference and it's value in french (if it exists). Here is
what I would want:
Ref English_text French_text
greeting Hello Bonjour
Writing this query wasn't a problem, but... It isn't updatable :-( .
It seems queries based on 1 single table aren't. I tried with different
joint types, with implicit queries (you know, SELECT * FROM Strings AS
Strings_fr, Strings AS Strings_en), subqueries, ... The best I was able
to do was to use a "calculated" field for the french text, which used
some db to do another select... It works almost, except I can't update
the french text, naturally.
I need this updatable query to base my form on it. Or is there another
way?
I don't think it would be a good idea to change my table structure to
have both "English_text" and "French_text", because I could want to add
languages later. And I have a similar problem with, say, my user
preferences which are stored in a similar page, but which I would want
to be updatable by a form...
Any ideas, anyone?
Best regards,
Yannick Majoros