In my little database program I will be fetching records and then displaying them in a series of textboxes I have on my form for each field in a record. I'd like to create a SUB / END SUB procedure to "Display Record", so I simply have to call the SUB each time I need to repaint the fields in my form. Is this kind of thing suitable for the General Section of the program? Do I need to Declare it elsewhere? Thanks. -- tom
Quote from: tom cone jrI'd like to create a SUB / END SUB procedure to "Display Record", so I simply have to call the SUB each time I need to repaint the fields in my form. Is this kind of thing suitable for the General Section of the program?
It sure is... or, you could put it in a separate Module.
QuoteDo I need to Declare it elsewhere?
Nope. FireFly takes care of generating the declares when the source code is generated and compiled.
Thanks.
-- tom
That's one of my favorite things in FF...no need for Declares! I never saw the point in having a function then declaring it with pretty much the same line. Like .h files in C++ :P