473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Bilingual Reports

I am trying to create a database that will generate a report from data in my table (lets call it tblprocedures). Now, what I want to do is generate a Spanish version, as well as an English version of a report based on data entries from tblprocedures. I have already designed the English and Spanish reports themselves. I have also created a form so that a user can input data(frmprocedures) with all the entries for things that don't need to be translated (ie. numbers, names, etc..). All easy stuff so far, my problem is I want to make it so that the user can select through check boxes on the form, which pieces of information apply to the current record, then when the user generates the English report the database will print the English version of the information related to each checkbox if its checked, and if they generate the Spanish version of the report, the Spanish version of the data related to each checkbox if its checked will print.

My thinking was to use a second table (tbltranslation) and and pull the English or Spanish (based on which report was generated by the user) version of each data entry and print them to a text box on the report and use an if then statement to print data only if its box is checked. However, I am unsure how to do this. I can't really establish a primary key, as the fields that would be in tbltranslation in no way relates to any one field in tblprocedures (is this a many to many relationship?), and I am pretty sketch on the whole programming side of this. I took programming classes in highschool and college but its been awhile.

Any help or direction would be greatly appreciated.
Aug 2 '07 #1
3 1636
In thinking through my problem and trying to figure out the general method of achieving what I want, I think I could get this to work by writing an if, then statement into the text box on each of my reports something to the extent of: "if blah checked = true, then write whats in record blah field english, on table tbltranslation, if blurb checked = true, then write whats in record blurb, field english, on table tbltranslation" and the same with spanish but for its respective translation...

does this sound like the right path to pursue or is my train of thought flawed in some significant way?
Aug 2 '07 #2
still no answers....
Aug 3 '07 #3
JKing
1,206 Expert 1GB
Hi there. I believe the reason no one has answered this question as of yet is because it's quite unclear. I've read it over several times and I'm still not exactly sure what you are looking to do.

Do you want to create a filter for your reports based on check boxes? If so what values are being determined by these check boxes? Could you give a small example? Something more elaborate and descriptive than "some check boxes to determine pieces of information".
Aug 8 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Amittai Aviram | last post by:
This XHTML 1.0 Strict page -- http://www.studiolirico.org/docs/settimana2003.html has a bilingual title in Italian and English. The principle language of the page is Italian, so the <html> tag...
30
by: Gustaf Liljegren | last post by:
I'm working with some semi-advanced tables with lots of decimal numbers in, and I can't get the alignment to work. http://www.algonet.se/~gustafl/temp/output_ib.html I want numbers aligned to...
5
by: BStorm | last post by:
I have a transaction log file where the DataSet table's Description column is actually delimited into "subcolumns" based upon the transaction id. I would like to parse these into separate fields...
2
by: Andrew | last post by:
Hi there: I can successfully control a report's GroupLevel ControlSource property by using: ..Reports!rptEESTMT_A.GroupLevel(i).ControlSource = "CorpName" where rptEESTMT_A is the actual...
0
by: Ian | last post by:
(Sorry if I have repeated this, it did not appear the first time) I have the following code on a button. The idea is that when this button is clicked it prints several reports automatically then...
2
by: Rog | last post by:
Hi, I have a bilingual report that should print amounts as 1,234.00 in the English(US) part --which is no problem-- and as 1.234,00 in the French part. My regional settings are US. How can I...
2
by: B.Newman | last post by:
I've got some VB.NET code that *should* get a list of reports from an Access MDB and populate a list box with them. It doesn't detect any of the reports at all. oAccess.Reports.Count comes up as...
5
by: will | last post by:
I have a php/mysql site and I am wondering if anyone has suggestions about strategies for making it bilingual or resources on how to do this. I thought of one way which would be to replace the text...
3
by: VMI | last post by:
I know this may not be the best NG for this, but I feel you guys know more about this than any of the other NGs. I need to build several simple reports (over 50 of them and they get their data...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.