|
-
Dec 13th, 2012, 06:09 PM
#1
Thread Starter
Lively Member
Return random cell value of 2 fields
Hi all,
I'm making a generator for Premisses (in film-making this is used to describe the main-characters' development) to generate a random premisse.
A premisse is: "CHARACTERS' MAIN PROPERTY" leads to "SITUATION"
I have a database that has all possible characters' main property in Field1, and the possible situation in field2.
How can I return a random cell value from field1 into label1, and random value from field2 into label2 ?
The connection with the database is set, and the last piece of code is con.open()
Thanks in advance!
My Programming Software: Visual Basic 2010
My Database Program: Office Access 2010
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|