Re: Data entry into Arrays inside a window
- I should have broken up the long record format line.
for n=1 to 50
" "+date$("yyyy/mm/dd")+" Type "+str$(int(rnd(0)*10))+_
" Hours "+str$(int(rnd(0)*10))
- Am 01.04.2013 01:13, schrieb reldata:
> I want to enter timecard data into separate arrays and saved together as a timecard file. The timecard file is broken down into individual records with fields Name, Date, Pay Type and Hours. I have used textboxs lined up 4 across and up to 10 down. Data entry is easy as I enter information and tab to the next field and repeat. I can also use my mouse to change something I have already entered to make a correction.There have been some spreadsheet lookalikes posted in the past, so you
> However problems occur due to timecards having more than 10 records. I can simply add more rows of textbox(s) to include longer timecards. But the program gets very long when I want later display all timecards sorted by any field of my choosing and still have the ability to add or make changes even to timecards I entered days ago.
> The final resting place for all this is of course inside long arrays. Is there any ability to directly put arrays of any length into a window with sliding bars for very large arrays into a window and have the ability to treat each field as a textbox, having the full ability to add or make changes?
> This is like a checkbook display in Quickbooks or Peachtree where all the fields are displayed for each check record and the user can add new checks or make changes to any field of older checks the are seen on the checkbook display.
> Thank you for your consideration.
may want to search the group online for "spreadsheet".
There was a DLL available too, but the site has vanished, so there is no
access to this simple approach anymore.
LB 4.04 Pro ... http://www.libertybasic.com/assist.html
LB 4.04 ....... http://www.libertybasic.com/lb404setup.exe
LB Community Wiki .............. http://basic.wikispaces.com/
LB Programmer's Encyclopedia ... http://lbpe.wikispaces.com/
LB Bug Tracker ................. http://libertybasicbugs.wikispaces.com/
Books at http://www.lulu.com/ and http://www.amazon.com/
Alyce Watson ... APIs for Liberty BASIC
Carl Gundel .... Beginning Programming with Liberty BASIC
Windows 7 Home Premium 64-bit SP1
AMD Turion X2 RM-70 2GHz, 4GB RAM