Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-21-2004, 01:37 PM   #1 (permalink)
patelk
Registered User
 
Join Date: Oct 2004
Posts: 3
patelk is on a distinguished road
Question Basic Code Help

I know how to write the procedure i want to do in words but not in code. well i know some of it. i am trying to do the following:

Read 1st record
Save the 1st record (box#) in a variable
Print box#
Print Gf#
Read Next
If box# saved? if yes then go back to print gf. if no then move to next record and go back to the save the 2nd record (box#) in a variable

Now i know
Read 1st record --> rs.movefirst
Save the 1st record (box#) in a variable --> ??
Print box# --> ??
Print Gf# --> ??
Read Next --> rs.movenext
If box# saved? if yes then go back to print gf. if no then move to next record and go back to the save the 2nd record (box#) in a variable --> ??

any help or ideas? i am still learning VB so any help would help me out alot becuase i dont know where to beginning. thanks
patelk is offline   Reply With Quote
Old 10-26-2004, 12:34 PM   #2 (permalink)
RobertStout
Registered User
 
RobertStout's Avatar
 
Join Date: Oct 2004
Location: Dank cellar
Posts: 18
RobertStout is on a distinguished road
Focus on learning VB syntax rather than writting pseudocode. Pseudocode is useful in avoiding logic mistakes once you are comfortable in the syntax of a language, but the process of correcting mistakes is an important learning experience.

Hit the books!
RobertStout is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco Code breaking sde Code Newbie News 0 05-21-2004 07:10 AM
Microsoft probes Windows code leak redhead Code Newbie News 0 02-13-2004 12:41 AM
Basic Code won't compile Zenogear11 Standard C, C++ 1 04-08-2003 04:20 PM
Basic, not visual platjyjim All Other Coding Languages 1 03-01-2003 09:00 AM


All times are GMT -8. The time now is 01:54 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting