|
Ragtimelil
|
on 12/21/2012
I just finished a tutorial on making flash cards in Access. I'm hoping that it makes sense. I've aimed it to someone who might have some experience in access but not necessarily an expert. (If I started from scratch it would have filled a book I think...)
Just wondering if it is clear enough for someone to follow?
Thanks.
http://wizzley.com/how-to-create-flash-cards-with-microsoft-access/
|
Paul
|
on 12/21/2012
Reads very well to me! The only thing that I could suggest would be cosmetic and it would be to perhaps help differentiate code from content in your article. It could be done like this:
#include <iostream>
using namespace std;
void main()
{
cout << "Hello world!";
}
But again, it's purely cosmetic and I'm not sure how much horizontal rules like interacting with images, but it's your choice.
Great article!
|
Ragtimelil
|
on 12/21/2012
I'm not quite sure what you mean...sorry....
|
Paul
|
on 12/21/2012
Haha, that's okay!
For example, you have this in your article:
Next Record Button
Now I need to have a way to turn the translation (meaining) box off again when I go to a new flash card. There are several ways to do this but the easiest was to put it under another button. I added a "next record" button using the button wizard again, but I added some code. The whole sub looks like this.
---------------------------------------------------------------------------------------------
Private Sub cmdnextrec_Click() On Error GoTo Err_cmdnextrec_Click
DoCmd.GoToRecord , , acNext 'built in code to go to the next record Me.meaining.Visible = False 'This turns the translation box off again Me.Answer.Value = Null 'This clears the answer box
Me.Answer.SetFocus 'this sets the cursor in the answer box
Exit_cmdnextrec_Click: Exit Sub
Err_cmdnextrec_Click: MsgBox Err.Description Resume Exit_cmdnextrec_Click
End Sub
-----------------------------------------------------------------------------------------
I added a couple of final touches and the first flash card program is done.
What I'm suggesting is having it perhaps like this:
Next Record Button
Now I need to have a way to turn the translation (meaining) box off again when I go to a new flash card. There are several ways to do this but the easiest was to put it under another button. I added a "next record" button using the button wizard again, but I added some code. The whole sub looks like this.
Private Sub cmdnextrec_Click() On Error GoTo Err_cmdnextrec_Click
DoCmd.GoToRecord , , acNext 'built in code to go to the next record Me.meaining.Visible = False 'This turns the translation box off again Me.Answer.Value = Null 'This clears the answer box
Me.Answer.SetFocus 'this sets the cursor in the answer box
Exit_cmdnextrec_Click: Exit Sub
Err_cmdnextrec_Click: MsgBox Err.Description Resume Exit_cmdnextrec_Click
End Sub
I added a couple of final touches and the first flash card program is done.
It's totally cosmetic and might be more work than it's worth, but I thought I'd just put it out there anyway :)
|
Ragtimelil
|
on 12/21/2012
No really, I appreciate the feedback. You mean get rid of the lines? (and neaten it up) I was trying to make it clear where the code started and ended. Since I typed it in, it's all the same font n stuff.
Edit: in your version, there is a change of font and it's easy to see.
|
Paul
|
on 12/21/2012
Yeah, the lines are still there but are replaced with horizontal rules but they're slightly hard to see and I believe having a font change for the code is a good idea. The "neatening up" was done because I accidentally messed it up in the text editor.
|
Mira
|
on 12/21/2012
I, too, agree that with code it's better to use a different font, and that one (Courier, isn't it?) is so much like code used to look like in the old days!
|
Paul
|
on 12/21/2012
The font is indeed courier - it's widely used for code nowadays because it's a monospace typeface (meaning all the letters take up the same amount of space) and the font is installed on almost every system so users will be able to see it.
|
Ragtimelil
|
on 12/21/2012
I'd love to change fonts, but I've never been able to figure out how to do that in wizzley. Even putting it in html doesn't work.
|
Paul
|
on 12/21/2012
You have to add style="font-family:courier;" into each element you want to have that font. I'd imagine that it's in <p> elements so you'd have it as:
<p style="font-family:courier;">CODE</p>
|
Ragtimelil
|
on 12/21/2012
EDIT ------ CODE
I'm not getting it. Nothing is happening on my page, but it looks like something happened here!
|
Paul
|
on 12/21/2012
Well, in the HTML editor you'll have something like this:
<p>Article text here</p>
<p>Code here</p>
<p>More article text here</p>
And that would display like this:
Article text here
Code here
More article text here
However, if you change it to this:
<p>Article text here</p>
<p style="font-family:courier;">Code here</p>
<p>More article text here</p>
It will display like this:
Article text here
Code here
More article text here
Hmm, that means that we're not allowed to change CSS properties in an article. Not sure if there's a workaround for that available with what we use then, sorry! :(
|
Ragtimelil
|
on 12/21/2012
Dang. Wish we could.
That's why I added the lines, esp since VB will have lines too.
Well, thanks for the suggestions. Maybe if I clean it up better...
|
nightowl
|
on 12/21/2012
Actually, there is an option to wrap your code in <pre> </pre> tags. This has a similar effect on the font. You'd have to do it in the HTML editor:
<pre>Nifty code goes here</pre>
It doesn't seem to work here on the forum editor, but give it a try on your article page.
SEO Praxis: Specializing in WordPress Hosting and Small Business Web Design.
|
chefkeem
|
on 12/21/2012
I thought Content was King.
Sorry, my mistake.
It's Fontent!
Achim "Chef Keem" Thiemermann is the co-founder of a pretty cool new platform called...um...er...oh, yeah - Wizzley.com.
|
Ragtimelil
|
on 12/21/2012
YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Thanks nightowl!!!!!!!!! That did it!!!!!!!!!!!!!!!!!!!!!!
|
Ragtimelil
|
on 12/21/2012
chefkeem: 12/21/2012 - 05:54 PM
I thought Content was King.
Sorry, my mistake.
It's Fontent!
??????
|
nightowl
|
on 12/21/2012
Glad to hear it worked for you! :)
Ragtimelil: 12/21/2012 - 05:57 PM
YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Thanks nightowl!!!!!!!!! That did it!!!!!!!!!!!!!!!!!!!!!!
SEO Praxis: Specializing in WordPress Hosting and Small Business Web Design.
|
Paul
|
on 12/22/2012
Looks very good now, Ragtimelil! And using <pre> tags hadn't crossed my mind - there really is a way around everything :P
|
Ragtimelil
|
on 12/22/2012
Thanks for your help, Paul. The <pre> tags were a new one for me.
|