
change yes/no boolean field to another language in datagrid
Does this give you Yes / No when you run it on your system, or does it use
your language (Format$ is supposed to be language-aware). I can't remember
if "Yes/No" is a valid format$ argument for yes/no, or whether it's
returning the literal string.
Private Sub Command1_Click()
Print Format$(True, "Yes/No")
Print Format$(False, "Yes/No")
End Sub
Quote:
> Yes
No
--
Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
hi
i use a component and vb6 (sp5); i have this boolean
field and in the datagrid the field shows as -1 or 0; i
made some code and now shows as yes/no; i want it to
appear as sim/n?o, in my country language.
When earlier i used an ADODC and a datagrid, i solved the
problem clicking the datagrid and going to properties,
format the field and said the field as boolean showing
sim/n?o; but as i use the recordset created when i invoke
the component, a cant do that;
How can a solve this?
thanks in advance