does anyone know where an example of a database program
made in qb is? to look at it for examples of input, search
edit?
database
-
- Veteran
- Posts: 703
- Joined: Sun Nov 14, 2004 7:36 am
- Contact:
Hi sid,
if you go here:
http://www.petesqbsite.com/sections/exp ... index.html
and click on my tutorial on file manipulation random access file I wrote a small database program there, a contact manager. I think you'll find it's a good start to what you want to do
Hope this helps
if you go here:
http://www.petesqbsite.com/sections/exp ... index.html
and click on my tutorial on file manipulation random access file I wrote a small database program there, a contact manager. I think you'll find it's a good start to what you want to do
Hope this helps
When God created light, so too was born, the first Shadow!
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
hmmm
ah i think i see what i am not understanding well...
when something gets written or extracted from a file
you dont grab/write each piece of a record...I.E
put/get rec#,x, y, z, a, b, c, d
what you want to do is grab/put the WHOLE thing....I.E
put/get rec#,xyzabcd ?
if you want to do compares or editing of your data
you break it up after that with your variables then
work on it..
am i following you correctly?
thanks mystik...
when something gets written or extracted from a file
you dont grab/write each piece of a record...I.E
put/get rec#,x, y, z, a, b, c, d
what you want to do is grab/put the WHOLE thing....I.E
put/get rec#,xyzabcd ?
if you want to do compares or editing of your data
you break it up after that with your variables then
work on it..
am i following you correctly?
thanks mystik...
-
- Veteran
- Posts: 703
- Joined: Sun Nov 14, 2004 7:36 am
- Contact:
LOL anthan.
Sid, if you read my tutor then if you use a TYPE definition instead of individual fields it will make your coding life much easier . Juust follow my example and you'll see it works great that way
Sid, if you read my tutor then if you use a TYPE definition instead of individual fields it will make your coding life much easier . Juust follow my example and you'll see it works great that way
When God created light, so too was born, the first Shadow!
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
Re: database
Maybe you don't need a database approach at all.sid6.7 wrote:does anyone know where an example of a database program
made in qb is? to look at it for examples of input, search
edit?
How many records do you have or expect to have as a maximum for this file?
What is the largest record that you need to use?
What is the size of the key that you'll be using?
Do you have multiple keys per record?
Can you have duplicate keys? That is, the same key for different records?
The answer to these questions will determine whether you need to use a database. Answer them and I'll do an analysis for you.
*****