Hi, i am making a database for someone in my family for practise, the basics are that the user puts information of prices of everyday item's like sugar into the database and at a later stage, they can compare the prices and shops, view and print history of an item's price and have a search system with sorting functions.
HELP!
I have written a version of the program (In english commands) below.
I have put quotation marks before and after lines i do not know how to do.
I would like the data to be saved in a notepad document (if possible.)
ANY HELP WOULD BE APPRICIATED.
Main Body:
do
print press escape at any time to exit.
"Search for item",
"read notepad document"
"if no data found", gosub no_data_found
"display item list",
if "clicks add new item", gosub new_item
if "clicks show item history", gosub show_history
if "clicks print history", gosub print_history
if "clicks add new price", gosub add_new_price
if else
"goto line 1"
loop
Gosubs:
no_data_found:
"check website for notepad document"
"if no notepad document", display no data found message and gosub new_item
"if notepad document is found, download and put in correct folder"
return
new_item:
"user inputs shop name, dd/mm/yy, item name, item price"
"saves info to notepad document"
return
show_history:
"checks itemid"
"reads notepad document"
"displays history"
"waits for return key"
return
print_history:
"checks itemid"
"reads notepad document"
"print to default printer"
"if print successfull, return"
if else
print error printing message
return
add_new_price:
ask user to enter info
"save info to notepad document"
return
Matt
Umm...