hi at all,first i want to say sorry for my english :)i have one dtd-file and some xml-files based on...
By meglepetes
XML 2005 program additions/ updates announced-- discounts availableuntil October 10 -- Low airfares ...
By melledge
M,L7_S97@%?#^D-:4=>W9[.A_4W`LD/-L#:1+A5[Q?)L*L@G[%ZN$1L-&_4DQMSK:G4!@#&D!5@!O*#W7X&HZ...
By hbb
hi, i need to write simple c program that work with MYSQLAPI .it'svery simple to do, i have jus...
By f4bi0
Im doing a SQL sentence in a FoxPro Database using VB6 and showing the result in a DataGridMy SQL se...
By dilkboor, 1 Comments
I am using zencart style countries table in my project such as for countries in address book etc. W...
By blackhorse, 2 Comments
Should I choose Data Report or Crystal Reports for my applications (local and remote) and why?Thanks...
By lvzito, 3 Comments
Hi Guys,I'm new to FilemakerI'm attempting to make a script to tell me how much a client h...
By joshainglis_gmail_com, 3 Comments
PGP SIGNED MESSAGEHash: SHA1NotDashEscaped: You need GnuPG to verify this messageThe call for papers...
By gregsabinomullane, 1 Comments
Hi Jan,
what about other countries? Just because the program is installed in Canada
or the U.S. doesn't limit the customer base, right?
On a side note: US ZIP format is 99999-9999
I just use a 12 character field for the ZIP code and let the user enter what
they want (no picture clause or other validation) because I don't want to
get involved with formats...
If I wanted to do this, I think I would create a table with country codes
and a string for the picture clause, then present the user with a drop-down
to pick the country and, based on their selection, set the picture clause
dynamically before allowing focus to that field.
HTH,
Another Jan <bg>
jan_hoelterling | Sat, 24 May 2008 23:36:00 GMT |
"Jan Hoelterling" <jhoelterling...compuserve.com> wrote in message
news:c7vq7u$iq4$1...news.dbase.com...
> Hi Jan,
> what about other countries? Just because the program is installed in
Canada
> or the U.S. doesn't limit the customer base, right?
All members of the database would be residing in the same area. (Could be in
Europe but still would have the same structure.)
> On a side note: US ZIP format is 99999-9999
>
That's called rushing. (Think faster than I can type) I always get confused
on the proper break in the code.
> I just use a 12 character field for the ZIP code and let the user enter
what
> they want (no picture clause or other validation) because I don't want to
> get involved with formats...
This would do fine for the display but when it came to the printed forms it
would look unprofessional to read T3J3j8 or 999090980.
> If I wanted to do this, I think I would create a table with country codes
> and a string for the picture clause, then present the user with a
drop-down
> to pick the country
Have a table of country and abbreviations for the Canadian and US codes
already.
So I would add a field in the table call stcodestring and enter A9A 9A9 for
Can code. In the program use this.picture = this.rowset.stcodestring.value.
Am I reading this right?
Not sure if this would work because it might be a drain on the system
resources. I have custom classes for Can and US postal codes. Could add
custom classes for SIN/SSN and do an if or do statement to give visibility
to proper entryfield, freezing the screen first to prevent flicker.
What about a #define statement? On startup could it check for the country,
which you have them enter into a script at startup? Is it possible to use
an if statement within the .h file something like:
if countryabr := "CA"
#define stcode A9A 9A9
else
#define stcode 99999-9999
endif
Always more than one way to skin a cat.
Sure would like some opinions on the most efficient way to solve this
problem as most of the people using the program are not very computer
literate.
Tks Jan you've giving me all lot to think about.
Jan Horner (The Other Jan)
GM #449
PS: Can't even use Jan H.
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.683 / Virus Database: 445 - Release Date: 05/12/2004
janhorner | Sat, 24 May 2008 23:37:00 GMT |
Jan Horner wrote:
> "Jan Hoelterling" <jhoelterling...compuserve.com> wrote in message
> news:c7vq7u$iq4$1...news.dbase.com...
> Canada
> All members of the database would be residing in the same area. (Could be
in
> Europe but still would have the same structure.)
If all of the members of the database are in the same country, I would consi
der
having a cc just for the zipcode. Ship the US zipcode to US users, Canadian
to
Canada, etc. There aren't many others that have such a restricted code. Japa
n
and Sweden come to mind.
Glenn Fausel
glennfausel | Sat, 24 May 2008 23:38:00 GMT |
"Glenn Fausel" <gfausel...timessquarerecords.com> wrote in message
news:40A3E33B.AA71142E...timessquarerecords.com...
> If all of the members of the database are in the same country, I would
consider
> having a cc just for the zipcode. Ship the US zipcode to US users,
Canadian to
> Canada, etc. There aren't many others that have such a restricted code.
Japan
> and Sweden come to mind.
Thanks Glenn you make it so simple why didn't I think of that!!
Jan Horner
GM #449
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.683 / Virus Database: 445 - Release Date: 05/12/2004
janhorner | Sat, 24 May 2008 23:39:00 GMT |
Jan Horner wrote:
> "Glenn Fausel" <gfausel...timessquarerecords.com> wrote in message
> news:40A3E33B.AA71142E...timessquarerecords.com...
>
> consider
>
> Canadian to
>
> Japan
>
>
> Thanks Glenn you make it so simple why didn't I think of that!!
> Jan Horner
> GM #449
Simple things from simple minds :-) Had to say that before Fried had a
chance to!!
GlenN
glennfausel | Sat, 24 May 2008 23:40:00 GMT |